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