Project

General

Profile

1 15947 marek.hors
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
	<parent>
4
    		<groupId>eu.dnetlib</groupId>
5 26293 marek.hors
	        <artifactId>dnet-hadoop-parent</artifactId>
6
            <version>1.0.0-SNAPSHOT</version>
7 15947 marek.hors
	</parent>
8
	<modelVersion>4.0.0</modelVersion>
9
	<artifactId>icm-iis-parent-container</artifactId>
10
	<packaging>pom</packaging>
11 26293 marek.hors
12 15947 marek.hors
	<properties>
13 19013 marek.hors
		<maven.build.timestamp.format>yyyy-MM-dd_HH_mm</maven.build.timestamp.format>
14 15947 marek.hors
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15
        <oozie.data.dir>${project.build.directory}/test-data</oozie.data.dir>
16 18927 marek.hors
        <!-- default Oozie installer properties requred to be defined at pom.xml level -->
17
        <!-- other project properties are defined in project-default.properties -->
18 16785 marek.hors
        <oozie.package.file.name>oozie-package</oozie.package.file.name>
19 19558 marek.hors
        <!-- notice: sandboxName is generated based on workflow.source.dir property -->
20 15947 marek.hors
        <workflow.source.dir>src/test/resources/define/path/pointing/to/directory/holding/oozie_app</workflow.source.dir>
21 19011 marek.hors
        <iis.hadoop.frontend.user.name>${user.name}</iis.hadoop.frontend.user.name>
22 24314 marek.hors
        <iis.hadoop.frontend.home.dir>/mnt/tmp</iis.hadoop.frontend.home.dir>
23 19011 marek.hors
        <iis.hadoop.master.host.name>localhost</iis.hadoop.master.host.name>
24
        <iis.hadoop.frontend.host.name>localhost</iis.hadoop.frontend.host.name>
25 20927 marek.hors
        <oozieServiceLoc>http://${iis.hadoop.master.host.name}:11000/oozie</oozieServiceLoc>
26 18930 marek.hors
        <oozieAppDir>oozie_app</oozieAppDir>
27 19011 marek.hors
        <nameNode>hdfs://${iis.hadoop.master.host.name}:8020</nameNode>
28
        <jobTracker>${iis.hadoop.master.host.name}:8021</jobTracker>
29 18930 marek.hors
        <queueName>default</queueName>
30 19558 marek.hors
        <primed.dir>primed</primed.dir>
31 19813 marek.hors
        <oozie.package.dependencies.scope>runtime</oozie.package.dependencies.scope>
32 15947 marek.hors
	</properties>
33
34 26531 marek.hors
	<pluginRepositories>
35
	    <pluginRepository>
36
		<id>dnet-bootstrap-plugin</id>
37
		<name>dnet bootstrap plugin</name>
38
		<url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet-bootstrap</url>
39
		<layout>default</layout>
40
	    </pluginRepository>
41
	</pluginRepositories>
42
43 15947 marek.hors
	<dependencies>
44
		<dependency>
45
			<groupId>eu.dnetlib</groupId>
46
			<artifactId>icm-iis-assembly-resources</artifactId>
47 26295 marek.hors
			<version>1.0.0-SNAPSHOT</version>
48 15947 marek.hors
		</dependency>
49
	</dependencies>
50
51
	<profiles>
52
		<profile>
53 19813 marek.hors
			<!-- This profiles provides test resources for oozie package.
54
				 To be used only with 'oozie' profile -->
55
			<id>attach-test-resources</id>
56
			<properties>
57
				<!--overriding default scope (set to 'runtime') with the 'test' value.
58
					Test resources attached to oozie package requires all test dependancies. -->
59
				<oozie.package.dependencies.scope>test</oozie.package.dependencies.scope>
60
			</properties>
61
			<build>
62
				<plugins>
63
					<plugin>
64
						<groupId>org.apache.maven.plugins</groupId>
65
						<artifactId>maven-compiler-plugin</artifactId>
66
						<executions>
67
							<execution>
68
								<id>attach-test-resources-compile</id>
69
								<phase>test-compile</phase>
