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

    
325

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