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

    
303

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