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</version>
8
    </parent>
9
    <modelVersion>4.0.0</modelVersion>
10
    <artifactId>dnet-openaire-lodexport-wf</artifactId>
11
    <packaging>jar</packaging>
12
    <version>1.0.0-SNAPSHOT</version>
13

    
14
    <!-- 	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
        <!-- CNR CLUSTER PROPS-->
19
        <!--		<iis.hadoop.frontend.host.name>oozie.t.hadoop.research-infrastructures.eu  </iis.hadoop.frontend.host.name>
20
                <oozieServiceLoc>http://oozie.t.hadoop.research-infrastructures.eu:11000/oozie</oozieServiceLoc>
21
         <nameNode>hdfs://nmis-hadoop-cluster</nameNode>
22
         <jobTracker> nmis-hadoop-jt</jobTracker> -->
23

    
24
        <queueName>default</queueName>
25

    
26
        <!-- DM CLUSTER PROPS-->
27
        <iis.hadoop.frontend.host.name>gateway.hadoop.dm.openaire.eu</iis.hadoop.frontend.host.name>
28
        <oozieServiceLoc>http://oozie.hadoop.dm.openaire.eu:11000/oozie</oozieServiceLoc>
29
        <nameNode>hdfs://dm-cluster-nn</nameNode>
30
        <jobTracker>dm-cluster-jt</jobTracker>
31

    
32
        <!-- IIS CLUSTER PROPS -->
33

    
34
        <!--  <iis.hadoop.frontend.host.name>oozie.hadoop.iis.openaire.eu</iis.hadoop.frontend.host.name>
35
                       <oozieServiceLoc>http://oozie.hadoop.iis.openaire.eu:11000/oozie</oozieServiceLoc>
36
                        <nameNode>hdfs://iis-cluster-nn</nameNode>
37
                        <jobTracker>iis-cluster-jt</jobTracker>
38
        -->
39

    
40
    </properties>
41

    
42
    <dependencies>
43

    
44

    
45
        <dependency>
46
            <groupId>eu.dnetlib</groupId>
47
            <artifactId>icm-iis-core</artifactId>
48
            <version>1.0.0</version>
49
        </dependency>
50

    
51

    
52
        <dependency>
53
            <groupId>org.apache.hadoop</groupId>
54
            <artifactId>hadoop-common</artifactId>
55
            <version>${iis.hadoop.common.version}</version>
56
            <scope>provided</scope>
57
        </dependency>
58
        <dependency>
59
            <groupId>org.apache.oozie</groupId>
60
            <artifactId>oozie-core</artifactId>
61
            <version>${iis.oozie.version}</version>
62
            <scope>provided</scope>
63
        </dependency>
64

    
65
        <!-- StreamingMain was moved to oozie-sharelib-pig since cdh4.3.1 -->
66
        <dependency>
67
            <groupId>org.apache.oozie</groupId>
68
            <artifactId>oozie-sharelib-streaming</artifactId>
69
            <version>${iis.oozie.version}</version>
70
            <scope>test</scope>
71
        </dependency>
72
        <!-- Needed by Oozie tests { -->
73
        <dependency>
74
            <groupId>org.apache.oozie</groupId>
75
            <artifactId>oozie-core</artifactId>
76
            <version>${iis.oozie.version}</version>
77
            <type>test-jar</type>
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
            <scope>test</scope>
85
        </dependency>
86
        <dependency>
87
            <groupId>org.apache.hadoop</groupId>
88
            <artifactId>hadoop-hdfs</artifactId>
89
            <version>${iis.hadoop.hdfs.version}</version>
90
            <type>test-jar</type>
91
            <scope>test</scope>
92
        </dependency>
93
        <dependency>
94
            <groupId>org.apache.hadoop</groupId>
95
            <artifactId>hadoop-test</artifactId>
96
            <version>${iis.hadoop.test.version}</version>
97
            <scope>test</scope>
98
        </dependency>
99
        <dependency>
100
            <groupId>org.apache.hadoop</groupId>
101
            <artifactId>hadoop-common</artifactId>
102
            <version>${iis.hadoop.common.version}</version>
103
            <type>test-jar</type>
104
            <scope>test</scope>
105
        </dependency>
106
        <!-- Needed by Oozie tests } -->
107

    
108
        <!-- Needed by our Hadoop Streaming workflow node { -->
109
        <dependency>
110
            <groupId>eu.dnetlib</groupId>
111
            <artifactId>icm-iis-3rdparty-avro-json</artifactId>
112
            <version>1.0</version>
113
        </dependency>
114
        <dependency>
115
            <groupId>org.apache.hadoop</groupId>
116
            <artifactId>hadoop-streaming</artifactId>
117
            <version>${iis.hadoop.streaming.version}</version>
118
        </dependency>
119
        <!-- Needed by our Hadoop Streaming workflow node } -->
120
        <dependency>
121
            <groupId>org.apache.hive</groupId>
122
            <artifactId>hive-serde</artifactId>
123
            <version>0.9.0-cdh4.1.2</version>
124
            <scope>test</scope>
125
        </dependency>
126
        <dependency>
127
            <groupId>com.cloudera.cdh</groupId>
128
            <artifactId>hive-root</artifactId>
129
            <version>0.9.0-cdh4.1.2</version>
