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