Project

General

Profile

1
<?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
        <artifactId>icm-iis-parent-container</artifactId>
6
        <version>1.0.1-SNAPSHOT</version>
7
	</parent>
8
	<modelVersion>4.0.0</modelVersion>
9
	<artifactId>icm-iis-mainworkflows</artifactId>
10
	<packaging>jar</packaging>
11
	<version>1.0.1-SNAPSHOT</version>
12

    
13
	<scm>
14
	  <developerConnection>
15
	    scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/icm-iis-mainworkflows/trunk
16
	  </developerConnection>
17
	</scm>
18
	
19
	<properties>
20
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21
	</properties>
22
	<dependencies>
23
		<dependency>
24
			<groupId>eu.dnetlib</groupId>
25
			<artifactId>icm-iis-schemas</artifactId>
26
			<version>[1.0.0,2.0.0)</version>
27
		</dependency>
28
		<dependency>
29
			<groupId>eu.dnetlib</groupId>
30
			<artifactId>icm-iis-import</artifactId>
31
			<version>[1.0.0,2.0.0)</version>
32
			<exclusions>
33
			<!-- conflicts with ingest-pmc dependency and causes failures -->
34
				<exclusion>
35
					<groupId>jgrapht</groupId>
36
					<artifactId>jgrapht</artifactId>
37
				</exclusion>
38
			</exclusions>
39
		</dependency>
40
		<dependency>
41
			<groupId>eu.dnetlib</groupId>
42
			<artifactId>icm-iis-ingest-pmc</artifactId>
43
			<version>[1.0.0,2.0.0)</version>
44
			<exclusions>
45
				<exclusion>
46
					<groupId>org.mortbay.jetty</groupId>
47
					<artifactId>servlet-api</artifactId>
48
				</exclusion>
49
			</exclusions>
50
		</dependency>
51
		<dependency>
52
			<groupId>eu.dnetlib</groupId>
53
			<artifactId>icm-iis-ingest</artifactId>
54
			<version>[1.0.0-SNAPSHOT,2.0.0)</version>
55
		</dependency>
56
		<dependency>
57
			<groupId>eu.dnetlib</groupId>
58
			<artifactId>icm-iis-export-actionmanager</artifactId>
59
			<version>[1.0.0,2.0.0)</version>
60
			<exclusions>
61
				<exclusion>
62
					<groupId>apache</groupId>
63
					<artifactId>commons-io</artifactId>
64
				</exclusion>
65
			</exclusions>
66
		</dependency>
67
		<dependency>
68
			<groupId>eu.dnetlib</groupId>
69
			<artifactId>icm-iis-metadataextraction</artifactId>
70
			<version>[1.0.0,2.0.0)</version>
71
				<exclusions>
72
					<exclusion>
73
						<groupId>org.mortbay.jetty</groupId>
74
						<artifactId>servlet-api</artifactId>
75
					</exclusion>
76
					<!-- excluding duplicate -->
77
					<exclusion>
78
						<groupId>jdom</groupId>
79
						<artifactId>jdom</artifactId>
80
					</exclusion>
81
				</exclusions>
82
		</dependency>
83
		<dependency>
84
			<groupId>eu.dnetlib</groupId>
85
			<artifactId>icm-iis-transformers</artifactId>
86
			<version>[1.0.0,2.0.0)</version>
87
			<exclusions>
88
				<exclusion>
89
					<groupId>org.mortbay.jetty</groupId>
90
					<artifactId>jsp-api-2.1</artifactId>
91
				</exclusion>
92
				<exclusion>
93
					<groupId>org.mortbay.jetty</groupId>
94
					<artifactId>servlet-api-2.5</artifactId>
95
				</exclusion>
96
				<!-- excluding provided libraries -->
97
				<exclusion>
98
					<groupId>org.apache.hbase</groupId>
99
					<artifactId>hbase</artifactId>
100
				</exclusion>
