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