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>dnet45-parent</artifactId>
6
		<version>1.0.0</version>
7
	</parent>
8
	<modelVersion>4.0.0</modelVersion>
9
	<artifactId>icm-iis-core</artifactId>
10
	<packaging>jar</packaging>
11
	<version>1.0.2</version>
12

    
13
	<scm>
14
	  <developerConnection>
15
	    scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet45/modules/icm-iis-core/tags/icm-iis-core-1.0.2
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
				<version>${iis.avro.version}</version>
123
				<executions>
124
					<execution>
125
						<phase>generate-sources</phase>
126
						<goals>
127
							<goal>schema</goal>
128
							<goal>idl-protocol</goal>
129
						</goals>
130
						<configuration>
131
							<sourceDirectory>${project.basedir}/src/test/resources/</sourceDirectory>
132
							<outputDirectory>${project.basedir}/target/generated-sources/java/</outputDirectory>
133
						</configuration>
134
					</execution>
135
				</executions>
136
			</plugin>
137
			<!-- This plugin makes the Maven->Update Project Configuration not forget 
138
				about the "target/generated-sources/java" source path -->
139
			<plugin>
140
				<groupId>org.codehaus.mojo</groupId>
141
				<artifactId>build-helper-maven-plugin</artifactId>
142
				<executions>
143
					<execution>
144
						<id>add-source</id>
145
						<phase>generate-sources</phase>
146
						<goals>
147
							<goal>add-source</goal>
148
						</goals>
149
						<configuration>
150
							<sources>
151
								<source>${project.build.directory}/generated-sources/java/</source>
152
							</sources>
153
						</configuration>
154
					</execution>
155
				</executions>
156
			</plugin>
157
			<!-- Plugin that generates jar with test classes -->
158
			<plugin>
159
				<groupId>org.apache.maven.plugins</groupId>
160
				<artifactId>maven-jar-plugin</artifactId>
161
				<version>2.2</version>
162
				<executions>
163
					<execution>
164
						<goals>
165
							<goal>test-jar</goal>
166
						</goals>
167
					</execution>
168
				</executions>
169
			</plugin>
170
		</plugins>
171
		<pluginManagement>
172
			<plugins>
173
				<!--This plugin's configuration is used to store Eclipse m2e settings 
174
					only. It has no influence on the Maven build itself. -->
175
				<plugin>
176
					<groupId>org.eclipse.m2e</groupId>
177
					<artifactId>lifecycle-mapping</artifactId>
178
					<version>1.0.0</version>
179
					<configuration>
180
						<lifecycleMappingMetadata>
181
							<pluginExecutions>
182
								<pluginExecution>
183
									<pluginExecutionFilter>
184
										<groupId>
185
											org.apache.avro
186
										</groupId>
187
										<artifactId>
188
											avro-maven-plugin
189
										</artifactId>
190
										<versionRange>
191
											[1.7.4,)
192
										</versionRange>
193
										<goals>
194
											<goal>schema</goal>
195
											<goal>idl-protocol</goal>
196
										</goals>
197
									</pluginExecutionFilter>
198
									<action>
199
										<ignore />
200
									</action>
201
								</pluginExecution>
202
								<pluginExecution>
203
									<pluginExecutionFilter>
204
										<groupId>
205
											org.codehaus.mojo
206
										</groupId>
207
										<artifactId>
208
											build-helper-maven-plugin
209
										</artifactId>
210
										<versionRange>
211
											[1.7,)
212
										</versionRange>
213
										<goals>
214
											<goal>add-source</goal>
215
										</goals>
216
									</pluginExecutionFilter>
217
									<action>
218
										<ignore />
219
									</action>
220
								</pluginExecution>
221
							</pluginExecutions>
222
						</lifecycleMappingMetadata>
223
					</configuration>
224
				</plugin>
225
			</plugins>
226
		</pluginManagement>
227
	</build>
228
	<repositories>
229
		<repository>
230
			<id>cloudera</id>
231
			<url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
232
			<releases>
233
				<enabled>true</enabled>
234
			</releases>
235
			<snapshots>
236
				<enabled>false</enabled>
237
			</snapshots>
238
		</repository>
239
	</repositories>
240
</project>
(2-2/2)