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-CDH-5.3.0-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-CDH-5.3.0-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>${iis.hbase.artifactid}</artifactId>
207
			<version>${iis.hbase.version}</version>
208
			<!-- hbase-client does not seem to be provided on cdh5 cluster -->
209
			<!-- 
210
			<scope>provided</scope>
211
			 -->
212
			<exclusions>
213
				<exclusion>
214
					<groupId>org.mortbay.jetty</groupId>
215
					<artifactId>servlet-api-2.5</artifactId>
216
				</exclusion>
217
				<exclusion>
218
					<groupId>org.mortbay.jetty</groupId>
219
					<artifactId>jsp-api-2.1</artifactId>
220
				</exclusion>
221
			</exclusions>
222
		</dependency>
223
		
224
		<dependency>
225
			<groupId>eu.dnetlib</groupId>
226
			<artifactId>icm-iis-core</artifactId>
227
			<version>[1.0.0,2.0.0)</version>
228
			<classifier>tests</classifier>
229
			<scope>test</scope>
230
		</dependency>
231
		
232
		<dependency>
233
			<groupId>commons-io</groupId>
234
			<artifactId>commons-io</artifactId>
235
			<version>2.1</version>
236
		</dependency>
237
		
238
		<!-- incompatible version is conveyed by icm-iis-citationmatching -->
239
		<!-- unfortunatelly it adds JobACLsManager which breaks dependancy -->
240
		<!-- 
241
		<dependency>
242
            <groupId>org.apache.hadoop</groupId>
243
            <artifactId>hadoop-client</artifactId>
244
            <version>${iis.hadoop.version}</version>
245
        </dependency>
246
		 -->
247
		<!-- Needed by Oozie tests { -->
248
		<dependency>
249
			<groupId>org.apache.hadoop</groupId>
250
			<artifactId>hadoop-common</artifactId>
251
			<version>${iis.hadoop.common.version}</version>
252
			<scope>test</scope>
253
		</dependency>
254
		<dependency>
255
			<groupId>org.apache.oozie</groupId>
256
			<artifactId>oozie-core</artifactId>
257
			<version>${iis.oozie.version}</version>
258
			<type>test-jar</type>
259
			<scope>test</scope>
260
			<exclusions>
261
				<exclusion>
262
					<groupId>javax.servlet.jsp</groupId>
263
					<artifactId>jsp-api</artifactId>
264
				</exclusion>
265
			</exclusions>
266
		</dependency>
267
		<!-- PigMain was moved to oozie-sharelib-pig since cdh4.3.1 -->
268
		<dependency>
269
			<groupId>org.apache.oozie</groupId>
270
			<artifactId>oozie-sharelib-pig</artifactId>
271
			<version>${iis.oozie.version}</version>
272
			<scope>test</scope>
273
		</dependency>
274
		<!-- StreamingMain was moved to oozie-sharelib-pig since cdh4.3.1 -->
275
		<dependency>
276
			<groupId>org.apache.oozie</groupId>
277
			<artifactId>oozie-sharelib-streaming</artifactId>
278
			<version>${iis.oozie.version}</version>
279
			<scope>test</scope>
280
		</dependency>
281
		<dependency>
282
			<groupId>org.apache.hadoop</groupId>
283
			<artifactId>hadoop-hdfs</artifactId>
284
			<version>${iis.hadoop.hdfs.version}</version>
285
			<type>test-jar</type>
286
			<scope>test</scope>
287
		</dependency>
288
		<dependency>
289
			<groupId>org.apache.hadoop</groupId>
290
			<artifactId>hadoop-test</artifactId>
291
			<version>${iis.hadoop.test.version}</version>
292
			<scope>test</scope>
293
		</dependency>
294
		<dependency>
295
			<groupId>org.apache.hadoop</groupId>
296
			<artifactId>hadoop-common</artifactId>
297
			<version>${iis.hadoop.common.version}</version>
298
			<type>test-jar</type>
299
			<scope>test</scope>
300
		</dependency>
301
	</dependencies>
302
	<build>
303
		<plugins>
304
			<!-- Plugin that generates Java classes from Avro schemas -->
305
			<plugin>
306
				<groupId>org.apache.avro</groupId>
307
				<artifactId>avro-maven-plugin</artifactId>
308
				<executions>
309
					<execution>
310
						<phase>generate-test-sources</phase>
311
						<goals>
312
							<goal>schema</goal>
313
							<goal>idl-protocol</goal>
314
						</goals>
315
						<configuration>
316
							<sourceDirectory>${project.basedir}/src/test/resources/eu/dnetlib/iis/mainworkflows/schemas</sourceDirectory>
317
							<outputDirectory>${project.basedir}/target/generated-sources/java/</outputDirectory>
318
						</configuration>
319
					</execution>
320
				</executions>
321
			</plugin>
322
			<!-- This plugin makes the Maven->Update Project Configuration 
323
			not forget about the "target/generated-sources/java" source path-->
324
 
325
			<plugin>
326
			    <groupId>org.codehaus.mojo</groupId>
327
			    <artifactId>build-helper-maven-plugin</artifactId>
328
			    <version>1.8</version>
329
			    <executions>
330
			        <execution>
331
			            <id>add-test-source</id>
332
			            <phase>generate-test-sources</phase>
333
			            <goals>
334
			                <goal>add-test-source</goal>
335
			            </goals>
336
			            <configuration>
337
			                <sources>
338
			                    <source>${project.build.directory}/generated-sources/java/</source>
339
			                </sources>
340
			            </configuration>
341
			        </execution>
342
			    </executions>
343
			 </plugin>
344
		</plugins>
345
		<pluginManagement>
346

    
347

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