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>uoa-iis-referenceextraction</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/uoa-iis-referenceextraction/trunk
16
	  </developerConnection>
17
	</scm>
18
	
19
	<properties>
20
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21
	</properties>
22
	<dependencies>
23
		<dependency>
24
			<groupId>eu.dnetlib</groupId>
25
			<artifactId>icm-iis-core</artifactId>
26
			<version>[1.0.0,2.0.0)</version>
27
		</dependency>
28
		<dependency>
29
			<groupId>eu.dnetlib</groupId>
30
			<artifactId>icm-iis-core</artifactId>
31
			<version>[1.0.0,2.0.0)</version>
32
			<type>test-jar</type>
33
			<scope>test</scope>
34
		</dependency>
35
		<dependency>
36
			<groupId>eu.dnetlib</groupId>
37
			<artifactId>icm-iis-schemas</artifactId>
38
			<version>[1.0.0,2.0.0)</version>
39
		</dependency>
40
		
41
		<!-- required after introducing 'provided' scope for hadoop libs -->
42
		<dependency>
43
			<groupId>org.apache.hadoop</groupId>
44
			<artifactId>hadoop-hdfs</artifactId>
45
			<version>${iis.hadoop.hdfs.version}</version>
46
			<scope>provided</scope>
47
		</dependency>
48
		<dependency>
49
			<groupId>org.apache.oozie</groupId>
50
			<artifactId>oozie-core</artifactId>
51
			<version>${iis.oozie.version}</version>
52
			
53
		</dependency>
54
				<dependency>
55
			<groupId>org.apache.hadoop</groupId>
56
			<artifactId>hadoop-common</artifactId>
57
			<version>${iis.hadoop.common.version}</version>
58
			<scope>provided</scope>
59
		</dependency>
60
		<!-- Needed by our Hadoop Streaming workflow node {-->
61
		<dependency>
62
			<groupId>eu.dnetlib</groupId>
63
			<artifactId>icm-iis-3rdparty-avro-json</artifactId>
64
			<version>[1.0,2.0)</version>
65
		</dependency>
66
		<dependency>
67
			<groupId>org.apache.hadoop</groupId>
68
			<artifactId>hadoop-streaming</artifactId>
69
			<version>${iis.hadoop.streaming.version}</version>
70
			<exclusions>
71
				<exclusion>
72
					<groupId>org.apache.hadoop</groupId>
73
            		<artifactId>hadoop-core</artifactId>
74
				</exclusion>
75
			</exclusions>
76
		</dependency>
77
		<!-- Needed by our Hadoop Streaming workflow node }-->
78
		<!-- Needed by Oozie tests { -->
79
		<dependency>
80
			<groupId>org.apache.oozie</groupId>
81
			<artifactId>oozie-core</artifactId>
82
			<version>${iis.oozie.version}</version>
83
			<type>test-jar</type>
84
			<scope>test</scope>
85
		</dependency>
86
		<dependency>
87
			<groupId>org.apache.hadoop</groupId>
88
			<artifactId>hadoop-hdfs</artifactId>
89
			<version>${iis.hadoop.hdfs.version}</version>
90
			<type>test-jar</type>
91
			<scope>test</scope>
92
		</dependency>
93
		<dependency>
94
			<groupId>org.apache.hadoop</groupId>
95
			<artifactId>hadoop-test</artifactId>
96
			<version>${iis.hadoop.test.version}</version>
97
			<scope>test</scope>
98
		</dependency>
99
		<dependency>
100
			<groupId>org.apache.hadoop</groupId>
101
			<artifactId>hadoop-common</artifactId>
102
			<version>${iis.hadoop.common.version}</version>
103
			<type>test-jar</type>
104
			<scope>test</scope>
105
		</dependency>
106
		<!-- Needed by Oozie tests } -->
107
		<dependency>
108
			<groupId>eu.dnetlib</groupId>
109
			<artifactId>uoa-iis-3rdparty-madis</artifactId>
110
			<version>[1.0.0,2.0.0)</version>
111
        </dependency>
112
	</dependencies>
113
	<build>
114
		<plugins>
115
			<!-- Plugin that generates Java classes from Avro schemas -->
116
			<plugin>
117
				<groupId>org.apache.avro</groupId>
118
				<artifactId>avro-maven-plugin</artifactId>
119
				<executions>
120
					<execution>
121
						<phase>generate-sources</phase>
122
						<goals>
123
							<goal>schema</goal>
124
							<goal>idl-protocol</goal>
125
						</goals>
126
						<configuration>
127
							<sourceDirectory>${project.basedir}/src/test/resources/</sourceDirectory>
128
							<outputDirectory>${project.basedir}/target/generated-sources/java/</outputDirectory>
129
						</configuration>
130
					</execution>
131
				</executions>
132
			</plugin>
133
			<!-- This plugin makes the Maven->Update Project Configuration not forget 
134
				about the "target/generated-sources/java" source path -->
135
			<plugin>
136
				<groupId>org.codehaus.mojo</groupId>
137
				<artifactId>build-helper-maven-plugin</artifactId>
138
				<executions>
139
					<execution>
140
						<id>add-source</id>
141
						<phase>generate-sources</phase>
142
						<goals>
143
							<goal>add-source</goal>
144
						</goals>
145
						<configuration>
146
							<sources>
147
								<source>${project.build.directory}/generated-sources/java/</source>
148
							</sources>
149
						</configuration>
150
					</execution>
151
				</executions>
152
			</plugin>
153
		</plugins>
154
		<pluginManagement>
155
			<plugins>
156
				<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
157
				<plugin>
158
					<groupId>org.eclipse.m2e</groupId>
159
					<artifactId>lifecycle-mapping</artifactId>
160
					<version>1.0.0</version>
161
					<configuration>
162
						<lifecycleMappingMetadata>
163
							<pluginExecutions>
164
								<pluginExecution>
165
									<pluginExecutionFilter>
166
										<groupId>
167
											org.codehaus.mojo
168
										</groupId>
169
										<artifactId>
170
											build-helper-maven-plugin
171
										</artifactId>
172
										<versionRange>
173
											[1.7,)
174
										</versionRange>
175
										<goals>
176
											<goal>add-source</goal>
177
										</goals>
178
									</pluginExecutionFilter>
179
									<action>
180
										<ignore />
181
									</action>
182
								</pluginExecution>
183
								<pluginExecution>
184
									<pluginExecutionFilter>
185
										<groupId>
186
											org.apache.avro
187
										</groupId>
188
										<artifactId>
189
											avro-maven-plugin
190
										</artifactId>
191
										<versionRange>
192
											[1.7.4,)
193
										</versionRange>
194
										<goals>
195
											<goal>idl-protocol</goal>
196
											<goal>schema</goal>
197
										</goals>
198
									</pluginExecutionFilter>
199
									<action>
200
										<ignore />
201
									</action>
202
								</pluginExecution>
203
							</pluginExecutions>
204
						</lifecycleMappingMetadata>
205
					</configuration>
206
				</plugin>
207
			</plugins>
208
		</pluginManagement>
209
	</build>
210
</project>
(3-3/3)