70
								<goals>
71
									<goal>testCompile</goal>
72
								</goals>
73
							</execution>
74
						</executions>
75
					</plugin>
76
					<plugin>
77
						<groupId>org.apache.maven.plugins</groupId>
78
						<artifactId>maven-jar-plugin</artifactId>
79
						<executions>
80
							<execution>
81
								<id>attach-test-resources-package</id>
82
								<phase>prepare-package</phase>
83
								<goals>
84
									<goal>test-jar</goal>
85
								</goals>
86
							</execution>
87
						</executions>
88
					</plugin>
89
				</plugins>
90
			</build>
91
		</profile>
92
93
		<profile>
94 15947 marek.hors
			<id>oozie</id>
95
			<build>
96
				<plugins>
97 19558 marek.hors
					<plugin>
98
						<groupId>org.apache.maven.plugins</groupId>
99
						<artifactId>maven-dependency-plugin</artifactId>
100
						<executions>
101
							<execution>
102
									<id>copy dependencies</id>
103
									<phase>prepare-package</phase>
104
									<goals>
105
										<goal>copy-dependencies</goal>
106
									</goals>
107
									<configuration>
108 19813 marek.hors
										<includeScope>${oozie.package.dependencies.scope}</includeScope>
109 19558 marek.hors
									</configuration>
110
							</execution>
111
						</executions>
112
					</plugin>
113
114
					<plugin>
115
		                <groupId>eu.dnetlib</groupId>
116
		                <artifactId>icm-iis-primer-maven-plugin</artifactId>
117
		                <executions>
118
		                    <execution>
119
		                        <id>priming</id>
120
		                        <phase>prepare-package</phase>
121
		                        <goals><goal>prime</goal></goals>
122
		                        <configuration>
123
		                            <classProviderFiles>
