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>icm-iis-parent-container</artifactId>
6
            <version>1.0.1-CDH-5.3.0-SNAPSHOT</version>
7
	</parent>
8
	<modelVersion>4.0.0</modelVersion>
9
	<artifactId>icm-iis-metadataextraction</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-metadataextraction/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-core</artifactId>
26
			<version>[1.0.0,2.0.0)</version>
27
		</dependency>
28
		<dependency>
29
			<groupId>eu.dnetlib</groupId>
30
			<artifactId>icm-iis-core</artifactId>
31
			<version>[1.0.0,2.0.0)</version>
32
			<type>test-jar</type>
33
			<scope>test</scope>
34
		</dependency>
35
		<dependency>
36
			<groupId>eu.dnetlib</groupId>
37
			<artifactId>icm-iis-schemas</artifactId>
38
			<version>[1.0.0,2.0.0)</version>
39
		</dependency>
40
		<dependency>
41
			<groupId>eu.dnetlib</groupId>
42
			<artifactId>icm-iis-common</artifactId>
43
			<version>[1.0.0,2.0.0)</version>
44
		</dependency>
45
		<dependency>
46
			<groupId>pl.edu.icm.cermine</groupId>
47
			<artifactId>cermine-impl</artifactId>
48
			<version>1.5-SNAPSHOT</version>
49
			<exclusions>
50
				<exclusion>
51
					<groupId>org.slf4j</groupId>
52
					<artifactId>jcl-over-slf4j</artifactId>
53
				</exclusion>
54
			</exclusions>
55
		</dependency>
56
		<dependency>
57
		  <groupId>com.googlecode.protobuf-java-format</groupId>
58
		  <artifactId>protobuf-java-format</artifactId>
59
		  <version>1.2</version>
60
		</dependency>
61
		<dependency>
62
	      <groupId>com.googlecode.json-simple</groupId>
63
	      <artifactId>json-simple</artifactId>
64
	      <version>1.1</version>
65
	      <scope>compile</scope>
66
	    </dependency>
67
	    <!-- required after introducing 'provided' scope for hadoop libs -->
68
	    <dependency>
69
            <groupId>org.apache.hadoop</groupId>
70
            <artifactId>hadoop-core</artifactId>
71
            <version>${iis.hadoop.core.version}</version>
72
            <scope>provided</scope>
73
        </dependency>
74
	    <dependency>
75
			<groupId>org.apache.hadoop</groupId>
76
			<artifactId>hadoop-common</artifactId>
77
			<version>${iis.hadoop.common.version}</version>
78
			<scope>provided</scope>
79
		</dependency>
80
		<!-- Needed by Avro { -->
81
		<dependency>
82
			<groupId>org.apache.avro</groupId>
83
			<artifactId>avro</artifactId>
84
			<version>${iis.avro.version}</version>
85
		</dependency>
86
		<dependency>
87
			<groupId>org.apache.avro</groupId>
88
			<artifactId>avro-mapred</artifactId>
89
			<version>${iis.avro.version}</version>
90
			<classifier>hadoop2</classifier>
91
		</dependency>
92
		<!-- It seems that this dependency is needed, if it is not here, 
93
		running Oozie tests of Avro-based map-reduce ends up with 
94
		"java.lang.NoClassDefFoundError" exception and statement that
95
		"Paranamer" class is missing.-->
96
		<dependency>
97
			<groupId>com.thoughtworks.paranamer</groupId>
98
			<artifactId>paranamer</artifactId>
99
			<version>2.5.2</version>
100
		</dependency>
101
		<!-- Needed by Avro } -->
