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

    
315

    
316
		<plugins>
317
			<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
318
			<plugin>
319
				<groupId>org.eclipse.m2e</groupId>
320
				<artifactId>lifecycle-mapping</artifactId>
321
				<version>1.0.0</version>
322
				<configuration>
323
					<lifecycleMappingMetadata>
324
						<pluginExecutions>
325
							<pluginExecution>
326
								<pluginExecutionFilter>
327
									<groupId>org.apache.avro</groupId>
328
									<artifactId>
329
										avro-maven-plugin
330
									</artifactId>
331
									<versionRange>
332
										[1.7.3,)
333
									</versionRange>
334
									<goals>
335
										<goal>idl-protocol</goal>
336
										<goal>schema</goal>
337
									</goals>
338
								</pluginExecutionFilter>
339
								<action>
340
									<ignore></ignore>
341
								</action>
342
							</pluginExecution>
343
							<pluginExecution>
344
								<pluginExecutionFilter>
345
									<groupId>org.codehaus.mojo</groupId>
346
									<artifactId>
347
										build-helper-maven-plugin
348
									</artifactId>
349
									<versionRange>[1.7,)</versionRange>
350
									<goals>
351
										<goal>add-test-source</goal>
352
									</goals>
353
								</pluginExecutionFilter>
354
								<action>
355
									<ignore></ignore>
356
								</action>
357
							</pluginExecution>
358
						</pluginExecutions>
359
					</lifecycleMappingMetadata>
360
				</configuration>
361
			</plugin>
362
		</plugins>
363
		</pluginManagement>
364
	</build>
365
	<repositories>
366
		<repository>
367
			<id>cloudera</id>
368
			<name>Cloudera Repository</name>
369
			<url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
370
			<releases>
371
				<enabled>true</enabled>
372
			</releases>
373
			<snapshots>
374
				<enabled>false</enabled>
375
			</snapshots>
376
		</repository>
377
	</repositories>
378
</project>
(3-3/3)