101
			</exclusions>
102
		</dependency>
103
		<dependency>
104
			<groupId>eu.dnetlib</groupId>
105
			<artifactId>icm-iis-citationmatching-direct</artifactId>
106
			<version>[1.0.0,2.0.0)</version>
107
			<exclusions>
108
				<exclusion>
109
					<groupId>org.mortbay.jetty</groupId>
110
					<artifactId>jsp-api-2.1</artifactId>
111
				</exclusion>
112
				<exclusion>
113
					<groupId>org.mortbay.jetty</groupId>
114
					<artifactId>servlet-api-2.5</artifactId>
115
				</exclusion>
116
				<!-- excluding provided libraries -->
117
				<exclusion>
118
					<groupId>org.apache.hbase</groupId>
119
					<artifactId>hbase</artifactId>
120
				</exclusion>
121
			</exclusions>
122
		</dependency>
123
		<dependency>
124
			<groupId>eu.dnetlib</groupId>
125
			<artifactId>icm-iis-collapsers</artifactId>
126
			<version>[1.0.0,2.0.0)</version>
127
		</dependency>
128
		<dependency>
129
			<groupId>eu.dnetlib</groupId>
130
			<artifactId>icm-iis-statistics</artifactId>
131
			<version>[1.0.0,2.0.0)</version>
132
		</dependency>
133
		<dependency>
134
			<groupId>eu.dnetlib</groupId>
135
			<artifactId>uoa-iis-websiteusage</artifactId>
136
			<version>[1.0.0-SNAPSHOT,2.0.0)</version>
137
		</dependency>
138
		<dependency>
139
			<groupId>eu.dnetlib</groupId>
140
			<artifactId>icm-iis-citationmatching</artifactId>
141
			<version>[1.0.0,2.0.0)</version>
142
			<exclusions>
143
				<exclusion>
144
					<!-- fixing slf4j multiple bindings issue -->
145
					<groupId>org.slf4j</groupId>
146
					<artifactId>slf4j-simple</artifactId>
147
				</exclusion>
148
			</exclusions>
149
		</dependency>
150
		<dependency>
151
			<groupId>eu.dnetlib</groupId>
152
			<artifactId>uoa-iis-referenceextraction</artifactId>
153
			<version>[1.0.0,2.0.0)</version>
154
		</dependency>
155
		<dependency>
156
			<groupId>eu.dnetlib</groupId>
157
			<artifactId>uoa-iis-documentsclassification</artifactId>
158
			<version>[1.0.0,2.0.0)</version>
159
		</dependency>
160
		<dependency>
161
			<groupId>eu.dnetlib</groupId>
162
			<artifactId>icm-iis-documentssimilarity</artifactId>
163
			<version>[1.0.0,2.0.0)</version>
164
		</dependency>
165
		<!-- required after introducing 'provided' scope for hadoop libs -->
166
		<dependency>
167
			<groupId>org.apache.oozie</groupId>
168
			<artifactId>oozie-core</artifactId>
169
			<version>${iis.oozie.version}</version>
170
			<!-- oozie-core doesn't seem to be provided on cluster! 
171
			<scope>provided</scope>
172
			 -->
173
			<exclusions>
174
				<exclusion>
175
					<!-- fixing slf4j multiple bindings issue -->
176
					<groupId>org.slf4j</groupId>
177
					<artifactId>slf4j-simple</artifactId>
178
				</exclusion>
179
				<exclusion>
180
					<groupId>org.mortbay.jetty</groupId>
181
					<artifactId>servlet-api-2.5</artifactId>
182
				</exclusion>
183
				<exclusion>
184
					<groupId>javax.servlet.jsp</groupId>
185
					<artifactId>jsp-api</artifactId>
186
				</exclusion>
187
			</exclusions>
188
		</dependency>
189
		<dependency>
190
			<groupId>org.apache.hadoop</groupId>