124
		                                <classProviderFile>${project.build.directory}/dependency/*.jar</classProviderFile>
125
		                                <classProviderFile>${project.build.directory}/*-tests.jar</classProviderFile>
126
		                                <classProviderFile>${project.build.directory}/classes</classProviderFile>
127
		                            </classProviderFiles>
128
		                            <coansysPackageDir>${project.build.directory}/dependency</coansysPackageDir>
129
		                            <destination>${project.build.directory}/${primed.dir}</destination>
130
		                            <classpath>${workflow.source.dir}</classpath>
131
		                        </configuration>
132
		                    </execution>
133
		                </executions>
134
		            </plugin>
135
136
137 15947 marek.hors
					<!-- reading job.properties to use them in .sh scripts -->
138
					<plugin>
139
						<groupId>org.kuali.maven.plugins</groupId>
140
						<artifactId>properties-maven-plugin</artifactId>
141
						<version>1.3.2</version>
142 18927 marek.hors
						<dependencies>
143
							<dependency>
144
								<groupId>eu.dnetlib</groupId>
145
								<artifactId>icm-iis-assembly-resources</artifactId>
146 26418 marek.hors
								<version>1.0.0-SNAPSHOT</version>
147 18927 marek.hors
								<!-- contains project-default.properties -->
148
							</dependency>
149
						</dependencies>
150 15947 marek.hors
						<executions>
151
							<execution>
152 19558 marek.hors
								<id>read-default-properties</id>
153 15947 marek.hors
								<phase>initialize</phase>
154
								<goals>
155
									<goal>read-project-properties</goal>
156
								</goals>
157
								<configuration>
158
									<locations>
159 18927 marek.hors
										<param>classpath:project-default.properties</param>
160 19558 marek.hors
									</locations>
161
									<quiet>true</quiet>
162
								</configuration>
163
							</execution>
164
							<execution>
165
								<id>read-job-properties</id>
166
								<phase>prepare-package</phase>
167
								<goals>
168
									<goal>read-project-properties</goal>
169
								</goals>
170
								<configuration>
171
									<locations>
172
										<param>${project.build.directory}/${primed.dir}/job.properties</param>
173 15947 marek.hors
										<param>job-override.properties</param>
174
									</locations>
175
									<quiet>true</quiet>
176
								</configuration>
177
							</execution>
178 16238 marek.hors
						</executions>
179
					</plugin>
180 19558 marek.hors
181 16238 marek.hors
					<plugin>
182
						<groupId>eu.dnetlib</groupId>
183
						<artifactId>icm-iis-properties-maven-plugin</artifactId>
184
						<version>0.0.1-SNAPSHOT</version>
185
						<executions>
186 15947 marek.hors
							<execution>
187 18927 marek.hors
		                        <phase>validate</phase>
188
		                        <goals>
189
		                            <goal>generate-properties</goal>
190
		                            <!-- generates sandboxName based on workflow.source.dir
191
		                            	when not specified as commandline parameter -->
192
		                        </goals>
193
		                        <configuration>
194
		                        </configuration>
195
		                    </execution>
196
							<execution>
197 19558 marek.hors
								<id>write-job-properties</id>
198 15947 marek.hors
								<phase>prepare-package</phase>
199
								<goals>
200
									<goal>write-project-properties</goal>
201
								</goals>
202
								<configuration>
203 16785 marek.hors
									<outputFile>target/${oozie.package.file.name}/job.properties</outputFile>
204 16597 marek.hors
									<!-- notice: dots are not allowed for job.properties! -->
205 16161 mateusz.ko
									<include>nameNode,jobTracker,queueName,
206 25064 marek.hors
									workingDir,oozie.wf.application.path</include>
207 15947 marek.hors
									<includeSystemProperties>true</includeSystemProperties>
208 16238 marek.hors
									<includePropertyKeysFromFiles>
209 19558 marek.hors
										<!--
210 16238 marek.hors
										<param>${workflow.source.dir}/job.properties</param>
211 19558 marek.hors
										 -->
212
										<param>${project.build.directory}/${primed.dir}/job.properties</param>
213 16238 marek.hors
										<param>job-override.properties</param>
214
									</includePropertyKeysFromFiles>
215 15947 marek.hors
								</configuration>
216
							</execution>
217
						</executions>
218
					</plugin>
219
					<plugin>
220
						<groupId>org.apache.maven.plugins</groupId>
221
						<artifactId>maven-assembly-plugin</artifactId>
222
						<version>2.3</version>
223
						<dependencies>
224
							<dependency>
225
								<groupId>eu.dnetlib</groupId>
226
								<artifactId>icm-iis-assembly-resources</artifactId>
227 26420 marek.hors
								<version>1.0.0-SNAPSHOT</version>
228 15947 marek.hors
							</dependency>
229
						</dependencies>
230
						<executions>
231
							<execution>
232
								<id>assembly-oozie-installer</id>
233
								<phase>package</phase>
234
								<goals>
235
									<goal>single</goal>
236
								</goals>
237
								<configuration>
238
									<appendAssemblyId>false</appendAssemblyId>
239 16785 marek.hors
		        					<finalName>${oozie.package.file.name}_shell_scripts</finalName>
240 15947 marek.hors
		        					<descriptorRefs>
241
							        	<descriptorRef>oozie-installer</descriptorRef>
242
							       	</descriptorRefs>
243
								</configuration>
244
							</execution>
245
						</executions>
246
					</plugin>
247 19558 marek.hors
248 15947 marek.hors
					<plugin>
249
						<!-- this plugin prepares oozie installer package-->
250
						<artifactId>maven-antrun-plugin</artifactId>
251
						<executions>
252
							<!-- extracting shared resources phase -->
253
							<execution>
254
					          <id>installer-copy-custom</id>
255
					          <phase>process-resources</phase>
256
					          <goals>
257
					              <goal>run</goal>
258
					          </goals>
259
					          <configuration>
260
					              <tasks>
261
					                  <property name="assembly-resources.loc"
262
					                  value="${maven.dependency.eu.dnetlib.icm-iis-assembly-resources.jar.path}"/>
263
					                  <unjar src="${assembly-resources.loc}" dest="${project.build.directory}/assembly-resources"/>
264
					              </tasks>
265
					          </configuration>
266
					      	</execution>
267
							<!-- packaging phase -->
268
							<execution>
269
								<phase>package</phase>
270
								<configuration>
271
									<tasks>
272
										<!-- copying workflow resources -->
273 16785 marek.hors
										<mkdir dir="target/${oozie.package.file.name}"/>
274 19340 marek.hors
										<mkdir dir="target/${oozie.package.file.name}/${oozieAppDir}"/>
275
										<copy todir="target/${oozie.package.file.name}/${oozieAppDir}">
276 19558 marek.hors
											<!--
277 19332 marek.hors
											<fileset dir="${workflow.source.dir}/${oozieAppDir}"/>
278 19558 marek.hors
											replacing with primed dir location
279
											 -->
280
											<fileset dir="target/${primed.dir}/${oozieAppDir}"/>
281 15947 marek.hors
										</copy>
282 18907 marek.hors
										<!-- copying all jars to oozie lib directory -->
283
										<mkdir dir="target/${oozie.package.file.name}/${oozieAppDir}/lib"/>
284
										<copy todir="target/${oozie.package.file.name}/${oozieAppDir}/lib">
285
											<fileset dir="${project.build.directory}/dependency"/>
286
										</copy>
287
										<!-- copying current module lib -->
288
										<copy todir="target/${oozie.package.file.name}/${oozieAppDir}/lib">
289
											<fileset dir="${project.build.directory}">
290
												<include name="*.jar"/>
291
											</fileset>
292
										</copy>
293
294 15947 marek.hors
										<!-- creating tar.gz package -->
295 16785 marek.hors
										<tar destfile="target/${oozie.package.file.name}.tar.gz" compression="gzip">
296
											<tarfileset dir="target/${oozie.package.file.name}"/>
297
											<tarfileset dir="target/${oozie.package.file.name}_shell_scripts" filemode="0755">
298 15947 marek.hors
												<include name="**/*.sh"/>