102
		<!-- Needed by Oozie tests { -->
103
		<dependency>
104
			<groupId>org.apache.oozie</groupId>
105
			<artifactId>oozie-core</artifactId>
106
			<version>${iis.oozie.version}</version>
107
			<scope>test</scope>
108
		</dependency>
109
		<dependency>
110
			<groupId>org.apache.oozie</groupId>
111
			<artifactId>oozie-core</artifactId>
112
			<version>${iis.oozie.version}</version>
113
			<type>test-jar</type>
114
			<scope>test</scope>
115
		</dependency>
116
		<dependency>
117
			<groupId>org.apache.hadoop</groupId>
118
			<artifactId>hadoop-hdfs</artifactId>
119
			<version>${iis.hadoop.hdfs.version}</version>
120
			<scope>test</scope>
121
		</dependency>
122
		<dependency>
123
			<groupId>org.apache.hadoop</groupId>
124
			<artifactId>hadoop-hdfs</artifactId>
125
			<version>${iis.hadoop.hdfs.version}</version>
126
			<type>test-jar</type>
127
			<scope>test</scope>
128
		</dependency>
129
		<dependency>
130
			<groupId>org.apache.hadoop</groupId>
131
			<artifactId>hadoop-test</artifactId>
132
			<version>${iis.hadoop.test.version}</version>
133
			<scope>test</scope>
134
		</dependency>
135
		<dependency>
136
			<groupId>org.apache.hadoop</groupId>
137
			<artifactId>hadoop-common</artifactId>
138
			<version>${iis.hadoop.common.version}</version>
139
			<type>test-jar</type>
140
			<scope>test</scope>
141
		</dependency>
142
		<dependency>
143
			<groupId>junit</groupId>
144
			<artifactId>junit</artifactId>
145
			<version>4.10</version>
146
			<scope>test</scope>
147
		</dependency>
148
		<!-- Needed by Oozie tests } -->
149
	</dependencies>
150
	<build>
151
		<plugins>
152
			<!-- Plugin that generates Java classes from Avro schemas -->
153
			<plugin>
154
				<groupId>org.apache.avro</groupId>
155
				<artifactId>avro-maven-plugin</artifactId>
156
				<executions>
157
					<execution>
158
						<phase>generate-sources</phase>
159
						<goals>
160
							<goal>schema</goal>
161
							<goal>idl-protocol</goal>
162
						</goals>
163
						<configuration>
164
							<sourceDirectory>${project.basedir}/src/main/resources/</sourceDirectory>
165
							<outputDirectory>${project.basedir}/target/generated-sources/java/</outputDirectory>
166
						</configuration>
167
					</execution>
168
				</executions>
169
			</plugin>
170
			<!-- This plugin makes the Maven->Update Project Configuration not forget 
171
				about the "target/generated-sources/java" source path -->
172
			<plugin>
173
				<groupId>org.codehaus.mojo</groupId>
174
				<artifactId>build-helper-maven-plugin</artifactId>
175
				<executions>
176
					<execution>
177
						<id>add-source</id>
178
						<phase>generate-sources</phase>
179
						<goals>
180
							<goal>add-source</goal>
181
						</goals>
182
						<configuration>
183
							<sources>
184
								<source>${project.build.directory}/generated-sources/java/</source>
185
							</sources>
186
						</configuration>
187
					</execution>
188
				</executions>
189
			</plugin>
190
		</plugins>
191
		<pluginManagement>
192
			<plugins>
193
				<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
194
				<plugin>
195
					<groupId>org.eclipse.m2e</groupId>
196
					<artifactId>lifecycle-mapping</artifactId>
197
					<version>1.0.0</version>
198
					<configuration>
199
						<lifecycleMappingMetadata>
200
							<pluginExecutions>
201
								<pluginExecution>
202
									<pluginExecutionFilter>
203
										<groupId>
204
											org.apache.avro
205
										</groupId>
206
										<artifactId>
207
											avro-maven-plugin
208
										</artifactId>
209
										<versionRange>
210
											[1.7.4,)
211
										</versionRange>
212
										<goals>
213
											<goal>idl-protocol</goal>
214
											<goal>schema</goal>
215
										</goals>
216
									</pluginExecutionFilter>
217
									<action>
218
										<ignore />
219
									</action>
220
								</pluginExecution>
221
								<pluginExecution>
222
									<pluginExecutionFilter>
223
										<groupId>
224
											org.codehaus.mojo
225
										</groupId>
226
										<artifactId>
227
											build-helper-maven-plugin
228
										</artifactId>
229
										<versionRange>
230
											[1.7,)
231
										</versionRange>
232
										<goals>
233
											<goal>add-source</goal>
234
										</goals>
235
									</pluginExecutionFilter>
236
									<action>
237
										<ignore />
238
									</action>
239
								</pluginExecution>
240
							</pluginExecutions>
241
						</lifecycleMappingMetadata>
242
					</configuration>
243
				</plugin>
244
			</plugins>
245
		</pluginManagement>
246
	</build>
247
	<repositories>
248
		<!-- Repository used by CERMINE -->
249
		<repository>
250
			<id>yadda</id>
251
			<name>Yadda project repository</name>
252
			<url>http://maven.icm.edu.pl/artifactory/repo</url>
253
		</repository>
254
	</repositories>
255
</project>
(3-3/3)