191
			<artifactId>hadoop-hdfs</artifactId>
192
			<version>${iis.hadoop.hdfs.version}</version>
193
			<scope>provided</scope>
194
			<exclusions>
195
				<!-- has to be excluded explicitly due to the missing 
196
				org.apache.jasper.Constants.IS_SECURITY_ENABLED field. 
197
				Otherwise tests fail. -->
198
				<exclusion>
199
					<groupId>tomcat</groupId>
200
					<artifactId>jasper-runtime</artifactId>
201
				</exclusion>
202
			</exclusions>
203
		</dependency>
204
		<dependency>
205
			<groupId>org.apache.hbase</groupId>
206
			<artifactId>hbase</artifactId>
207
			<version>${iis.hbase.version}</version>
208
			<scope>provided</scope>
209
			<exclusions>
210
				<exclusion>
211
					<groupId>org.mortbay.jetty</groupId>
212
					<artifactId>servlet-api-2.5</artifactId>
213
				</exclusion>
214
				<exclusion>
215
					<groupId>org.mortbay.jetty</groupId>
216
					<artifactId>jsp-api-2.1</artifactId>
217
				</exclusion>
218
			</exclusions>
219
		</dependency>
220
		
221
		<dependency>
222
			<groupId>eu.dnetlib</groupId>
223
			<artifactId>icm-iis-core</artifactId>
224
			<version>[1.0.0,2.0.0)</version>
225
			<classifier>tests</classifier>
226
			<scope>test</scope>
227
		</dependency>
228
		
229
		<dependency>
230
			<groupId>commons-io</groupId>
231
			<artifactId>commons-io</artifactId>
232
			<version>2.1</version>
233
		</dependency>
234
		
235
		<!-- incompatible version is conveyed by icm-iis-citationmatching -->
236
		<!-- unfortunatelly it adds JobACLsManager which breaks dependancy -->
237
		<!-- 
238
		<dependency>
239
            <groupId>org.apache.hadoop</groupId>
240
            <artifactId>hadoop-client</artifactId>
241
            <version>${iis.hadoop.version}</version>
242
        </dependency>
243
		 -->
