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
	<properties>
15
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16

    
17
		<iis.hadoop.frontend.user.name>eri.katsari  </iis.hadoop.frontend.user.name>
18
		<iis.hadoop.frontend.home.dir>home </iis.hadoop.frontend.home.dir>
19
		<iis.hadoop.frontend.host.name>oozie.t.hadoop.research-infrastructures.eu  </iis.hadoop.frontend.host.name>
20
		<DjobTracker>nmis-hadoop-jt</DjobTracker>
21
		<oozieServiceLoc>
22
			http://oozie.t.hadoop.research-infrastructures.eu:11000/oozie</oozieServiceLoc>
23
		<nameNode>hdfs://nmis-hadoop-cluster</nameNode>
24
		<jobTracker> nmis-hadoop-jt</jobTracker>
25
		<queueName>default</queueName>
26
		<user.name>eri.katsari</user.name>
27
	</properties>
28
	<dependencies>
29

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

    
159
	<build>
160
		<plugins>
161
 
162
<!-- 	<plugin>       -->
163
<!-- 				<groupId>org.codehaus.mojo</groupId> -->
164
<!-- 				<artifactId>exec-maven-plugin</artifactId> -->
165
<!-- 				<version>1.2.1</version> -->
166
<!-- 				<configuration> -->
167
<!-- 				<mainClass>eu.dnetlib.iis.core.workflows.stats.SqoopWrapper</mainClass> -->
168
<!-- 				</configuration> -->
169
<!-- 			</plugin> -->
170
<!-- 			 <plugin> -->
171
<!--             <groupId>org.apache.maven.plugins</groupId> -->
172
<!--             <artifactId>maven-shade-plugin</artifactId> -->
173
<!--             <version>2.1</version> -->
174
<!--             <executions> -->
175
<!--                 <execution> -->
176
<!--                     <phase>package</phase> -->
177
<!--                     <goals> -->
178
<!--                         <goal>shade</goal> -->
179
<!--                     </goals> -->
180
<!--                     <configuration> -->
181
<!--                         <transformers> -->
182
<!--                             <transformer -->
183
<!--                                 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> -->
184
<!--                             </transformer> -->
185
<!--                         </transformers> -->
186
<!--                     </configuration> -->
187
<!--                 </execution> -->
188
<!--             </executions> </plugin> -->
189
			 
190
<!-- 			This plugin makes the Maven->Update Project Configuration not forget  -->
191
<!-- 				about the "target/generated-sources/java" source path -->
192
			<plugin>
193
				<groupId>org.codehaus.mojo</groupId>
194
				<artifactId>build-helper-maven-plugin</artifactId>
195
				<executions>
196
					<execution>
197
						<id>add-source</id>
198
						<phase>generate-sources</phase>
199
						<goals>
200
							<goal>add-source</goal>
201
						</goals>
202
						<configuration>
203
							<sources>
204
								<source>${project.build.directory}/generated-sources/java/</source>
205
							</sources>
206
						</configuration>
207
					</execution>
208
				</executions>
209
			</plugin>
210
		</plugins>
211
		<pluginManagement>
212
			<plugins>
213
				<!--This plugin's configuration is used to store Eclipse m2e settings 
214
					only. It has no influence on the Maven build itself. -->
215
				<plugin>
216
					<groupId>org.eclipse.m2e</groupId>
217
					<artifactId>lifecycle-mapping</artifactId>
218
					<version>1.0.0</version>
219
					<configuration>
220
						<lifecycleMappingMetadata>
221
							<pluginExecutions>
222
								<pluginExecution>
223
									<pluginExecutionFilter>
224
										<groupId>
225
											org.apache.avro
226
										</groupId>
227
										<artifactId>
228
											avro-maven-plugin
229
										</artifactId>
230
										<versionRange>
231
											[1.7.4,)
232
										</versionRange>
233
										<goals>
234
											<groupId>eu.dnetlib</groupId>
235
											<artifactId>dnet-openaire-stats</artifactId>
236
											<version>0.0.1-SNAPSHOT</version>
237
											<goal>idl-protocol</goal>
238
											<goal>schema</goal>
239
										</goals>
240
									</pluginExecutionFilter>
241
									<action>
242
										<ignore></ignore>
243
									</action>
244
								</pluginExecution>
245
								<pluginExecution>
246
									<pluginExecutionFilter>
247
										<groupId>
248
											org.codehaus.mojo
249
										</groupId>
250
										<artifactId>
251
											build-helper-maven-plugin
252
										</artifactId>
253
										<versionRange>
254
											[1.7,)
255
										</versionRange>
256
										<goals>
257
											<goal>add-source</goal>
258
										</goals>
259
									</pluginExecutionFilter>
260
									<action>
261
										<ignore></ignore>
262
									</action>
263
								</pluginExecution>
264
							</pluginExecutions>
265
						</lifecycleMappingMetadata>
266
					</configuration>
267
				</plugin>
268

    
269
				<plugin>
270
					<groupId>org.apache.maven.plugins</groupId>
271
					<artifactId>maven-compiler-plugin</artifactId>
272
					<version>3.1</version>
273
					<configuration>
274
						<source>1.6</source>
275
						<target>1.6</target>
276
						<executable>${JAVA_HOME}/bin</executable>
277
					</configuration>
278
				</plugin>
279

    
280
			</plugins>
281
		</pluginManagement>
282
	</build>
283
	<repositories>
284
		<repository>
285
			<id>cloudera</id>
286
			<name>Cloudera Repository</name>
287
			<url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
288
			<releases>
289
				<enabled>true</enabled>
290
			</releases>
291
			<snapshots>
292
				<enabled>false</enabled>
293
			</snapshots>
294
		</repository>
295
	</repositories>
296
</project>
(2-2/2)