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.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
		<!-- Needed by Oozie tests } -->
138
	</dependencies>
139
	<build>
140
		<plugins>
141
			<!-- Plugin that generates Java classes from Avro schemas -->
142
			<plugin>
143
				<groupId>org.apache.avro</groupId>
144
				<artifactId>avro-maven-plugin</artifactId>
145
				<version>${iis.avro.version}</version>
146
				<executions>
147
					<execution>
148
						<phase>generate-sources</phase>
149
						<goals>
150
							<goal>schema</goal>
151
							<goal>idl-protocol</goal>
152
						</goals>
153
						<configuration>
154
							<sourceDirectory>${project.basedir}/src/main/resources/</sourceDirectory>
155
							<outputDirectory>${project.basedir}/target/generated-sources/java/</outputDirectory>
156
						</configuration>
157
					</execution>
158
				</executions>
159
			</plugin>
160
			<!-- This plugin makes the Maven->Update Project Configuration not forget 
161
				about the "target/generated-sources/java" source path -->
162
			<plugin>
163
				<groupId>org.codehaus.mojo</groupId>
164
				<artifactId>build-helper-maven-plugin</artifactId>
165
				<executions>
166
					<execution>
167
						<id>add-source</id>
168
						<phase>generate-sources</phase>
169
						<goals>
170
							<goal>add-source</goal>
171
						</goals>
172
						<configuration>
173
							<sources>
174
								<source>${project.build.directory}/generated-sources/java/</source>
175
							</sources>
176
						</configuration>
177
					</execution>
178
				</executions>
179
			</plugin>
180
		</plugins>
181
		<pluginManagement>
182
			<plugins>
183
				<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
184
				<plugin>
185
					<groupId>org.eclipse.m2e</groupId>
186
					<artifactId>lifecycle-mapping</artifactId>
187
					<version>1.0.0</version>
188
					<configuration>
189
						<lifecycleMappingMetadata>
190
							<pluginExecutions>
191
								<pluginExecution>
192
									<pluginExecutionFilter>
193
										<groupId>
194
											org.apache.avro
195
										</groupId>
196
										<artifactId>
197
											avro-maven-plugin
198
										</artifactId>
199
										<versionRange>
200
											[1.7.4,)
201
										</versionRange>
202
										<goals>
203
											<goal>idl-protocol</goal>
204
											<goal>schema</goal>
205
										</goals>
206
									</pluginExecutionFilter>
207
									<action>
208
										<ignore />
209
									</action>
210
								</pluginExecution>
211
								<pluginExecution>
212
									<pluginExecutionFilter>
213
										<groupId>
214
											org.codehaus.mojo
215
										</groupId>
216
										<artifactId>
217
											build-helper-maven-plugin
218
										</artifactId>
219
										<versionRange>
220
											[1.7,)
221
										</versionRange>
222
										<goals>
223
											<goal>add-source</goal>
224
										</goals>
225
									</pluginExecutionFilter>
226
									<action>
227
										<ignore />
228
									</action>
229
								</pluginExecution>
230
							</pluginExecutions>
231
						</lifecycleMappingMetadata>
232
					</configuration>
233
				</plugin>
234
			</plugins>
235
		</pluginManagement>
236
	</build>
237
	<repositories>
238
		<!-- Repository used by CERMINE -->
239
		<repository>
240
			<id>yadda</id>
241
			<name>Yadda project repository</name>
242
			<url>http://maven.icm.edu.pl/artifactory/repo</url>
243
		</repository>
244
	</repositories>
245
</project>
(3-3/3)