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>dnet-hadoop-parent</artifactId>
7
		<version>1.0.0-SNAPSHOT</version>
8
	</parent>
9
	<modelVersion>4.0.0</modelVersion>
10
	<artifactId>icm-iis-core</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-3rdparty-avrojsoncoders</artifactId>
21
			<version>1.0.0-SNAPSHOT</version>
22
		</dependency>
23
		<dependency>
24
			<groupId>org.apache.commons</groupId>
25
			<artifactId>commons-lang3</artifactId>
26
			<version>3.1</version>
27
		</dependency>
28
		<dependency>
29
			<groupId>commons-cli</groupId>
30
			<artifactId>commons-cli</artifactId>
31
			<version>1.2</version>
32
		</dependency>
33
		<dependency>
34
			<groupId>org.apache.hadoop</groupId>
35
			<artifactId>hadoop-common</artifactId>
36
			<version>${iis.hadoop.common.version}</version>
37
			<scope>provided</scope>
38
		</dependency>
39
		<dependency>
40
			<groupId>org.apache.hadoop</groupId>
41
			<artifactId>hadoop-common</artifactId>
42
			<version>${iis.hadoop.common.version}</version>
43
			<type>test-jar</type>
44
			<scope>test</scope>
45
		</dependency>
46
		<!-- This is needed by map-reduce-related classes -->
47
		<dependency>
48
			<groupId>org.apache.hadoop</groupId>
49
			<artifactId>hadoop-core</artifactId>
50
			<version>${iis.hadoop.core.version}</version>
51
			<scope>provided</scope>
52
		</dependency>
53
		<dependency>
54
			<groupId>org.apache.hadoop</groupId>
55
			<artifactId>hadoop-hdfs</artifactId>
56
			<version>${iis.hadoop.hdfs.version}</version>
57
			<scope>provided</scope>
58
		</dependency>
59
		<dependency>
60
			<groupId>org.apache.hadoop</groupId>
61
			<artifactId>hadoop-hdfs</artifactId>
62
			<version>${iis.hadoop.hdfs.version}</version>
63
			<type>test-jar</type>
64
			<scope>test</scope>
65
		</dependency>
66
		<dependency>
67
			<groupId>org.apache.hadoop</groupId>
68
			<artifactId>hadoop-test</artifactId>
69
			<version>${iis.hadoop.test.version}</version>
70
			<scope>test</scope>
71
		</dependency>
72
		<dependency>
73
			<groupId>org.apache.oozie</groupId>
74
			<artifactId>oozie-core</artifactId>
75
			<version>${iis.oozie.version}</version>
76
			<scope>provided</scope>
77
		</dependency>
78
		<!-- Needed by Avro { -->
79
		<dependency>
80
			<groupId>org.apache.avro</groupId>
81
			<artifactId>avro</artifactId>
82
			<version>${iis.avro.version}</version>
83
		</dependency>
84
		<dependency>
85
			<groupId>org.apache.avro</groupId>
86
			<artifactId>avro-mapred</artifactId>
87
			<version>${iis.avro.version}</version>
88
			<classifier>hadoop2</classifier>
89
		</dependency>
90
		<!-- Needed by Avro } -->
91
		<!-- Jar containing testing classes that have been missing -->
92
		<dependency>
93
			<groupId>org.apache.oozie</groupId>
94
			<artifactId>oozie-core</artifactId>
95
			<version>${iis.oozie.version}</version>
96
			<type>test-jar</type>
97
			<scope>test</scope>
98
		</dependency>
99
		<dependency>
100
			<groupId>junit</groupId>
101
			<artifactId>junit</artifactId>
102
			<version>4.10</version>
103
			<scope>test</scope>
104
		</dependency>
105
		<dependency>
106
			<groupId>com.google.code.gson</groupId>
107
			<artifactId>gson</artifactId>
108
			<version>2.2.4</version>
109
		</dependency>
110
	</dependencies>
111
	<build>
112
		<plugins>
113
			<!-- Plugin that generates Java classes from Avro schemas -->
114
			<plugin>
115
				<groupId>org.apache.avro</groupId>
116
				<artifactId>avro-maven-plugin</artifactId>
