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

    
320

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