Project

General

Profile

1 16877 marek.hors
<?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 16896 marek.hors
    		<groupId>eu.dnetlib</groupId>
5
	        <artifactId>icm-iis-parent-container</artifactId>
6 35710 marek.hors
            <version>1.0.1-SNAPSHOT</version>
7 16877 marek.hors
	</parent>
8
	<modelVersion>4.0.0</modelVersion>
9 16888 marek.hors
	<artifactId>icm-iis-metadataextraction</artifactId>
10 16877 marek.hors
	<packaging>jar</packaging>
11 33727 marek.hors
	<version>1.0.1-SNAPSHOT</version>
12 33415 marek.hors
13
	<scm>
14
	  <developerConnection>
15 33727 marek.hors
	    scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/icm-iis-metadataextraction/trunk
16 33415 marek.hors
	  </developerConnection>
17
	</scm>
18 26493 marek.hors
19 16877 marek.hors
	<properties>
20
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21
	</properties>
22
	<dependencies>
23 16907 marek.hors
		<dependency>
24
			<groupId>eu.dnetlib</groupId>
25 17019 marek.hors
			<artifactId>icm-iis-core</artifactId>
26 34622 marek.hors
			<version>[1.0.0,2.0.0)</version>
27 16907 marek.hors
		</dependency>
28
		<dependency>
29 16957 mateusz.ko
			<groupId>eu.dnetlib</groupId>
30 17252 mateusz.ko
			<artifactId>icm-iis-core</artifactId>
31 34622 marek.hors
			<version>[1.0.0,2.0.0)</version>
32 17252 mateusz.ko
			<type>test-jar</type>
33
			<scope>test</scope>
34
		</dependency>
35
		<dependency>
36
			<groupId>eu.dnetlib</groupId>
37 16957 mateusz.ko
			<artifactId>icm-iis-schemas</artifactId>
38 34622 marek.hors
			<version>[1.0.0,2.0.0)</version>
39 16957 mateusz.ko
		</dependency>
40
		<dependency>
41 18064 marek.hors
			<groupId>eu.dnetlib</groupId>
42
			<artifactId>icm-iis-common</artifactId>
43 34622 marek.hors
			<version>[1.0.0,2.0.0)</version>
44 18064 marek.hors
		</dependency>
45
		<dependency>
46 16907 marek.hors
			<groupId>pl.edu.icm.cermine</groupId>
47
			<artifactId>cermine-impl</artifactId>
48 37348 marek.hors
			<version>1.6</version>
49 16907 marek.hors
			<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 19819 marek.hors
	    <!-- 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 17252 mateusz.ko
		<!-- Needed by Avro { -->
76
		<dependency>
77
			<groupId>org.apache.avro</groupId>
78
			<artifactId>avro</artifactId>
79 26521 marek.hors
			<version>${iis.avro.version}</version>
80 17252 mateusz.ko
		</dependency>
81
		<dependency>
82
			<groupId>org.apache.avro</groupId>
83
			<artifactId>avro-mapred</artifactId>
84 26521 marek.hors
			<version>${iis.avro.version}</version>
85 17351 mateusz.ko
			<classifier>hadoop2</classifier>
86 17252 mateusz.ko
		</dependency>
87 17351 mateusz.ko
		<!-- 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 17252 mateusz.ko
		<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 19712 marek.hors
			<version>${iis.oozie.version}</version>
102 19819 marek.hors
			<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 17252 mateusz.ko
			<type>test-jar</type>
109
			<scope>test</scope>
110
		</dependency>
111
		<dependency>
112
			<groupId>org.apache.hadoop</groupId>
113
			<artifactId>hadoop-hdfs</artifactId>
114 19712 marek.hors
			<version>${iis.hadoop.hdfs.version}</version>
115 19819 marek.hors
			<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 17252 mateusz.ko
			<type>test-jar</type>
122
			<scope>test</scope>
123
		</dependency>
124
		<dependency>
125
			<groupId>org.apache.hadoop</groupId>
126
			<artifactId>hadoop-test</artifactId>
127 19712 marek.hors
			<version>${iis.hadoop.test.version}</version>
128 17252 mateusz.ko
			<scope>test</scope>
129
		</dependency>
130
		<dependency>
131
			<groupId>org.apache.hadoop</groupId>
132
			<artifactId>hadoop-common</artifactId>
133 19712 marek.hors
			<version>${iis.hadoop.common.version}</version>
134 17252 mateusz.ko
			<type>test-jar</type>
135
			<scope>test</scope>
136
		</dependency>
137
		<!-- Needed by Oozie tests } -->
138 16877 marek.hors
	</dependencies>
139
	<build>
140 17252 mateusz.ko
		<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 26521 marek.hors
				<version>${iis.avro.version}</version>
146 17252 mateusz.ko
				<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 17852 mateusz.ko
											[1.7.4,)
201 17252 mateusz.ko
										</versionRange>
202
										<goals>
203
											<goal>idl-protocol</goal>
204
											<goal>schema</goal>
205
										</goals>
206
									</pluginExecutionFilter>
207
									<action>
208 33725 marek.hors
										<ignore />
209 17252 mateusz.ko
									</action>
210
								</pluginExecution>
211 17275 marek.hors
								<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 33725 marek.hors
										<ignore />
228 17275 marek.hors
									</action>
229
								</pluginExecution>
230 17252 mateusz.ko
							</pluginExecutions>
231
						</lifecycleMappingMetadata>
232
					</configuration>
233
				</plugin>
234
			</plugins>
235
		</pluginManagement>
236 16877 marek.hors
	</build>
237
	<repositories>
238 16907 marek.hors
		<!-- 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 16877 marek.hors
	</repositories>
245
</project>