130
            <type>pom</type>
131
            <scope>test</scope>
132
        </dependency>
133
        <dependency>
134
            <groupId>org.apache.hive</groupId>
135
            <artifactId>hive-cli</artifactId>
136
            <version>0.9.0-cdh4.1.2</version>
137
            <scope>test</scope>
138
            <type>jar</type>
139
        </dependency>
140
        <dependency>
141
            <groupId>org.apache.hive</groupId>
142
            <artifactId>hive-exec</artifactId>
143
            <version>0.9.0-cdh4.1.2</version>
144
            <scope>test</scope>
145
            <type>jar</type>
146
        </dependency>
147
        <dependency>
148
            <groupId>org.apache.hive</groupId>
149
            <artifactId>hive-builtins</artifactId>
150
            <version>0.9.0-cdh4.1.2</version>
151
            <scope>test</scope>
152
            <type>jar</type>
153
        </dependency>
154
        <dependency>
155
            <groupId>eu.dnetlib</groupId>
156
            <artifactId>icm-iis-common</artifactId>
157
            <version>1.0.0</version>
158
            <scope>test</scope>
159
            <type>jar</type>
160
        </dependency>
161
        <dependency>
162
            <groupId>postgresql</groupId>
163
            <artifactId>postgresql</artifactId>
164
            <version>9.1-901.jdbc4</version>
165
        </dependency>
166

    
167
        <dependency>
168
            <groupId>eu.dnetlib</groupId>
169
            <artifactId>dnet-openaire-lod-export</artifactId>
170
            <version>0.0.1-SNAPSHOT</version>
171
        </dependency>
172
    </dependencies>
173

    
174

    
175
    <build>
176
        <plugins>
177

    
178
            <plugin>
179
                <groupId>org.codehaus.mojo</groupId>
180
                <artifactId>build-helper-maven-plugin</artifactId>
181
                <executions>
182
                    <execution>
183
                        <id>add-source</id>
184
                        <phase>generate-sources</phase>
185
                        <goals>
186
                            <goal>add-source</goal>
187
                        </goals>
188
                        <configuration>
189
                            <sources>
190
                                <source>${project.build.directory}/generated-sources/java/</source>
191
                            </sources>
192
                        </configuration>
193
                    </execution>
194
                </executions>
195
            </plugin>
196
        </plugins>
197
        <pluginManagement>
198
            <plugins>
199
                <!--This plugin's configuration is used to store Eclipse m2e settings
200
                    only. It has no influence on the Maven build itself. -->
201
                <plugin>
202
                    <groupId>org.eclipse.m2e</groupId>
203
                    <artifactId>lifecycle-mapping</artifactId>
204
                    <version>1.0.0</version>
205
                    <configuration>
206
                        <lifecycleMappingMetadata>
207
                            <pluginExecutions>
208
                                <pluginExecution>
209
                                    <pluginExecutionFilter>
210
                                        <groupId>
211
                                            org.apache.avro
212
                                        </groupId>
213
                                        <artifactId>
214
                                            avro-maven-plugin
215
                                        </artifactId>
216
                                        <versionRange>
217
                                            [1.7.4,)
218
                                        </versionRange>
219
                                        <goals>
220
                                            <groupId>eu.dnetlib</groupId>
221
                                            <artifactId>dnet-openaire-stats</artifactId>
222
                                            <version>0.0.1-SNAPSHOT</version>
223
                                            <goal>idl-protocol</goal>
224
                                            <goal>schema</goal>
225
                                        </goals>
226
                                    </pluginExecutionFilter>
227
                                    <action>
228
                                        <ignore></ignore>
229
                                    </action>
230
                                </pluginExecution>
231
                                <pluginExecution>
232
                                    <pluginExecutionFilter>
233
                                        <groupId>
234
                                            org.codehaus.mojo
235
                                        </groupId>
236
                                        <artifactId>
237
                                            build-helper-maven-plugin
238
                                        </artifactId>
239
                                        <versionRange>
240
                                            [1.7,)
241
                                        </versionRange>
242
                                        <goals>
243
                                            <goal>add-source</goal>
244
                                        </goals>
245
                                    </pluginExecutionFilter>
246
                                    <action>
247
                                        <ignore></ignore>
248
                                    </action>
249
                                </pluginExecution>
250
                            </pluginExecutions>
251
                        </lifecycleMappingMetadata>
252
                    </configuration>
253
                </plugin>
254

    
255
                <!--	<plugin>
256
                        <groupId>org.apache.maven.plugins</groupId>
257
                        <artifactId>maven-compiler-plugin</artifactId>
258
                        <version>3.1</version>
259
                        <configuration>
260
                            <source>1.6</source>
261
                            <target>1.6</target>
262
                            <executable>${JAVA_HOME}/bin</executable>
263
                        </configuration>
264
                    </plugin>-->
265

    
266
            </plugins>
267
        </pluginManagement>
268
    </build>
269
    <repositories>
270
        <repository>
271
            <id>cloudera</id>
272
            <name>Cloudera Repository</name>
273
            <url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
274
            <releases>
275
                <enabled>true</enabled>
276
            </releases>
277
            <snapshots>
278
                <enabled>false</enabled>
279
            </snapshots>
280
        </repository>
281
    </repositories>
282
</project>
(3-3/6)