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 33673 marek.hors
            <version>1.0.0</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 33673 marek.hors
			<version>1.4</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.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 19819 marek.hors
	    <!-- 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 17252 mateusz.ko
		<!-- Needed by Avro { -->
81
		<dependency>
82
			<groupId>org.apache.avro</groupId>
83
			<artifactId>avro</artifactId>
84 26521 marek.hors
			<version>${iis.avro.version}</version>
85 17252 mateusz.ko
		</dependency>
86
		<dependency>
87
			<groupId>org.apache.avro</groupId>
88
			<artifactId>avro-mapred</artifactId>
89 26521 marek.hors
			<version>${iis.avro.version}</version>
90 17351 mateusz.ko
			<classifier>hadoop2</classifier>
91 17252 mateusz.ko
		</dependency>
92 17351 mateusz.ko
		<!-- 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 17252 mateusz.ko
		<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 19712 marek.hors
			<version>${iis.oozie.version}</version>
107 19819 marek.hors
			<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 17252 mateusz.ko
			<type>test-jar</type>
114
			<scope>test</scope>
115
		</dependency>
116
		<dependency>
117
			<groupId>org.apache.hadoop</groupId>
118
			<artifactId>hadoop-hdfs</artifactId>
119 19712 marek.hors
			<version>${iis.hadoop.hdfs.version}</version>
120 19819 marek.hors
			<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 17252 mateusz.ko
			<type>test-jar</type>
127
			<scope>test</scope>
128
		</dependency>
129
		<dependency>
130
			<groupId>org.apache.hadoop</groupId>
131
			<artifactId>hadoop-test</artifactId>
132 19712 marek.hors
			<version>${iis.hadoop.test.version}</version>
133 17252 mateusz.ko
			<scope>test</scope>
134
		</dependency>
135
		<dependency>
136
			<groupId>org.apache.hadoop</groupId>
137
			<artifactId>hadoop-common</artifactId>
138 19712 marek.hors
			<version>${iis.hadoop.common.version}</version>
139 17252 mateusz.ko
			<type>test-jar</type>
140
			<scope>test</scope>
141
		</dependency>
142
		<!-- Needed by Oozie tests } -->
143 16877 marek.hors
	</dependencies>
144
	<build>
145 17252 mateusz.ko
		<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 26521 marek.hors
				<version>${iis.avro.version}</version>
151 17252 mateusz.ko
				<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 17852 mateusz.ko
											[1.7.4,)
206 17252 mateusz.ko
										</versionRange>
207
										<goals>
208
											<goal>idl-protocol</goal>
209
											<goal>schema</goal>
210
										</goals>
211
									</pluginExecutionFilter>
212
									<action>
213 33725 marek.hors
										<ignore />
214 17252 mateusz.ko
									</action>
215
								</pluginExecution>
216 17275 marek.hors
								<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 33725 marek.hors
										<ignore />
233 17275 marek.hors
									</action>
234
								</pluginExecution>
235 17252 mateusz.ko
							</pluginExecutions>
236
						</lifecycleMappingMetadata>
237
					</configuration>
238
				</plugin>
239
			</plugins>
240
		</pluginManagement>
241 16877 marek.hors
	</build>
242
	<repositories>
243 16907 marek.hors
		<!-- 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 16877 marek.hors
	</repositories>
250
</project>