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>dnet-openaire-stats-workflow</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
		<dependency>
45
			<groupId>eu.dnetlib</groupId>
46
			<artifactId>dnet-openaire-stats</artifactId>
47
			<version>0.0.1-SNAPSHOT</version>
48
		</dependency>
49
	 	<dependency>
50
			<groupId>eu.dnetlib</groupId>
51
			<artifactId>icm-iis-core</artifactId>
52
			<version>1.0.0-SNAPSHOT</version>
53
		</dependency>
54
	 
55
		 
56
		<dependency>
57
			<groupId>org.apache.hadoop</groupId>
58
			<artifactId>hadoop-common</artifactId>
59
			<version>${iis.hadoop.common.version}</version>
60
			<scope>provided</scope>
61
		</dependency>
62
		<dependency>
63
			<groupId>org.apache.oozie</groupId>
64
			<artifactId>oozie-core</artifactId>
65
			<version>${iis.oozie.version}</version>
66
			<scope>provided</scope>
67
		</dependency>
68
	 
69
		<!-- StreamingMain was moved to oozie-sharelib-pig since cdh4.3.1 -->
70
		<dependency>
71
			<groupId>org.apache.oozie</groupId>
72
			<artifactId>oozie-sharelib-streaming</artifactId>
73
			<version>${iis.oozie.version}</version>
74
			<scope>test</scope>
75
		</dependency>
76
		<!-- Needed by Oozie tests { -->
77
		<dependency>
78
			<groupId>org.apache.oozie</groupId>
79
			<artifactId>oozie-core</artifactId>
80
			<version>${iis.oozie.version}</version>
81
			<type>test-jar</type>
82
			<scope>test</scope>
83
		</dependency>
84
		<dependency>
85
			<groupId>org.apache.hadoop</groupId>
86
			<artifactId>hadoop-hdfs</artifactId>
87
			<version>${iis.hadoop.hdfs.version}</version>
88
			<scope>test</scope>
89
		</dependency>
90
		<dependency>
91
			<groupId>org.apache.hadoop</groupId>
92
			<artifactId>hadoop-hdfs</artifactId>
93
			<version>${iis.hadoop.hdfs.version}</version>
94
			<type>test-jar</type>
95
			<scope>test</scope>
96
		</dependency>
97
		<dependency>
98
			<groupId>org.apache.hadoop</groupId>
99
			<artifactId>hadoop-test</artifactId>
100
			<version>${iis.hadoop.test.version}</version>
101
			<scope>test</scope>
102
		</dependency>
103
		<dependency>
104
			<groupId>org.apache.hadoop</groupId>
105
			<artifactId>hadoop-common</artifactId>
106
			<version>${iis.hadoop.common.version}</version>
107
			<type>test-jar</type>
108
			<scope>test</scope>
109
		</dependency>
110
		<!-- Needed by Oozie tests } -->
111
 
112
		<!-- Needed by our Hadoop Streaming workflow node { -->
113
		<dependency>
114
			<groupId>eu.dnetlib</groupId>
115
			<artifactId>icm-iis-3rdparty-avro-json</artifactId>
116
			<version>1.0-SNAPSHOT</version>
117
		</dependency>
118
		<dependency>
119
			<groupId>org.apache.hadoop</groupId>
120
			<artifactId>hadoop-streaming</artifactId>
121
			<version>${iis.hadoop.streaming.version}</version>
122
		</dependency>
123
		<!-- Needed by our Hadoop Streaming workflow node } -->
124
		<dependency>
125
			<groupId>org.apache.hive</groupId>
126
			<artifactId>hive-serde</artifactId>
127
			<version>0.9.0-cdh4.1.2</version>
128
			<scope>test</scope>
129
		</dependency>
130
		<dependency>
131
			<groupId>com.cloudera.cdh</groupId>
132
			<artifactId>hive-root</artifactId>
133
			<version>0.9.0-cdh4.1.2</version>
134
			<type>pom</type>
135
			<scope>test</scope>
136
		</dependency>
137
		<dependency>
138
			<groupId>org.apache.hive</groupId>
139
			<artifactId>hive-cli</artifactId>
140
			<version>0.9.0-cdh4.1.2</version>
141
			<scope>test</scope>
142
			<type>jar</type>
143
		</dependency>
144
		<dependency>
145
			<groupId>org.apache.hive</groupId>
146
			<artifactId>hive-exec</artifactId>
147
			<version>0.9.0-cdh4.1.2</version>
148
			<scope>test</scope>
149
			<type>jar</type>
150
		</dependency>
151
		<dependency>
152
			<groupId>org.apache.hive</groupId>
153
			<artifactId>hive-builtins</artifactId>
154
			<version>0.9.0-cdh4.1.2</version>
155
			<scope>test</scope>
156
			<type>jar</type>
157
		</dependency>
158
		<dependency>
159
			<groupId>eu.dnetlib</groupId>
160
			<artifactId>icm-iis-common</artifactId>
161
			<version>1.0.0-SNAPSHOT</version>
162
			<scope>test</scope>
163
			<type>jar</type>
164
		</dependency>
165
		<dependency>
166
			<groupId>postgresql</groupId>
167
			<artifactId>postgresql</artifactId>
168
			<version>9.1-901.jdbc4</version>
169
		</dependency>
170
 </dependencies>
171
 
172

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

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

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