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-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-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.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
		<!-- Needed by Oozie tests } -->
143
	</dependencies>
144
	<build>
145
		<plugins>
146
			<!-- Plugin that generates Java classes from Avro schemas -->
147
			<plugin>
148
				<groupId>org.apache.avro</groupId>
149
				<artifactId>avro-maven-plugin</artifactId>
150
				<version>${iis.avro.version}</version>
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)