Project

General

Profile

1 39906 eri.katsar
<?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 41816 eri.katsar
         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</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 39906 eri.katsar
14 41816 eri.katsar
    <!-- 	REMOVE BEFORE DEPLOYMENT -->
15
    <properties>
16
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17
        <iis.hadoop.frontend.home.dir>home</iis.hadoop.frontend.home.dir>
18 39906 eri.katsar
19 41816 eri.katsar
        <!-- CNR CLUSTER PROPS-->
20
        <!--		<iis.hadoop.frontend.host.name>oozie.t.hadoop.research-infrastructures.eu  </iis.hadoop.frontend.host.name>
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 39906 eri.katsar
25 41816 eri.katsar
        <queueName>default</queueName>
26 39906 eri.katsar
27 41816 eri.katsar
        <!-- DM CLUSTER PROPS-->
28
        <iis.hadoop.frontend.host.name>gateway.hadoop.dm.openaire.eu</iis.hadoop.frontend.host.name>
29
        <oozieServiceLoc>http://oozie.hadoop.dm.openaire.eu:11000/oozie</oozieServiceLoc>
30
        <nameNode>hdfs://dm-cluster-nn</nameNode>
31
        <jobTracker>dm-cluster-jt</jobTracker>
32 39906 eri.katsar
33 41816 eri.katsar
        <!-- IIS CLUSTER PROPS -->
34 39906 eri.katsar
35 41816 eri.katsar
        <!--  <iis.hadoop.frontend.host.name>oozie.hadoop.iis.openaire.eu</iis.hadoop.frontend.host.name>
36
                       <oozieServiceLoc>http://oozie.hadoop.iis.openaire.eu:11000/oozie</oozieServiceLoc>
37
                        <nameNode>hdfs://iis-cluster-nn</nameNode>
38
                        <jobTracker>iis-cluster-jt</jobTracker>-->
39 39906 eri.katsar
40 41816 eri.katsar
    </properties>
41
    <dependencies>
42
        <dependency>
43
            <groupId>eu.dnetlib</groupId>
44
            <artifactId>dnet-openaire-stats</artifactId>
45
            <version>1.0.0-SNAPSHOT</version>
46
        </dependency>
47 41679 eri.katsar
48 41816 eri.katsar
        <dependency>
49
            <groupId>eu.dnetlib</groupId>
50
            <artifactId>icm-iis-core</artifactId>
51
            <version>1.0.0</version>
52
        </dependency>
53 39906 eri.katsar
54 41816 eri.katsar
        <dependency>
55
            <groupId>org.apache.hadoop</groupId>
56
            <artifactId>hadoop-common</artifactId>
57
            <version>${iis.hadoop.common.version}</version>
58
            <scope>provided</scope>
59
        </dependency>
60
        <dependency>
61
            <groupId>org.apache.oozie</groupId>
62
            <artifactId>oozie-core</artifactId>
63
            <version>${iis.oozie.version}</version>
64
            <scope>provided</scope>
65
        </dependency>
66 39906 eri.katsar
67 41816 eri.katsar
        <!-- StreamingMain was moved to oozie-sharelib-pig since cdh4.3.1 -->
68
        <dependency>
69
            <groupId>org.apache.oozie</groupId>
70
            <artifactId>oozie-sharelib-streaming</artifactId>
71
            <version>${iis.oozie.version}</version>
72
            <scope>test</scope>
73
        </dependency>
74
        <!-- Needed by Oozie tests { -->
75
        <dependency>
76
            <groupId>org.apache.oozie</groupId>
77
            <artifactId>oozie-core</artifactId>
78
            <version>${iis.oozie.version}</version>
79
            <type>test-jar</type>
80
            <scope>test</scope>
81
        </dependency>
82
        <dependency>
83
            <groupId>org.apache.hadoop</groupId>
84
            <artifactId>hadoop-hdfs</artifactId>
85
            <version>${iis.hadoop.hdfs.version}</version>
86
            <scope>test</scope>
87
        </dependency>
88
        <dependency>
89
            <groupId>org.apache.hadoop</groupId>
90
            <artifactId>hadoop-hdfs</artifactId>
91
            <version>${iis.hadoop.hdfs.version}</version>
92
            <type>test-jar</type>
93
            <scope>test</scope>
94
        </dependency>
95
        <dependency>
96
            <groupId>org.apache.hadoop</groupId>
97
            <artifactId>hadoop-test</artifactId>
98
            <version>${iis.hadoop.test.version}</version>
99
            <scope>test</scope>
100
        </dependency>
101
        <dependency>
102
            <groupId>org.apache.hadoop</groupId>
103
            <artifactId>hadoop-common</artifactId>
104
            <version>${iis.hadoop.common.version}</version>
105
            <type>test-jar</type>
106
            <scope>test</scope>
107
        </dependency>
108
        <!-- Needed by Oozie tests } -->
109 39906 eri.katsar
110 41816 eri.katsar
        <!-- Needed by our Hadoop Streaming workflow node { -->
111
        <dependency>
112
            <groupId>eu.dnetlib</groupId>
113
            <artifactId>icm-iis-3rdparty-avro-json</artifactId>
114
            <version>1.0</version>
115
        </dependency>
116
        <dependency>
117
            <groupId>org.apache.hadoop</groupId>
118
            <artifactId>hadoop-streaming</artifactId>
119
            <version>${iis.hadoop.streaming.version}</version>
120
        </dependency>
121
        <!-- Needed by our Hadoop Streaming workflow node } -->
122
        <dependency>
123
            <groupId>org.apache.hive</groupId>
