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-collapsers</artifactId>
106
			<version>[1.0.0,2.0.0)</version>
107
		</dependency>
108
		<dependency>
109
			<groupId>eu.dnetlib</groupId>
110
			<artifactId>icm-iis-statistics</artifactId>
111
			<version>[1.0.0,2.0.0)</version>
112
		</dependency>
113
		<dependency>
114
			<groupId>eu.dnetlib</groupId>
115
			<artifactId>uoa-iis-websiteusage</artifactId>
116
			<version>[1.0.0-SNAPSHOT,2.0.0)</version>
117
		</dependency>
118
		<dependency>
119
			<groupId>eu.dnetlib</groupId>
120
			<artifactId>icm-iis-citationmatching</artifactId>
121
			<version>[1.0.0,2.0.0)</version>
122
			<exclusions>
123
				<exclusion>
124
					<!-- fixing slf4j multiple bindings issue -->
125
					<groupId>org.slf4j</groupId>
126
					<artifactId>slf4j-simple</artifactId>
127
				</exclusion>
128
			</exclusions>
129
		</dependency>
130
		<dependency>
131
			<groupId>eu.dnetlib</groupId>
132
			<artifactId>uoa-iis-referenceextraction</artifactId>
133
			<version>[1.0.0,2.0.0)</version>
134
		</dependency>
135
		<dependency>
136
			<groupId>eu.dnetlib</groupId>
137
			<artifactId>uoa-iis-documentsclassification</artifactId>
138
			<version>[1.0.0,2.0.0)</version>
139
		</dependency>
140
		<dependency>
141
			<groupId>eu.dnetlib</groupId>
142
			<artifactId>icm-iis-documentssimilarity</artifactId>
143
			<version>[1.0.0,2.0.0)</version>
144
		</dependency>
145
		<!-- required after introducing 'provided' scope for hadoop libs -->
146
		<dependency>
147
			<groupId>org.apache.oozie</groupId>
148
			<artifactId>oozie-core</artifactId>
149
			<version>${iis.oozie.version}</version>
150
			<!-- oozie-core doesn't seem to be provided on cluster! 
151
			<scope>provided</scope>
152
			 -->
153
			<exclusions>
154
				<exclusion>
155
					<!-- fixing slf4j multiple bindings issue -->
156
					<groupId>org.slf4j</groupId>
157
					<artifactId>slf4j-simple</artifactId>
158
				</exclusion>
159
				<exclusion>
160
					<groupId>org.mortbay.jetty</groupId>
161
					<artifactId>servlet-api-2.5</artifactId>
162
				</exclusion>
163
				<exclusion>
164
					<groupId>javax.servlet.jsp</groupId>
165
					<artifactId>jsp-api</artifactId>
166
				</exclusion>
167
			</exclusions>
168
		</dependency>
169
		<dependency>
170
			<groupId>org.apache.oozie</groupId>
171
			<artifactId>oozie-sharelib-distcp</artifactId>
172
			<version>${iis.oozie.version}</version>
173
		</dependency>
174
		<dependency>
175
			<groupId>org.apache.hadoop</groupId>
176
			<artifactId>hadoop-hdfs</artifactId>
177
			<version>${iis.hadoop.hdfs.version}</version>
178
			<scope>provided</scope>
179
			<exclusions>
180
				<!-- has to be excluded explicitly due to the missing 
181
				org.apache.jasper.Constants.IS_SECURITY_ENABLED field. 
182
				Otherwise tests fail. -->
183
				<exclusion>
184
					<groupId>tomcat</groupId>
185
					<artifactId>jasper-runtime</artifactId>
186
				</exclusion>
187
			</exclusions>
188
		</dependency>
189
		<dependency>
190
			<groupId>org.apache.hbase</groupId>
191
			<artifactId>${iis.hbase.artifactid}</artifactId>
192
			<version>${iis.hbase.version}</version>
193
			<!-- hbase-client does not seem to be provided on cdh5 cluster -->
194
			<!-- 
195
			<scope>provided</scope>
196
			 -->
197
			<exclusions>
198
				<exclusion>
199
					<groupId>org.mortbay.jetty</groupId>
200
					<artifactId>servlet-api-2.5</artifactId>
201
				</exclusion>
202
				<exclusion>
203
					<groupId>org.mortbay.jetty</groupId>
204
					<artifactId>jsp-api-2.1</artifactId>
205
				</exclusion>
206
			</exclusions>
207
		</dependency>
208
		
209
		<dependency>
210
			<groupId>eu.dnetlib</groupId>
211
			<artifactId>icm-iis-core</artifactId>
212
			<version>[1.0.0,2.0.0)</version>
213
			<classifier>tests</classifier>
214
			<scope>test</scope>
215
		</dependency>
216
		
217
		<dependency>
218
			<groupId>commons-io</groupId>
219
			<artifactId>commons-io</artifactId>
220
			<version>2.1</version>
221
		</dependency>
222
		
223
		<!-- incompatible version is conveyed by icm-iis-citationmatching -->
224
		<!-- unfortunatelly it adds JobACLsManager which breaks dependancy -->
225
		<!-- 
226
		<dependency>
227
            <groupId>org.apache.hadoop</groupId>
228
            <artifactId>hadoop-client</artifactId>
229
            <version>${iis.hadoop.version}</version>
230
        </dependency>
231
		 -->