299
											</tarfileset>
300 16785 marek.hors
											<tarfileset dir="target/${oozie.package.file.name}_shell_scripts" filemode="0644">
301 15947 marek.hors
												<exclude name="**/*.sh"/>
302
											</tarfileset>
303
										</tar>
304
										<!-- cleanup -->
305 16785 marek.hors
										<delete dir="target/${oozie.package.file.name}"/>
306
										<delete dir="target/${oozie.package.file.name}_shell_scripts"/>
307 15947 marek.hors
									</tasks>
308
								</configuration>
309
								<goals>
310
									<goal>run</goal>
311
								</goals>
312
							</execution>
313
						</executions>
314
					</plugin>
315
				</plugins>
316
			</build>
317
		</profile>
318 19813 marek.hors
319 16004 marek.hors
		<profile>
320 18907 marek.hors
			<id>deploy</id>
321
			<build>
322
				<plugins>
323
			        <plugin>
324
					  <groupId>org.codehaus.mojo</groupId>
325
					  <artifactId>exec-maven-plugin</artifactId>
326
					  <version>1.2.1</version>
327
					  <executions>
328 19038 marek.hors
					  	<execution>
329
				          <id>create-target-dir</id>
330
				          <phase>package</phase>
331
				          <goals>
332
				            <goal>exec</goal>
333
				          </goals>
334
				          <configuration>
335
				          	<executable>ssh</executable>
336
						    <arguments>
337
								<argument>${iis.hadoop.frontend.user.name}@${iis.hadoop.frontend.host.name}</argument>
338 24314 marek.hors
								<argument>mkdir -p ${iis.hadoop.frontend.home.dir}/${iis.hadoop.frontend.user.name}/oozie-packages/${sandboxName}/${maven.build.timestamp}/</argument>
339 19038 marek.hors
						    </arguments>
340
				          </configuration>
341
				        </execution>
342
					  	<execution>
343
				          <id>upload-oozie-package</id>
344
				          <phase>package</phase>
345
				          <goals>
346
				            <goal>exec</goal>
347
				          </goals>
348
				          <configuration>
349
				          	<executable>scp</executable>
350
						    <arguments>
351
								<argument>target/${oozie.package.file.name}.tar.gz</argument>
