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-core-examples</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-schemas</artifactId>
21
            <version>1.0.0-SNAPSHOT</version>
22
        </dependency>
23
        <dependency>
24
            <groupId>eu.dnetlib</groupId>
25
            <artifactId>icm-iis-core</artifactId>
26
            <version>1.0.0-SNAPSHOT</version>
27
        </dependency>
28
        <dependency>
29
            <groupId>eu.dnetlib</groupId>
30
            <artifactId>icm-iis-core</artifactId>
31
            <version>1.0.0-SNAPSHOT</version>
32
            <type>test-jar</type>
33
            <scope>test</scope>
34
        </dependency>
35
        <dependency>
36
            <groupId>com.google.protobuf</groupId>
37
            <artifactId>protobuf-java</artifactId>
38
            <version>2.4.1</version>
39
        </dependency>
40
        <dependency>
41
            <groupId>org.apache.hadoop</groupId>
42
            <artifactId>hadoop-common</artifactId>
43
            <version>${iis.hadoop.common.version}</version>
44
            <scope>provided</scope>
45
        </dependency>
46
        <dependency>
47
            <groupId>org.apache.oozie</groupId>
48
            <artifactId>oozie-core</artifactId>
49
            <version>${iis.oozie.version}</version>
50
            <scope>provided</scope>
51
        </dependency>
52
        <!-- PigMain was moved to oozie-sharelib-pig since cdh4.3.1 -->
53
        <dependency>
54
            <groupId>org.apache.oozie</groupId>
55
            <artifactId>oozie-sharelib-pig</artifactId>
56
            <version>${iis.oozie.version}</version>
57
            <scope>test</scope>
58
        </dependency>
59
        <!-- StreamingMain was moved to oozie-sharelib-pig since cdh4.3.1 -->
60
        <dependency>
61
            <groupId>org.apache.oozie</groupId>
62
            <artifactId>oozie-sharelib-streaming</artifactId>
63
            <version>${iis.oozie.version}</version>
64
            <scope>test</scope>
65
        </dependency>
66
        <!-- Needed by Oozie tests { -->
67
        <dependency>
68
            <groupId>org.apache.oozie</groupId>
69
            <artifactId>oozie-core</artifactId>
70
            <version>${iis.oozie.version}</version>
71
            <type>test-jar</type>
72
            <scope>test</scope>
73
        </dependency>
74
        <dependency>
75
            <groupId>org.apache.hadoop</groupId>
76
            <artifactId>hadoop-hdfs</artifactId>
77
            <version>${iis.hadoop.hdfs.version}</version>
78
            <scope>test</scope>
79
        </dependency>
80
        <dependency>
81
            <groupId>org.apache.hadoop</groupId>
82
            <artifactId>hadoop-hdfs</artifactId>
83
            <version>${iis.hadoop.hdfs.version}</version>
84
            <type>test-jar</type>
85
            <scope>test</scope>
86
        </dependency>
87
        <dependency>
88
            <groupId>org.apache.hadoop</groupId>
89
            <artifactId>hadoop-test</artifactId>
90
            <version>${iis.hadoop.test.version}</version>
91
            <scope>test</scope>
92
        </dependency>
93
        <dependency>
94
            <groupId>org.apache.hadoop</groupId>
95
            <artifactId>hadoop-common</artifactId>
96
            <version>${iis.hadoop.common.version}</version>
97
            <type>test-jar</type>
98
            <scope>test</scope>
99
        </dependency>
100
        <!-- Needed by Oozie tests } -->
101
        <!-- Needed to run Pig jobs { -->
102
        <dependency>
103
            <groupId>org.apache.pig</groupId>
104
            <artifactId>pig</artifactId>
105
            <version>${iis.pig.version}</version>
106
            <scope>test</scope>
107
        </dependency>
108
        <dependency>
109
            <groupId>org.apache.pig</groupId>
110
            <artifactId>pigunit</artifactId>
111
            <version>${iis.pig.version}</version>
112
        </dependency>
113
        <dependency>
114
            <groupId>eu.dnetlib</groupId>
115
            <artifactId>icm-iis-3rdparty-pig-avrostorage</artifactId>
116
            <version>1.0.0-SNAPSHOT</version>
117
            <scope>test</scope>
118
            <type>jar</type>
119
        </dependency>
120
        <dependency>
121
            <groupId>org.antlr</groupId>
122
            <artifactId>antlr-runtime</artifactId>
123
            <version>3.4</version>
124
        </dependency>
125
        <!-- Needed to run Pig jobs } -->
