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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
	<parent>
4
		<groupId>eu.dnetlib</groupId>
5
		<artifactId>dnet-hadoop-parent</artifactId>
6
		<version>1.0.1-CDH-5.3.0-SNAPSHOT</version>
7
	</parent>
8
	<modelVersion>4.0.0</modelVersion>
9
	<artifactId>icm-iis-core</artifactId>
10
	<packaging>jar</packaging>
11
	<version>1.0.1-CDH-5.3.0-SNAPSHOT</version>
12

    
13
	<scm>
14
	  <developerConnection>
15
	    scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/icm-iis-core/trunk
16
	  </developerConnection>
17
	</scm>
18

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