352 24314 marek.hors
								<argument>${iis.hadoop.frontend.user.name}@${iis.hadoop.frontend.host.name}:${iis.hadoop.frontend.home.dir}/${iis.hadoop.frontend.user.name}/oozie-packages/${sandboxName}/${maven.build.timestamp}/${oozie.package.file.name}.tar.gz</argument>
353 19038 marek.hors
						    </arguments>
354
				          </configuration>
355
				        </execution>
356
357 18907 marek.hors
					    <execution>
358
					      <id>extract-and-run-on-remote-host</id>
359
					      <phase>package</phase>
360
					      <goals>
361
					        <goal>exec</goal>
362
					      </goals>
363 19038 marek.hors
					      <configuration>
364
						    <executable>ssh</executable>
365
						    <arguments>
366
								<argument>${iis.hadoop.frontend.user.name}@${iis.hadoop.frontend.host.name}</argument>
367 24314 marek.hors
								<argument>cd ${iis.hadoop.frontend.home.dir}/${iis.hadoop.frontend.user.name}/oozie-packages/${sandboxName}/${maven.build.timestamp}/; </argument>
368 19038 marek.hors
								<!-- extracting and running -->
369
								<argument>tar -zxvf oozie-package.tar.gz; </argument>
370
								<argument>./upload_workflow.sh; </argument>
371
								<argument>./run_workflow.sh; </argument>
372
								<!-- cleanup phase -->
373 24314 marek.hors
								<argument>rm ${iis.hadoop.frontend.home.dir}/${iis.hadoop.frontend.user.name}/oozie-packages/${sandboxName}/${maven.build.timestamp}/oozie-package.tar.gz</argument>
374 19038 marek.hors
						    </arguments>
375
						  </configuration>
376 18907 marek.hors
					    </execution>
377
					  </executions>
378
					</plugin>
379
				</plugins>
380
			</build>
381
		</profile>
382
383
		<profile>
384
			<id>deploy-local</id>
385
			<build>
386
				<plugins>
387
			        <plugin>
388
					  <groupId>org.codehaus.mojo</groupId>
389
					  <artifactId>exec-maven-plugin</artifactId>
390
					  <version>1.2.1</version>
391
					  <executions>
392
					  	<execution>
393
					      <id>mkdir</id>
394
					      <phase>package</phase>
395
					      <goals>
396
					        <goal>exec</goal>
397
					      </goals>
398
					      <configuration>
399
						    <executable>mkdir</executable>
400
						    <arguments>
401
								<argument>target/local-upload</argument>
402
						    </arguments>
403
						  </configuration>
404
					    </execution>
405
					    <execution>
406
					      <id>untar</id>
407
					      <phase>package</phase>
408
					      <goals>
409
					        <goal>exec</goal>
410
					      </goals>
411
					      <configuration>
412
						    <executable>tar</executable>
413
						    <arguments>
414
								<argument>-zxvf</argument>
415
								<argument>${project.build.directory}/${oozie.package.file.name}.tar.gz</argument>
416
								<argument>-C</argument>
417
								<argument>${project.build.directory}/local-upload</argument>
418
						    </arguments>
419
						  </configuration>
420
					    </execution>
421
					    <execution>
422
					      <id>upload-to-local-cluster</id>
423
					      <phase>package</phase>
424
					      <goals>
425
					        <goal>exec</goal>
426
					      </goals>
427
					      <configuration>
428 19062 marek.hors
						    <executable>sh</executable>
429 19059 marek.hors
						    <arguments>
430 19062 marek.hors
						    	<argument>${project.build.directory}/local-upload/upload_workflow.sh</argument>
431 19059 marek.hors
						    	<argument>${project.build.directory}/local-upload</argument>
432
						    </arguments>
433 18907 marek.hors
						  </configuration>
434
					    </execution>
435
					    <execution>
436
					      <id>run-on-local-cluster</id>
437
					      <phase>package</phase>
438
					      <goals>
439
					        <goal>exec</goal>
440
					      </goals>
441
					      <configuration>
442 19062 marek.hors
						    <executable>sh</executable>
443 19061 marek.hors
						    <arguments>