126
        <dependency>
127
            <groupId>junit</groupId>
128
            <artifactId>junit</artifactId>
129
            <version>4.10</version>
130
            <scope>test</scope>
131
        </dependency>
132
        <!-- Needed by Avro { -->
133
        <dependency>
134
            <groupId>org.apache.avro</groupId>
135
            <artifactId>avro</artifactId>
136
            <version>${iis.avro.version}</version>
137
        </dependency>
138
        <dependency>
139
            <groupId>org.apache.avro</groupId>
140
            <artifactId>avro-mapred</artifactId>
141
            <version>${iis.avro.version}</version>
142
            <classifier>hadoop2</classifier>
143
        </dependency>
144

    
145
        <!-- It seems that this dependency is needed, if it is not here,
146
        running Oozie tests of Avro-based map-reduce ends up with
147
        "java.lang.NoClassDefFoundError" exception and statement that
148
        "Paranamer" class is missing.-->
149
        <dependency>
150
            <groupId>com.thoughtworks.paranamer</groupId>
151
            <artifactId>paranamer</artifactId>
152
            <version>2.5.2</version>
153
        </dependency>
154
        <!-- Needed by Avro } -->
155
        <!-- Needed by our Hadoop Streaming workflow node {-->
156
        <dependency>
157
            <groupId>eu.dnetlib</groupId>
158
            <artifactId>icm-iis-3rdparty-avro-json</artifactId>
159
            <version>1.0-SNAPSHOT</version>
160
        </dependency>
161
        <dependency>
162
            <groupId>org.apache.hadoop</groupId>
163
            <artifactId>hadoop-streaming</artifactId>
164
            <version>${iis.hadoop.streaming.version}</version>
165
        </dependency>
166
        <!-- Needed by our Hadoop Streaming workflow node }-->
167
        <dependency>
168
            <groupId>org.apache.hive</groupId>
169
            <artifactId>hive-serde</artifactId>
170
            <version>0.9.0-cdh4.1.2</version>
171
            <scope>test</scope>
172
        </dependency>
173
        <dependency>
174
            <groupId>com.cloudera.cdh</groupId>
175
            <artifactId>hive-root</artifactId>
176
            <version>0.9.0-cdh4.1.2</version>
177
            <type>pom</type>
178
            <scope>test</scope>
179
        </dependency>
180
        <dependency>
181
            <groupId>org.apache.hive</groupId>
182
            <artifactId>hive-cli</artifactId>
183
            <version>0.9.0-cdh4.1.2</version>
184
            <scope>test</scope>
185
            <type>jar</type>
186
        </dependency>
187
        <dependency>
188
            <groupId>org.apache.hive</groupId>
189
            <artifactId>hive-exec</artifactId>
190
            <version>0.9.0-cdh4.1.2</version>
191
            <scope>test</scope>
192
            <type>jar</type>
193
        </dependency>
194
        <dependency>
195
            <groupId>org.apache.hive</groupId>
196
            <artifactId>hive-builtins</artifactId>
197
            <version>0.9.0-cdh4.1.2</version>
198
            <scope>test</scope>
199
            <type>jar</type>
200
        </dependency>
201
        <dependency>
202
            <groupId>eu.dnetlib</groupId>
203
            <artifactId>icm-iis-common</artifactId>
204
            <version>1.0.0-SNAPSHOT</version>
205
            <scope>test</scope>
206
            <type>jar</type>
207
        </dependency>
208
    </dependencies>
209
    <build>
210
        <plugins>
211
            <!-- Plugin that generates Java classes from Avro schemas -->
212
            <plugin>
213
                <groupId>org.apache.avro</groupId>
214
                <artifactId>avro-maven-plugin</artifactId>
