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"
3
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
	<parent>
5
		<groupId>eu.dnetlib</groupId>
6
		<artifactId>icm-iis-parent-container</artifactId>
7
		<version>1.0.0-SNAPSHOT</version>
8
	</parent>
9
	<modelVersion>4.0.0</modelVersion>
10
	<artifactId>icm-iis-citationmatching</artifactId>
11
	<packaging>jar</packaging>
12
	<version>1.0.0-SNAPSHOT</version>
13

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