444 19062 marek.hors
						    	<argument>${project.build.directory}/local-upload/run_workflow.sh</argument>
445 19059 marek.hors
						    	<argument>${project.build.directory}/local-upload</argument>
446 19061 marek.hors
						    </arguments>
447 18907 marek.hors
						  </configuration>
448
					    </execution>
449
					  </executions>
450
					</plugin>
451
				</plugins>
452
			</build>
453
		</profile>
454
455
		<profile>
456 16004 marek.hors
			<!-- this profile is handling unit and integration test definitions
457
				of all child modules -->
458
			<id>child-tests</id>
459
			<build>
460
			<plugins>
461 19624 marek.hors
				<!-- integration tests related -->
462 16004 marek.hors
				<plugin>
463
					<groupId>org.apache.maven.plugins</groupId>
464 19616 marek.hors
					<artifactId>maven-compiler-plugin</artifactId>
465
					<executions>
466
						<execution>
467
							<id>integration-test-compile</id>
468
							<phase>integration-test</phase>
469
							<goals>
470
								<goal>testCompile</goal>
471
							</goals>
472
						</execution>
473
					</executions>
474
				</plugin>
475
				<plugin>
476
					<groupId>org.apache.maven.plugins</groupId>
477
					<artifactId>maven-jar-plugin</artifactId>
478
					<executions>
479
						<execution>
480
							<id>integration-test-package</id>
481
							<phase>integration-test</phase>
482
							<goals>
483
								<goal>test-jar</goal>
484
							</goals>
485
						</execution>
486
					</executions>
487
				</plugin>
488
				<plugin>
489
					<groupId>org.apache.maven.plugins</groupId>
490
					<artifactId>maven-dependency-plugin</artifactId>
491
					<executions>
492
						<execution>
493
							<id>integration-test-copy-dependencies</id>
494
							<phase>integration-test</phase>
495
							<goals>
496
								<goal>copy-dependencies</goal>
497
							</goals>
498
						</execution>
499
					</executions>
500
				</plugin>
501 19624 marek.hors
502 19616 marek.hors
				<plugin>
503
	                <groupId>eu.dnetlib</groupId>
504
	                <artifactId>icm-iis-primer-maven-plugin</artifactId>
505
	                <executions>
506
	                    <execution>
507 19624 marek.hors
	                        <id>integration-test-priming</id>
508 19616 marek.hors
	                        <phase>integration-test</phase>
509
	                        <goals><goal>prime</goal></goals>
510
	                        <configuration>
511
	                            <classProviderFiles>