215
                <version>${iis.avro.version}</version>
216
                <executions>
217
                    <execution>
218
                        <id>test-schemas</id>
219
                        <phase>generate-sources</phase>
220
                        <goals>
221
                            <goal>schema</goal>
222
                            <goal>idl-protocol</goal>
223
                        </goals>
224
                        <configuration>
225
                            <sourceDirectory>${project.basedir}/src/test/resources/</sourceDirectory>
226
                            <outputDirectory>${project.basedir}/target/generated-sources/java/</outputDirectory>
227
                        </configuration>
228
                    </execution>
229
                    <execution>
230
                        <id>src-schemas</id>
231
                        <phase>generate-sources</phase>
232
                        <goals>
233
                            <goal>schema</goal>
234
                            <goal>idl-protocol</goal>
235
                        </goals>
236
                        <configuration>
237
                            <sourceDirectory>${project.basedir}/src/main/resources/</sourceDirectory>
238
                            <outputDirectory>${project.basedir}/target/generated-sources/java/</outputDirectory>
239
                        </configuration>
240
                    </execution>
241
                </executions>
242
            </plugin>
243
            <!-- This plugin makes the Maven->Update Project Configuration not forget
244
                about the "target/generated-sources/java" source path -->
245
            <plugin>
246
                <groupId>org.codehaus.mojo</groupId>
247
                <artifactId>build-helper-maven-plugin</artifactId>
248
                <executions>
249
                    <execution>
250
                        <id>add-source</id>
251
                        <phase>generate-sources</phase>
252
                        <goals>
253
                            <goal>add-source</goal>
254
                        </goals>
255
                        <configuration>
256
                            <sources>
257
                                <source>${project.build.directory}/generated-sources/java/</source>
258
                            </sources>
259
                        </configuration>
260
                    </execution>
261
                </executions>
262
            </plugin>
263
        </plugins>
264
        <pluginManagement>
265
            <plugins>
266
                <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
267
                <plugin>
268
                    <groupId>org.eclipse.m2e</groupId>
269
                    <artifactId>lifecycle-mapping</artifactId>
270
                    <version>1.0.0</version>
271
                    <configuration>
272
                        <lifecycleMappingMetadata>
273
                            <pluginExecutions>
274
                                <pluginExecution>
275
                                    <pluginExecutionFilter>
276
                                        <groupId>
277
                                            org.apache.avro
278
                                        </groupId>
279
                                        <artifactId>
280
                                            avro-maven-plugin
281
                                        </artifactId>
282
                                        <versionRange>
283
                                            [1.7.4,)
284
                                        </versionRange>
285
                                        <goals>
286
                                            <goal>idl-protocol</goal>
287
                                            <goal>schema</goal>
288
                                        </goals>
289
                                    </pluginExecutionFilter>
290
                                    <action>
291
                                        <ignore></ignore>
292
                                    </action>
293
                                </pluginExecution>
294
                                <pluginExecution>
295
                                    <pluginExecutionFilter>
296
                                        <groupId>
297
                                            org.codehaus.mojo
298
                                        </groupId>
299
                                        <artifactId>
300
                                            build-helper-maven-plugin
301
                                        </artifactId>
302
                                        <versionRange>
303
                                            [1.7,)
304
                                        </versionRange>
305
                                        <goals>
306
                                            <goal>add-source</goal>
307
                                        </goals>
308
                                    </pluginExecutionFilter>
309
                                    <action>
310
                                        <ignore></ignore>
311
                                    </action>
312
                                </pluginExecution>
313
                            </pluginExecutions>
314
                        </lifecycleMappingMetadata>
315
                    </configuration>
316
                </plugin>
317
            </plugins>
318
        </pluginManagement>
319
    </build>
320
    <repositories>
321
        <repository>
322
            <id>cloudera</id>
323
            <name>Cloudera Repository</name>
324
            <url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
325
            <releases>
326
                <enabled>true</enabled>
327
            </releases>
328
            <snapshots>
329
                <enabled>false</enabled>
330
            </snapshots>
331
        </repository>
332
    </repositories>
333
</project>
(3-3/3)