244
		<!-- Needed by Oozie tests { -->
245
		<dependency>
246
			<groupId>org.apache.hadoop</groupId>
247
			<artifactId>hadoop-common</artifactId>
248
			<version>${iis.hadoop.common.version}</version>
249
			<scope>test</scope>
250
		</dependency>
251
		<dependency>
252
			<groupId>org.apache.oozie</groupId>
253
			<artifactId>oozie-core</artifactId>
254
			<version>${iis.oozie.version}</version>
255
			<type>test-jar</type>
256
			<scope>test</scope>
257
			<exclusions>
258
				<exclusion>
259
					<groupId>javax.servlet.jsp</groupId>
260
					<artifactId>jsp-api</artifactId>
261
				</exclusion>
262
			</exclusions>
263
		</dependency>
264
		<!-- PigMain was moved to oozie-sharelib-pig since cdh4.3.1 -->
265
		<dependency>
266
			<groupId>org.apache.oozie</groupId>
267
			<artifactId>oozie-sharelib-pig</artifactId>
268
			<version>${iis.oozie.version}</version>
269
			<scope>test</scope>
270
		</dependency>
271
		<!-- StreamingMain was moved to oozie-sharelib-pig since cdh4.3.1 -->
272
		<dependency>
273
			<groupId>org.apache.oozie</groupId>
274
			<artifactId>oozie-sharelib-streaming</artifactId>
275
			<version>${iis.oozie.version}</version>
276
			<scope>test</scope>
277
		</dependency>
278
		<dependency>
279
			<groupId>org.apache.hadoop</groupId>
280
			<artifactId>hadoop-hdfs</artifactId>
281
			<version>${iis.hadoop.hdfs.version}</version>
282
			<type>test-jar</type>
283
			<scope>test</scope>
284
		</dependency>
285
		<dependency>
286
			<groupId>org.apache.hadoop</groupId>
287
			<artifactId>hadoop-test</artifactId>
288
			<version>${iis.hadoop.test.version}</version>
289
			<scope>test</scope>
290
		</dependency>
291
		<dependency>
292
			<groupId>org.apache.hadoop</groupId>
293
			<artifactId>hadoop-common</artifactId>
294
			<version>${iis.hadoop.common.version}</version>
295
			<type>test-jar</type>
296
			<scope>test</scope>
297
		</dependency>
298
	</dependencies>
299
	<build>
300
		<plugins>
301
			<!-- Plugin that generates Java classes from Avro schemas -->
302
			<plugin>
303
				<groupId>org.apache.avro</groupId>
304
				<artifactId>avro-maven-plugin</artifactId>
305
				<version>${iis.avro.version}</version>
306
				<executions>
307
					<execution>
308
						<phase>generate-test-sources</phase>
309
						<goals>
310
							<goal>schema</goal>
311
							<goal>idl-protocol</goal>
312
						</goals>
313
						<configuration>
314
							<sourceDirectory>${project.basedir}/src/test/resources/eu/dnetlib/iis/mainworkflows/schemas</sourceDirectory>
315
							<outputDirectory>${project.basedir}/target/generated-sources/java/</outputDirectory>
316
						</configuration>
317
					</execution>
318
				</executions>
319
			</plugin>
320
			<!-- This plugin makes the Maven->Update Project Configuration 
321
			not forget about the "target/generated-sources/java" source path-->
322
 
323
			<plugin>
324
			    <groupId>org.codehaus.mojo</groupId>
325
			    <artifactId>build-helper-maven-plugin</artifactId>
326
			    <version>1.8</version>
327
			    <executions>
328
			        <execution>
329
			            <id>add-test-source</id>
330
			            <phase>generate-test-sources</phase>
331
			            <goals>
332
			                <goal>add-test-source</goal>
333
			            </goals>
334
			            <configuration>
335
			                <sources>
336
			                    <source>${project.build.directory}/generated-sources/java/</source>
337
			                </sources>
338
			            </configuration>
339
			        </execution>
340
			    </executions>
341
			 </plugin>
342
		</plugins>
343
		<pluginManagement>
344

    
345

    
346
		<plugins>
347
			<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
348
			<plugin>
349
				<groupId>org.eclipse.m2e</groupId>
350
				<artifactId>lifecycle-mapping</artifactId>
351
				<version>1.0.0</version>
352
				<configuration>
353
					<lifecycleMappingMetadata>
354
						<pluginExecutions>
355
							<pluginExecution>
356
								<pluginExecutionFilter>
357
									<groupId>org.apache.avro</groupId>
358
									<artifactId>
359
										avro-maven-plugin
360
									</artifactId>
361
									<versionRange>
362
										[1.7.3,)
363
									</versionRange>
364
									<goals>
365
										<goal>idl-protocol</goal>
366
										<goal>schema</goal>
367
									</goals>
368
								</pluginExecutionFilter>
369
								<action>
370
									<ignore />
371
								</action>
372
							</pluginExecution>
373
							<pluginExecution>
374
								<pluginExecutionFilter>
375
									<groupId>org.codehaus.mojo</groupId>
376
									<artifactId>
377
										build-helper-maven-plugin
378
									</artifactId>
379
									<versionRange>[1.7,)</versionRange>
380
									<goals>
381
										<goal>add-test-source</goal>
382
									</goals>
383
								</pluginExecutionFilter>
384
								<action>
385
									<ignore />
386
								</action>
387
							</pluginExecution>
388
						</pluginExecutions>
389
					</lifecycleMappingMetadata>
390
				</configuration>
391
			</plugin>
392
		</plugins>
393
		</pluginManagement>
394
	</build>
395
</project>
(4-4/4)