512
	                                <classProviderFile>${project.build.directory}/dependency/*.jar</classProviderFile>
513
	                                <classProviderFile>${project.build.directory}/*-tests.jar</classProviderFile>
514
	                                <classProviderFile>${project.build.directory}/classes</classProviderFile>
515
	                            </classProviderFiles>
516
	                            <coansysPackageDir>${project.build.directory}/dependency</coansysPackageDir>
517
	                            <destination>${project.build.directory}/${primed.dir}</destination>
518
	                        </configuration>
519
	                    </execution>
520
	                </executions>
521
	            </plugin>
522 19624 marek.hors
	            <!--  -->
523 19616 marek.hors
				<!-- end of plugins required by integration test priming -->
524
				<plugin>
525
					<groupId>org.apache.maven.plugins</groupId>
526 16004 marek.hors
					<artifactId>maven-surefire-plugin</artifactId>
527
					<version>2.11</version>
528
					<dependencies>
529
						<dependency>
530
							<groupId>org.apache.maven.surefire</groupId>
531
							<artifactId>surefire-junit47</artifactId>
532
							<version>2.12</version>
533
						</dependency>
534
					</dependencies>
535
					<configuration>
536
						<skip>true</skip>
537
					</configuration>
538
					<executions>
539
						<execution>
540
							<id>unit-test</id>
541
							<phase>test</phase>
542
							<goals>
543
								<goal>test</goal>
544
							</goals>
545
							<configuration>
546
								<skip>false</skip>
547 17007 marek.hors
								<excludedGroups>eu.dnetlib.iis.IntegrationTest</excludedGroups>
548 16004 marek.hors
							</configuration>
549
						</execution>
550
						<execution>
551
							<id>integration-test</id>
552
							<phase>integration-test</phase>
553
							<goals>
554
								<goal>test</goal>
555
							</goals>
556
							<configuration>
557
								<skip>false</skip>
558
								<forkMode>always</forkMode>
559
								<argLine>-Xmx1024m</argLine>
560
								<systemPropertiesVariables>
561
									<hadoop.log.dir>/tmp</hadoop.log.dir>
562
									<oozie.data.dir>${oozie.data.dir}</oozie.data.dir>
563
								</systemPropertiesVariables>
564 17007 marek.hors
								<groups>eu.dnetlib.iis.IntegrationTest</groups>
565 16004 marek.hors
							</configuration>
566
						</execution>
567
					</executions>
568
				</plugin>
569
			</plugins>
570
			</build>
571
			<activation>
572
				<file>
573
					<missing>src/main/resources/parent.marker</missing>
574
				</file>
575
			</activation>
576
		</profile>
577 15947 marek.hors
	</profiles>
578
579
	<build>
580
		<plugins>
581
		</plugins>
582
		<pluginManagement>
583
			<plugins>
584
				<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
585
				<plugin>
586
					<groupId>org.eclipse.m2e</groupId>
587
					<artifactId>lifecycle-mapping</artifactId>
588
					<version>1.0.0</version>
589
					<configuration>
590
						<lifecycleMappingMetadata>
591
							<pluginExecutions>
592
								<pluginExecution>
593
									<pluginExecutionFilter>
594
										<groupId>
595
											org.kuali.maven.plugins
596
										</groupId>
597
										<artifactId>
598
											properties-maven-plugin
599
										</artifactId>
600
										<versionRange>
601
											[1.3.2,)
602
										</versionRange>
603
										<goals>
604
											<goal>
605
												read-project-properties
606
											</goal>
607
											<goal>
608
												write-project-properties
609
											</goal>
610
										</goals>
611
									</pluginExecutionFilter>
612
									<action>
613
										<ignore/>
614
									</action>
615
								</pluginExecution>
616
								<!-- copy-dependency plugin -->
617
			                    <pluginExecution>
618
			                        <pluginExecutionFilter>
619
			                            <groupId>org.apache.maven.plugins</groupId>
620
			                            <artifactId>maven-dependency-plugin</artifactId>
621
			                            <versionRange>[1.0.0,)</versionRange>
622
			                            <goals>
623
			                                <goal>copy-dependencies</goal>
624
			                            </goals>
625
			                        </pluginExecutionFilter>
626
			                        <action>
627
			                            <ignore />
628
			                        </action>
629
                    </pluginExecution>
630
							</pluginExecutions>
631
						</lifecycleMappingMetadata>
632
					</configuration>
633
				</plugin>
634
			</plugins>
635
		</pluginManagement>
636
	</build>
637 26552 marek.hors
638
	<repositories>
639 27739 marek.hors
		<!-- dnet4-snapshots is required because all CNR libs are published to this repository from now on, not to dnet-spring-snapshots -->
640 28747 marek.hors
		<!--
641 27739 marek.hors
		<repository>
642
			<id>dnet4-snapshots</id>
643
			<name>dnet4-snapshots</name>
644
			<url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet4-snapshots</url>
645
			<layout>default</layout>
646
			<snapshots>
647
				<enabled>true</enabled>
648
			</snapshots>
649
		</repository>
650 28747 marek.hors
		 -->
651 27739 marek.hors
652 26552 marek.hors
		<!-- Sandro removed this repository from parent pom, need to define here until moving artifacts from dnet-snapshot to dnet-spring-snapshot repository -->
653
		<repository>
654
			<id>dnet-snapshots</id>
655
			<name>dnet-snapshots</name>
656
			<url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet-snapshots</url>
657
			<layout>default</layout>
658
			<snapshots>
659
				<enabled>true</enabled>
660
			</snapshots>
661
		</repository>
662 27739 marek.hors
663
664 26552 marek.hors
	</repositories>
665 15947 marek.hors
</project>