117
				<version>${iis.avro.version}</version>
118
				<executions>
119
					<execution>
120
						<phase>generate-sources</phase>
121
						<goals>
122
							<goal>schema</goal>
123
							<goal>idl-protocol</goal>
124
						</goals>
125
						<configuration>
126
							<sourceDirectory>${project.basedir}/src/test/resources/</sourceDirectory>
127
							<outputDirectory>${project.basedir}/target/generated-sources/java/</outputDirectory>
128
						</configuration>
129
					</execution>
130
				</executions>
131
			</plugin>
132
			<!-- This plugin makes the Maven->Update Project Configuration not forget 
133
				about the "target/generated-sources/java" source path -->
134
			<plugin>
135
				<groupId>org.codehaus.mojo</groupId>
136
				<artifactId>build-helper-maven-plugin</artifactId>
137
				<executions>
138
					<execution>
139
						<id>add-source</id>
140
						<phase>generate-sources</phase>
141
						<goals>
142
							<goal>add-source</goal>
143
						</goals>
144
						<configuration>
145
							<sources>
146
								<source>${project.build.directory}/generated-sources/java/</source>
147
							</sources>
148
						</configuration>
149
					</execution>
150
				</executions>
151
			</plugin>
152
			<!-- Plugin that generates jar with test classes -->
153
			<plugin>
154
				<groupId>org.apache.maven.plugins</groupId>
155
				<artifactId>maven-jar-plugin</artifactId>
156
				<version>2.2</version>
157
				<executions>
158
					<execution>
159
						<goals>
160
							<goal>test-jar</goal>
161
						</goals>
162
					</execution>
163
				</executions>
164
			</plugin>
165
		</plugins>
166
		<pluginManagement>
167
			<plugins>
168
				<!--This plugin's configuration is used to store Eclipse m2e settings 
169
					only. It has no influence on the Maven build itself. -->
170
				<plugin>
171
					<groupId>org.eclipse.m2e</groupId>
172
					<artifactId>lifecycle-mapping</artifactId>
173
					<version>1.0.0</version>
174
					<configuration>
175
						<lifecycleMappingMetadata>
176
							<pluginExecutions>
177
								<pluginExecution>
178
									<pluginExecutionFilter>
179
										<groupId>
180
											org.apache.avro
181
										</groupId>
182
										<artifactId>
183
											avro-maven-plugin
184
										</artifactId>
185
										<versionRange>
186
											[1.7.4,)
187
										</versionRange>
188
										<goals>
189
											<goal>schema</goal>
190
											<goal>idl-protocol</goal>
191
										</goals>
192
									</pluginExecutionFilter>
193
									<action>
194
										<ignore></ignore>
195
									</action>
196
								</pluginExecution>
197
								<pluginExecution>
198
									<pluginExecutionFilter>
199
										<groupId>
200
											org.codehaus.mojo
201
										</groupId>
202
										<artifactId>
203
											build-helper-maven-plugin
204
										</artifactId>
205
										<versionRange>
206
											[1.7,)
207
										</versionRange>
208
										<goals>
209
											<goal>add-source</goal>
210
										</goals>
211
									</pluginExecutionFilter>
212
									<action>
213
										<ignore></ignore>
214
									</action>
215
								</pluginExecution>
216
							</pluginExecutions>
217
						</lifecycleMappingMetadata>
218
					</configuration>
219
				</plugin>
220
			</plugins>
221
		</pluginManagement>
222
	</build>
223
	<repositories>
224
		<repository>
225
			<id>cloudera</id>
226
			<url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
227
			<releases>
228
				<enabled>true</enabled>
229
			</releases>
230
			<snapshots>
231
				<enabled>false</enabled>
232
			</snapshots>
233
		</repository>
234
		<!-- Sandro removed this repository from parent pom, need to define here 
235
			until moving artifacts from dnet-snapshot to dnet-spring-snapshot repository -->
236
		<!-- <repository> <id>dnet-snapshots</id> <name>dnet-snapshots</name> <url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet-snapshots</url> 
237
			<layout>default</layout> <snapshots> <enabled>true</enabled> </snapshots> 
238
			</repository> -->
239
	</repositories>
240
</project>
(3-3/3)