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.hadoop</groupId>
171
			<artifactId>hadoop-hdfs</artifactId>
172
			<version>${iis.hadoop.hdfs.version}</version>
173
			<scope>provided</scope>
174
			<exclusions>
175
				<!-- has to be excluded explicitly due to the missing 
176
				org.apache.jasper.Constants.IS_SECURITY_ENABLED field. 
177
				Otherwise tests fail. -->
178
				<exclusion>
179
					<groupId>tomcat</groupId>
180
					<artifactId>jasper-runtime</artifactId>
181
				</exclusion>
182
			</exclusions>
183
		</dependency>
184
		<dependency>
185
			<groupId>org.apache.hbase</groupId>
186
			<artifactId>${iis.hbase.artifactid}</artifactId>
187
			<version>${iis.hbase.version}</version>
188
			<!-- hbase-client does not seem to be provided on cdh5 cluster -->
189
			<!-- 
190
			<scope>provided</scope>
191
			 -->
192
			<exclusions>
193
				<exclusion>
194
					<groupId>org.mortbay.jetty</groupId>
195
					<artifactId>servlet-api-2.5</artifactId>
196
				</exclusion>
197
				<exclusion>
198
					<groupId>org.mortbay.jetty</groupId>
199
					<artifactId>jsp-api-2.1</artifactId>
200
				</exclusion>
201
			</exclusions>
202
		</dependency>
203
		
204
		<dependency>
205
			<groupId>eu.dnetlib</groupId>
206
			<artifactId>icm-iis-core</artifactId>
207
			<version>[1.0.0,2.0.0)</version>
208
			<classifier>tests</classifier>
209
			<scope>test</scope>
210
		</dependency>
211
		
212
		<dependency>
213
			<groupId>commons-io</groupId>
214
			<artifactId>commons-io</artifactId>
215
			<version>2.1</version>
216
		</dependency>
217
		
218
		<!-- incompatible version is conveyed by icm-iis-citationmatching -->
219
		<!-- unfortunatelly it adds JobACLsManager which breaks dependancy -->
220
		<!-- 
221
		<dependency>
222
            <groupId>org.apache.hadoop</groupId>
223
            <artifactId>hadoop-client</artifactId>
224
            <version>${iis.hadoop.version}</version>
225
        </dependency>
226
		 -->
227
		<!-- Needed by Oozie tests { -->
228
		<dependency>
229
			<groupId>org.apache.hadoop</groupId>
230
			<artifactId>hadoop-common</artifactId>
231
			<version>${iis.hadoop.common.version}</version>
232
			<scope>test</scope>
233
		</dependency>
234
		<dependency>
235
			<groupId>org.apache.oozie</groupId>
236
			<artifactId>oozie-core</artifactId>
237
			<version>${iis.oozie.version}</version>
238
			<type>test-jar</type>
239
			<scope>test</scope>
240
			<exclusions>
241
				<exclusion>
242
					<groupId>javax.servlet.jsp</groupId>
243
					<artifactId>jsp-api</artifactId>
244
				</exclusion>
245
			</exclusions>
246
		</dependency>
247
		<!-- PigMain was moved to oozie-sharelib-pig since cdh4.3.1 -->
248
		<dependency>
249
			<groupId>org.apache.oozie</groupId>
250
			<artifactId>oozie-sharelib-pig</artifactId>
251
			<version>${iis.oozie.version}</version>
252
			<scope>test</scope>
253
		</dependency>
254
		<!-- StreamingMain was moved to oozie-sharelib-pig since cdh4.3.1 -->
255
		<dependency>
256
			<groupId>org.apache.oozie</groupId>
257
			<artifactId>oozie-sharelib-streaming</artifactId>
258
			<version>${iis.oozie.version}</version>
259
			<scope>test</scope>
260
		</dependency>
261
		<dependency>
262
			<groupId>org.apache.hadoop</groupId>
263
			<artifactId>hadoop-hdfs</artifactId>
264
			<version>${iis.hadoop.hdfs.version}</version>
265
			<type>test-jar</type>
266
			<scope>test</scope>
267
		</dependency>
268
		<dependency>
269
			<groupId>org.apache.hadoop</groupId>
270
			<artifactId>hadoop-test</artifactId>
271
			<version>${iis.hadoop.test.version}</version>
272
			<scope>test</scope>
273
		</dependency>
274
		<dependency>
275
			<groupId>org.apache.hadoop</groupId>
276
			<artifactId>hadoop-common</artifactId>
277
			<version>${iis.hadoop.common.version}</version>
278
			<type>test-jar</type>
279
			<scope>test</scope>
280
		</dependency>
281
	</dependencies>
282
	<build>
283
		<plugins>
284
			<!-- Plugin that generates Java classes from Avro schemas -->
285
			<plugin>
286
				<groupId>org.apache.avro</groupId>
287
				<artifactId>avro-maven-plugin</artifactId>
288
				<executions>
289
					<execution>
290
						<phase>generate-test-sources</phase>
291
						<goals>
292
							<goal>schema</goal>
293
							<goal>idl-protocol</goal>
294
						</goals>
295
						<configuration>
296
							<sourceDirectory>${project.basedir}/src/test/resources/eu/dnetlib/iis/mainworkflows/schemas</sourceDirectory>
297
							<outputDirectory>${project.basedir}/target/generated-sources/java/</outputDirectory>
298
						</configuration>
299
					</execution>
300
				</executions>
301
			</plugin>
302
			<!-- This plugin makes the Maven->Update Project Configuration 
303
			not forget about the "target/generated-sources/java" source path-->
304
 
305
			<plugin>
306
			    <groupId>org.codehaus.mojo</groupId>
307
			    <artifactId>build-helper-maven-plugin</artifactId>
308
			    <version>1.8</version>
309
			    <executions>
310
			        <execution>
311
			            <id>add-test-source</id>
312
			            <phase>generate-test-sources</phase>
313
			            <goals>
314
			                <goal>add-test-source</goal>
315
			            </goals>
316
			            <configuration>
317
			                <sources>
318
			                    <source>${project.build.directory}/generated-sources/java/</source>
319
			                </sources>
320
			            </configuration>
321
			        </execution>
322
			    </executions>
323
			 </plugin>
324
		</plugins>
325
		<pluginManagement>
326

    
327

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