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