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
	<scm>
15
	  <developerConnection>
16
	    scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/icm-iis-core/trunk
17
	  </developerConnection>
18
	</scm>
19

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