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