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>dnet-openaire-stats-workflow</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
|
|
17
|
<iis.hadoop.frontend.user.name>eri.katsari </iis.hadoop.frontend.user.name>
|
18
|
<iis.hadoop.frontend.home.dir>home </iis.hadoop.frontend.home.dir>
|
19
|
<iis.hadoop.frontend.host.name>oozie.t.hadoop.research-infrastructures.eu </iis.hadoop.frontend.host.name>
|
20
|
<DjobTracker>nmis-hadoop-jt</DjobTracker>
|
21
|
<oozieServiceLoc> http://oozie.t.hadoop.research-infrastructures.eu:11000/oozie</oozieServiceLoc>
|
22
|
<nameNode>hdfs://nmis-hadoop-cluster</nameNode>
|
23
|
<jobTracker> nmis-hadoop-jt</jobTracker>
|
24
|
<queueName>default</queueName>
|
25
|
<user.name>eri.katsari</user.name>
|
26
|
</properties>
|
27
|
<dependencies>
|
28
|
|
29
|
<dependency>
|
30
|
<groupId>eu.dnetlib</groupId>
|
31
|
<artifactId>dnet-openaire-stats</artifactId>
|
32
|
<version>0.0.1-SNAPSHOT</version>
|
33
|
</dependency>
|
34
|
<dependency>
|
35
|
<groupId>eu.dnetlib</groupId>
|
36
|
<artifactId>icm-iis-import</artifactId>
|
37
|
|
38
|
<version>1.0.0-SNAPSHOT</version>
|
39
|
</dependency>
|
40
|
<dependency>
|
41
|
<groupId>eu.dnetlib</groupId>
|
42
|
<artifactId>icm-iis-schemas</artifactId>
|
43
|
<version>1.0.0-SNAPSHOT</version>
|
44
|
</dependency>
|
45
|
<dependency>
|
46
|
<groupId>eu.dnetlib</groupId>
|
47
|
<artifactId>icm-iis-core</artifactId>
|
48
|
<version>1.0.0-SNAPSHOT</version>
|
49
|
</dependency>
|
50
|
<dependency>
|
51
|
<groupId>eu.dnetlib</groupId>
|
52
|
<artifactId>icm-iis-core</artifactId>
|
53
|
<version>1.0.0-SNAPSHOT</version>
|
54
|
<type>test-jar</type>
|
55
|
<scope>test</scope>
|
56
|
</dependency>
|
57
|
<dependency>
|
58
|
<groupId>com.google.protobuf</groupId>
|
59
|
<artifactId>protobuf-java</artifactId>
|
60
|
<version>2.4.1</version>
|
61
|
</dependency>
|
62
|
<dependency>
|
63
|
<groupId>org.apache.hadoop</groupId>
|
64
|
<artifactId>hadoop-common</artifactId>
|
65
|
<version>${iis.hadoop.common.version}</version>
|
66
|
<scope>provided</scope>
|
67
|
</dependency>
|
68
|
<dependency>
|
69
|
<groupId>org.apache.oozie</groupId>
|
70
|
<artifactId>oozie-core</artifactId>
|
71
|
<version>${iis.oozie.version}</version>
|
72
|
<scope>provided</scope>
|
73
|
</dependency>
|
74
|
<!-- PigMain was moved to oozie-sharelib-pig since cdh4.3.1 -->
|
75
|
<dependency>
|
76
|
<groupId>org.apache.oozie</groupId>
|
77
|
<artifactId>oozie-sharelib-pig</artifactId>
|
78
|
<version>${iis.oozie.version}</version>
|
79
|
<scope>test</scope>
|
80
|
</dependency>
|
81
|
<!-- StreamingMain was moved to oozie-sharelib-pig since cdh4.3.1 -->
|
82
|
<dependency>
|
83
|
<groupId>org.apache.oozie</groupId>
|
84
|
<artifactId>oozie-sharelib-streaming</artifactId>
|
85
|
<version>${iis.oozie.version}</version>
|
86
|
<scope>test</scope>
|
87
|
</dependency>
|
88
|
<!-- Needed by Oozie tests { -->
|
89
|
<dependency>
|
90
|
<groupId>org.apache.oozie</groupId>
|
91
|
<artifactId>oozie-core</artifactId>
|
92
|
<version>${iis.oozie.version}</version>
|
93
|
<type>test-jar</type>
|
94
|
<scope>test</scope>
|
95
|
</dependency>
|
96
|
<dependency>
|
97
|
<groupId>org.apache.hadoop</groupId>
|
98
|
<artifactId>hadoop-hdfs</artifactId>
|
99
|
<version>${iis.hadoop.hdfs.version}</version>
|
100
|
<scope>test</scope>
|
101
|
</dependency>
|
102
|
<dependency>
|
103
|
<groupId>org.apache.hadoop</groupId>
|
104
|
<artifactId>hadoop-hdfs</artifactId>
|
105
|
<version>${iis.hadoop.hdfs.version}</version>
|
106
|
<type>test-jar</type>
|
107
|
<scope>test</scope>
|
108
|
</dependency>
|
109
|
<dependency>
|
110
|
<groupId>org.apache.hadoop</groupId>
|
111
|
<artifactId>hadoop-test</artifactId>
|
112
|
<version>${iis.hadoop.test.version}</version>
|
113
|
<scope>test</scope>
|
114
|
</dependency>
|
115
|
<dependency>
|
116
|
<groupId>org.apache.hadoop</groupId>
|
117
|
<artifactId>hadoop-common</artifactId>
|
118
|
<version>${iis.hadoop.common.version}</version>
|
119
|
<type>test-jar</type>
|
120
|
<scope>test</scope>
|
121
|
</dependency>
|
122
|
<!-- Needed by Oozie tests } -->
|
123
|
<!-- Needed to run Pig jobs { -->
|
124
|
<dependency>
|
125
|
<groupId>org.apache.pig</groupId>
|
126
|
<artifactId>pig</artifactId>
|
127
|
<version>${iis.pig.version}</version>
|
128
|
<scope>test</scope>
|
129
|
</dependency>
|
130
|
<dependency>
|
131
|
<groupId>org.apache.pig</groupId>
|
132
|
<artifactId>pigunit</artifactId>
|
133
|
<version>${iis.pig.version}</version>
|
134
|
</dependency>
|
135
|
<dependency>
|
136
|
<groupId>eu.dnetlib</groupId>
|
137
|
<artifactId>icm-iis-3rdparty-pig-avrostorage</artifactId>
|
138
|
<version>1.0.0-SNAPSHOT</version>
|
139
|
<scope>test</scope>
|
140
|
<type>jar</type>
|
141
|
</dependency>
|
142
|
<dependency>
|
143
|
<groupId>org.antlr</groupId>
|
144
|
<artifactId>antlr-runtime</artifactId>
|
145
|
<version>3.4</version>
|
146
|
</dependency>
|
147
|
<!-- Needed to run Pig jobs } -->
|
148
|
<dependency>
|
149
|
<groupId>junit</groupId>
|
150
|
<artifactId>junit</artifactId>
|
151
|
<version>4.10</version>
|
152
|
<scope>test</scope>
|
153
|
</dependency>
|
154
|
<!-- Needed by Avro { -->
|
155
|
<dependency>
|
156
|
<groupId>org.apache.avro</groupId>
|
157
|
<artifactId>avro</artifactId>
|
158
|
<version>${iis.avro.version}</version>
|
159
|
</dependency>
|
160
|
<dependency>
|
161
|
<groupId>org.apache.avro</groupId>
|
162
|
<artifactId>avro-mapred</artifactId>
|
163
|
<version>${iis.avro.version}</version>
|
164
|
<classifier>hadoop2</classifier>
|
165
|
</dependency>
|
166
|
|
167
|
<!-- It seems that this dependency is needed, if it is not here, running
|
168
|
Oozie tests of Avro-based map-reduce ends up with "java.lang.NoClassDefFoundError"
|
169
|
exception and statement that "Paranamer" class is missing. -->
|
170
|
<dependency>
|
171
|
<groupId>com.thoughtworks.paranamer</groupId>
|
172
|
<artifactId>paranamer</artifactId>
|
173
|
<version>2.5.2</version>
|
174
|
</dependency>
|
175
|
<!-- Needed by Avro } -->
|
176
|
<!-- Needed by our Hadoop Streaming workflow node { -->
|
177
|
<dependency>
|
178
|
<groupId>eu.dnetlib</groupId>
|
179
|
<artifactId>icm-iis-3rdparty-avro-json</artifactId>
|
180
|
<version>1.0-SNAPSHOT</version>
|
181
|
</dependency>
|
182
|
<dependency>
|
183
|
<groupId>org.apache.hadoop</groupId>
|
184
|
<artifactId>hadoop-streaming</artifactId>
|
185
|
<version>${iis.hadoop.streaming.version}</version>
|
186
|
</dependency>
|
187
|
<!-- Needed by our Hadoop Streaming workflow node } -->
|
188
|
<dependency>
|
189
|
<groupId>org.apache.hive</groupId>
|
190
|
<artifactId>hive-serde</artifactId>
|
191
|
<version>0.9.0-cdh4.1.2</version>
|
192
|
<scope>test</scope>
|
193
|
</dependency>
|
194
|
<dependency>
|
195
|
<groupId>com.cloudera.cdh</groupId>
|
196
|
<artifactId>hive-root</artifactId>
|
197
|
<version>0.9.0-cdh4.1.2</version>
|
198
|
<type>pom</type>
|
199
|
<scope>test</scope>
|
200
|
</dependency>
|
201
|
<dependency>
|
202
|
<groupId>org.apache.hive</groupId>
|
203
|
<artifactId>hive-cli</artifactId>
|
204
|
<version>0.9.0-cdh4.1.2</version>
|
205
|
<scope>test</scope>
|
206
|
<type>jar</type>
|
207
|
</dependency>
|
208
|
<dependency>
|
209
|
<groupId>org.apache.hive</groupId>
|
210
|
<artifactId>hive-exec</artifactId>
|
211
|
<version>0.9.0-cdh4.1.2</version>
|
212
|
<scope>test</scope>
|
213
|
<type>jar</type>
|
214
|
</dependency>
|
215
|
<dependency>
|
216
|
<groupId>org.apache.hive</groupId>
|
217
|
<artifactId>hive-builtins</artifactId>
|
218
|
<version>0.9.0-cdh4.1.2</version>
|
219
|
<scope>test</scope>
|
220
|
<type>jar</type>
|
221
|
</dependency>
|
222
|
<dependency>
|
223
|
<groupId>eu.dnetlib</groupId>
|
224
|
<artifactId>icm-iis-common</artifactId>
|
225
|
<version>1.0.0-SNAPSHOT</version>
|
226
|
<scope>test</scope>
|
227
|
<type>jar</type>
|
228
|
</dependency>
|
229
|
</dependencies>
|
230
|
<build>
|
231
|
<plugins>
|
232
|
|
233
|
<!-- <plugin> -->
|
234
|
<!-- <groupId>org.apache.maven.plugins</groupId> -->
|
235
|
<!-- <artifactId>maven-compiler-plugin</artifactId> -->
|
236
|
<!-- <version>3.1</version> -->
|
237
|
<!-- <configuration> -->
|
238
|
<!-- <source>1.6</source> -->
|
239
|
<!-- <target>1.6</target> -->
|
240
|
<!-- </configuration> -->
|
241
|
<!-- </plugin> -->
|
242
|
|
243
|
<!-- Plugin that generates Java classes from Avro schemas -->
|
244
|
<plugin>
|
245
|
<groupId>org.apache.avro</groupId>
|
246
|
<artifactId>avro-maven-plugin</artifactId>
|
247
|
<version>${iis.avro.version}</version>
|
248
|
<executions>
|
249
|
<execution>
|
250
|
<id>test-schemas</id>
|
251
|
<phase>generate-sources</phase>
|
252
|
<goals>
|
253
|
<goal>schema</goal>
|
254
|
<goal>idl-protocol</goal>
|
255
|
</goals>
|
256
|
<configuration>
|
257
|
<sourceDirectory>${project.basedir}/src/test/resources/</sourceDirectory>
|
258
|
<outputDirectory>${project.basedir}/target/generated-sources/java/</outputDirectory>
|
259
|
</configuration>
|
260
|
</execution>
|
261
|
<execution>
|
262
|
<id>src-schemas</id>
|
263
|
<phase>generate-sources</phase>
|
264
|
<goals>
|
265
|
<goal>schema</goal>
|
266
|
<goal>idl-protocol</goal>
|
267
|
</goals>
|
268
|
<configuration>
|
269
|
<sourceDirectory>${project.basedir}/src/main/resources/</sourceDirectory>
|
270
|
<outputDirectory>${project.basedir}/target/generated-sources/java/</outputDirectory>
|
271
|
</configuration>
|
272
|
</execution>
|
273
|
</executions>
|
274
|
</plugin>
|
275
|
<!-- This plugin makes the Maven->Update Project Configuration not forget
|
276
|
about the "target/generated-sources/java" source path -->
|
277
|
<plugin>
|
278
|
<groupId>org.codehaus.mojo</groupId>
|
279
|
<artifactId>build-helper-maven-plugin</artifactId>
|
280
|
<executions>
|
281
|
<execution>
|
282
|
<id>add-source</id>
|
283
|
<phase>generate-sources</phase>
|
284
|
<goals>
|
285
|
<goal>add-source</goal>
|
286
|
</goals>
|
287
|
<configuration>
|
288
|
<sources>
|
289
|
<source>${project.build.directory}/generated-sources/java/</source>
|
290
|
</sources>
|
291
|
</configuration>
|
292
|
</execution>
|
293
|
</executions>
|
294
|
</plugin>
|
295
|
</plugins>
|
296
|
<pluginManagement>
|
297
|
<plugins>
|
298
|
<!--This plugin's configuration is used to store Eclipse m2e settings
|
299
|
only. It has no influence on the Maven build itself. -->
|
300
|
<plugin>
|
301
|
<groupId>org.eclipse.m2e</groupId>
|
302
|
<artifactId>lifecycle-mapping</artifactId>
|
303
|
<version>1.0.0</version>
|
304
|
<configuration>
|
305
|
<lifecycleMappingMetadata>
|
306
|
<pluginExecutions>
|
307
|
<pluginExecution>
|
308
|
<pluginExecutionFilter>
|
309
|
<groupId>
|
310
|
org.apache.avro
|
311
|
</groupId>
|
312
|
<artifactId>
|
313
|
avro-maven-plugin
|
314
|
</artifactId>
|
315
|
<versionRange>
|
316
|
[1.7.4,)
|
317
|
</versionRange>
|
318
|
<goals>
|
319
|
<groupId>eu.dnetlib</groupId>
|
320
|
<artifactId>dnet-openaire-stats</artifactId>
|
321
|
<version>0.0.1-SNAPSHOT</version>
|
322
|
<goal>idl-protocol</goal>
|
323
|
<goal>schema</goal>
|
324
|
</goals>
|
325
|
</pluginExecutionFilter>
|
326
|
<action>
|
327
|
<ignore></ignore>
|
328
|
</action>
|
329
|
</pluginExecution>
|
330
|
<pluginExecution>
|
331
|
<pluginExecutionFilter>
|
332
|
<groupId>
|
333
|
org.codehaus.mojo
|
334
|
</groupId>
|
335
|
<artifactId>
|
336
|
build-helper-maven-plugin
|
337
|
</artifactId>
|
338
|
<versionRange>
|
339
|
[1.7,)
|
340
|
</versionRange>
|
341
|
<goals>
|
342
|
<goal>add-source</goal>
|
343
|
</goals>
|
344
|
</pluginExecutionFilter>
|
345
|
<action>
|
346
|
<ignore></ignore>
|
347
|
</action>
|
348
|
</pluginExecution>
|
349
|
</pluginExecutions>
|
350
|
</lifecycleMappingMetadata>
|
351
|
</configuration>
|
352
|
</plugin>
|
353
|
|
354
|
<plugin>
|
355
|
<groupId>org.apache.maven.plugins</groupId>
|
356
|
<artifactId>maven-compiler-plugin</artifactId>
|
357
|
<version>3.1</version>
|
358
|
<configuration>
|
359
|
<source>1.6</source>
|
360
|
<target>1.6</target>
|
361
|
<executable>${JAVA_HOME}/bin</executable>
|
362
|
</configuration>
|
363
|
</plugin>
|
364
|
|
365
|
</plugins>
|
366
|
</pluginManagement>
|
367
|
</build>
|
368
|
<repositories>
|
369
|
<repository>
|
370
|
<id>cloudera</id>
|
371
|
<name>Cloudera Repository</name>
|
372
|
<url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
|
373
|
<releases>
|
374
|
<enabled>true</enabled>
|
375
|
</releases>
|
376
|
<snapshots>
|
377
|
<enabled>false</enabled>
|
378
|
</snapshots>
|
379
|
</repository>
|
380
|
</repositories>
|
381
|
</project>
|