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

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