124
            <artifactId>hive-serde</artifactId>
125
            <version>0.9.0-cdh4.1.2</version>
126
            <scope>test</scope>
127
        </dependency>
128
        <dependency>
129
            <groupId>com.cloudera.cdh</groupId>
130
            <artifactId>hive-root</artifactId>
131
            <version>0.9.0-cdh4.1.2</version>
132
            <type>pom</type>
133
            <scope>test</scope>
134
        </dependency>
135
        <dependency>
136
            <groupId>org.apache.hive</groupId>
137
            <artifactId>hive-cli</artifactId>
138
            <version>0.9.0-cdh4.1.2</version>
139
            <scope>test</scope>
140
            <type>jar</type>
141
        </dependency>
142
        <dependency>
143
            <groupId>org.apache.hive</groupId>
144
            <artifactId>hive-exec</artifactId>
145
            <version>0.9.0-cdh4.1.2</version>
146
            <scope>test</scope>
147
            <type>jar</type>
148
        </dependency>
149
        <dependency>
150
            <groupId>org.apache.hive</groupId>
151
            <artifactId>hive-builtins</artifactId>
152
            <version>0.9.0-cdh4.1.2</version>
153
            <scope>test</scope>
154
            <type>jar</type>
155
        </dependency>
156
        <dependency>
157
            <groupId>eu.dnetlib</groupId>
158
            <artifactId>icm-iis-common</artifactId>
159
            <version>1.0.0</version>
160
            <scope>test</scope>
161
            <type>jar</type>
162
        </dependency>
163
        <dependency>
164
            <groupId>postgresql</groupId>
165
            <artifactId>postgresql</artifactId>
166
            <version>9.1-901.jdbc4</version>
167
        </dependency>
168
169
        <dependency>
170
            <groupId>eu.dnetlib</groupId>
171
            <artifactId>dnet-openaire-usage-stats</artifactId>
172
            <version>0.0.1-SNAPSHOT</version>
173
        </dependency>
174
    </dependencies>
175
176
177
    <build>
178
        <plugins>
179
180
            <plugin>
181
                <groupId>org.codehaus.mojo</groupId>
182
                <artifactId>build-helper-maven-plugin</artifactId>
183
                <executions>
184
                    <execution>
185
                        <id>add-source</id>
186
                        <phase>generate-sources</phase>
187
                        <goals>
188
                            <goal>add-source</goal>
189
                        </goals>
190
                        <configuration>
191
                            <sources>
192
                                <source>${project.build.directory}/generated-sources/java/</source>
193
                            </sources>
194
                        </configuration>
195
                    </execution>
196
                </executions>
197
            </plugin>
198
        </plugins>
199
        <pluginManagement>
200
            <plugins>
201
                <!--This plugin's configuration is used to store Eclipse m2e settings
202
                    only. It has no influence on the Maven build itself. -->
203
                <plugin>
204
                    <groupId>org.eclipse.m2e</groupId>
205
                    <artifactId>lifecycle-mapping</artifactId>
206
                    <version>1.0.0</version>
207
                    <configuration>
208
                        <lifecycleMappingMetadata>
209
                            <pluginExecutions>
210
                                <pluginExecution>
211
                                    <pluginExecutionFilter>
212
                                        <groupId>
213
                                            org.apache.avro
214
                                        </groupId>
215
                                        <artifactId>
216
                                            avro-maven-plugin
217
                                        </artifactId>
218
                                        <versionRange>
219
                                            [1.7.4,)
220
                                        </versionRange>
221
                                        <goals>
222
                                            <groupId>eu.dnetlib</groupId>
223
                                            <artifactId>dnet-openaire-stats</artifactId>
224
                                            <version>1.0.0-SNAPSHOT</version>
225
                                            <goal>idl-protocol</goal>
226
                                            <goal>schema</goal>
227
                                        </goals>
228
                                    </pluginExecutionFilter>
229
                                    <action>
230
                                        <ignore></ignore>
231
                                    </action>
232
                                </pluginExecution>
233
                                <pluginExecution>
234
                                    <pluginExecutionFilter>
235
                                        <groupId>
236
                                            org.codehaus.mojo
237
                                        </groupId>
238
                                        <artifactId>
239
                                            build-helper-maven-plugin
240
                                        </artifactId>
241
                                        <versionRange>
242
                                            [1.7,)
243
                                        </versionRange>
244
                                        <goals>
245
                                            <goal>add-source</goal>
246
                                        </goals>
247
                                    </pluginExecutionFilter>
248
                                    <action>
249
                                        <ignore></ignore>
250
                                    </action>
251
                                </pluginExecution>
252
                            </pluginExecutions>
253
                        </lifecycleMappingMetadata>
254
                    </configuration>
255
                </plugin>
256
257
                <plugin>
258
                    <groupId>org.apache.maven.plugins</groupId>
259
                    <artifactId>maven-compiler-plugin</artifactId>
260
                    <version>3.1</version>
261
                    <!--<configuration>
262
                        <source>1.6</source>
263
                        <target>1.6</target>
264
                        <executable>${JAVA_HOME}/bin</executable>
265
                    </configuration>-->
266
                </plugin>
267
268
            </plugins>
269
        </pluginManagement>
270
    </build>
271
    <repositories>
272
        <repository>
273
            <id>cloudera</id>
274
            <name>Cloudera Repository</name>
275
            <url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
276
            <releases>
277
                <enabled>true</enabled>
278
            </releases>
279
            <snapshots>
280
                <enabled>false</enabled>
281
            </snapshots>
282
        </repository>
283
    </repositories>
284 39906 eri.katsar
</project>