232
		<!-- Needed by Oozie tests { -->
233
		<dependency>
234
			<groupId>org.apache.hadoop</groupId>
235
			<artifactId>hadoop-common</artifactId>
236
			<version>${iis.hadoop.common.version}</version>
237
			<scope>test</scope>
238
		</dependency>
239
		<dependency>
240
			<groupId>org.apache.oozie</groupId>
241
			<artifactId>oozie-core</artifactId>
242
			<version>${iis.oozie.version}</version>
243
			<type>test-jar</type>
244
			<scope>test</scope>
245
			<exclusions>
246
				<exclusion>
247
					<groupId>javax.servlet.jsp</groupId>
248
					<artifactId>jsp-api</artifactId>
249
				</exclusion>
250
			</exclusions>
251
		</dependency>
252
		<!-- PigMain was moved to oozie-sharelib-pig since cdh4.3.1 -->
253
		<dependency>
254
			<groupId>org.apache.oozie</groupId>
255
			<artifactId>oozie-sharelib-pig</artifactId>
256
			<version>${iis.oozie.version}</version>
257
			<scope>test</scope>
258
		</dependency>
259
		<!-- StreamingMain was moved to oozie-sharelib-pig since cdh4.3.1 -->
260
		<dependency>
261
			<groupId>org.apache.oozie</groupId>
262
			<artifactId>oozie-sharelib-streaming</artifactId>
263
			<version>${iis.oozie.version}</version>
264
			<scope>test</scope>
265
		</dependency>
266
		<dependency>
267
			<groupId>org.apache.hadoop</groupId>
268
			<artifactId>hadoop-hdfs</artifactId>
269
			<version>${iis.hadoop.hdfs.version}</version>
270
			<type>test-jar</type>
271
			<scope>test</scope>
272
		</dependency>
273
		<dependency>
274
			<groupId>org.apache.hadoop</groupId>
275
			<artifactId>hadoop-test</artifactId>
276
			<version>${iis.hadoop.test.version}</version>
277
			<scope>test</scope>
278
		</dependency>
279
		<dependency>
280
			<groupId>org.apache.hadoop</groupId>
281
			<artifactId>hadoop-common</artifactId>
282
			<version>${iis.hadoop.common.version}</version>
283
			<type>test-jar</type>
284
			<scope>test</scope>
285
		</dependency>
286
	</dependencies>
287
	<build>
288
		<plugins>
289
			<!-- Plugin that generates Java classes from Avro schemas -->
290
			<plugin>
291
				<groupId>org.apache.avro</groupId>
292
				<artifactId>avro-maven-plugin</artifactId>
293
				<executions>
294
					<execution>
295
						<phase>generate-test-sources</phase>
296
						<goals>
297
							<goal>schema</goal>
298
							<goal>idl-protocol</goal>
299
						</goals>
300
						<configuration>
301
							<sourceDirectory>${project.basedir}/src/test/resources/eu/dnetlib/iis/mainworkflows/schemas</sourceDirectory>
302
							<outputDirectory>${project.basedir}/target/generated-sources/java/</outputDirectory>
303
						</configuration>
304
					</execution>
305
				</executions>
306
			</plugin>
307
			<!-- This plugin makes the Maven->Update Project Configuration 
308
			not forget about the "target/generated-sources/java" source path-->
309
 
310
			<plugin>
311
			    <groupId>org.codehaus.mojo</groupId>
312
			    <artifactId>build-helper-maven-plugin</artifactId>
313
			    <version>1.8</version>
314
			    <executions>
315
			        <execution>
316
			            <id>add-test-source</id>
317
			            <phase>generate-test-sources</phase>
318
			            <goals>
319
			                <goal>add-test-source</goal>
320
			            </goals>
321
			            <configuration>
322
			                <sources>
323
			                    <source>${project.build.directory}/generated-sources/java/</source>
324
			                </sources>
325
			            </configuration>
326
			        </execution>
327
			    </executions>
328
			 </plugin>
329
		</plugins>
330
		<pluginManagement>
331

    
332

    
333
		<plugins>
334
			<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
335
			<plugin>
336
				<groupId>org.eclipse.m2e</groupId>
337
				<artifactId>lifecycle-mapping</artifactId>
338
				<version>1.0.0</version>
339
				<configuration>
340
					<lifecycleMappingMetadata>
341
						<pluginExecutions>
342
							<pluginExecution>
343
								<pluginExecutionFilter>
344
									<groupId>org.apache.avro</groupId>
345
									<artifactId>
346
										avro-maven-plugin
347
									</artifactId>
348
									<versionRange>
349
										[1.7.3,)
350
									</versionRange>
351
									<goals>
352
										<goal>idl-protocol</goal>
353
										<goal>schema</goal>
354
									</goals>
355
								</pluginExecutionFilter>
356
								<action>
357
									<ignore />
358
								</action>
359
							</pluginExecution>
360
							<pluginExecution>
361
								<pluginExecutionFilter>
362
									<groupId>org.codehaus.mojo</groupId>
363
									<artifactId>
364
										build-helper-maven-plugin
365
									</artifactId>
366
									<versionRange>[1.7,)</versionRange>
367
									<goals>
368
										<goal>add-test-source</goal>
369
									</goals>
370
								</pluginExecutionFilter>
371
								<action>
372
									<ignore />
373
								</action>
374
							</pluginExecution>
375
						</pluginExecutions>
376
					</lifecycleMappingMetadata>
377
				</configuration>
378
			</plugin>
379
		</plugins>
380
		</pluginManagement>
381
	</build>
382
</project>
(5-5/5)