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</version>
7
	</parent>
8
	<modelVersion>4.0.0</modelVersion>
9
	<artifactId>uoa-iis-referenceextraction</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/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.oozie</groupId>
88
            		<artifactId>oozie-sharelib-streaming</artifactId>
89
            		<version>${iis.oozie.version}</version>
90
            		<type>jar</type>
91
        	</dependency>
92
		<dependency>
93
			<groupId>org.apache.hadoop</groupId>
94
			<artifactId>hadoop-hdfs</artifactId>
95
			<version>${iis.hadoop.hdfs.version}</version>
96
			<type>test-jar</type>
97
			<scope>test</scope>
98
		</dependency>
99
		<dependency>
100
			<groupId>org.apache.hadoop</groupId>
101
			<artifactId>hadoop-test</artifactId>
102
			<version>${iis.hadoop.test.version}</version>
103
			<scope>test</scope>
104
		</dependency>
105
		<dependency>
106
			<groupId>org.apache.hadoop</groupId>
107
			<artifactId>hadoop-common</artifactId>
108
			<version>${iis.hadoop.common.version}</version>
109
			<type>test-jar</type>
110
			<scope>test</scope>
111
		</dependency>
112
		<!-- Needed by Oozie tests } -->
113
		<dependency>
114
			<groupId>eu.dnetlib</groupId>
115
			<artifactId>uoa-iis-3rdparty-madis</artifactId>
116
			<version>[1.0.0,2.0.0)</version>
117
        </dependency>
118
	</dependencies>
119
	<build>
120
		<plugins>
121
			<!-- Plugin that generates Java classes from Avro schemas -->
122
			<plugin>
123
				<groupId>org.apache.avro</groupId>
124
				<artifactId>avro-maven-plugin</artifactId>
125
				<version>${iis.avro.version}</version>
126
				<executions>
127
					<execution>
128
						<phase>generate-sources</phase>
129
						<goals>
130
							<goal>schema</goal>
131
							<goal>idl-protocol</goal>
132
						</goals>
133
						<configuration>
134
							<sourceDirectory>${project.basedir}/src/test/resources/</sourceDirectory>
135
							<outputDirectory>${project.basedir}/target/generated-sources/java/</outputDirectory>
136
						</configuration>
137
					</execution>
138
				</executions>
139
			</plugin>
140
			<!-- This plugin makes the Maven->Update Project Configuration not forget 
141
				about the "target/generated-sources/java" source path -->
142
			<plugin>
143
				<groupId>org.codehaus.mojo</groupId>
144
				<artifactId>build-helper-maven-plugin</artifactId>
145
				<executions>
146
					<execution>
147
						<id>add-source</id>
148
						<phase>generate-sources</phase>
149
						<goals>
150
							<goal>add-source</goal>
151
						</goals>
152
						<configuration>
153
							<sources>
154
								<source>${project.build.directory}/generated-sources/java/</source>
155
							</sources>
156
						</configuration>
157
					</execution>
158
				</executions>
159
			</plugin>
160
		</plugins>
161
		<pluginManagement>
162
			<plugins>
163
				<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
164
				<plugin>
165
					<groupId>org.eclipse.m2e</groupId>
166
					<artifactId>lifecycle-mapping</artifactId>
167
					<version>1.0.0</version>
168
					<configuration>
169
						<lifecycleMappingMetadata>
170
							<pluginExecutions>
171
								<pluginExecution>
172
									<pluginExecutionFilter>
173
										<groupId>
174
											org.codehaus.mojo
175
										</groupId>
176
										<artifactId>
177
											build-helper-maven-plugin
178
										</artifactId>
179
										<versionRange>
180
											[1.7,)
181
										</versionRange>
182
										<goals>
183
											<goal>add-source</goal>
184
										</goals>
185
									</pluginExecutionFilter>
186
									<action>
187
										<ignore />
188
									</action>
189
								</pluginExecution>
190
								<pluginExecution>
191
									<pluginExecutionFilter>
192
										<groupId>
193
											org.apache.avro
194
										</groupId>
195
										<artifactId>
196
											avro-maven-plugin
197
										</artifactId>
198
										<versionRange>
199
											[1.7.4,)
200
										</versionRange>
201
										<goals>
202
											<goal>idl-protocol</goal>
203
											<goal>schema</goal>
204
										</goals>
205
									</pluginExecutionFilter>
206
									<action>
207
										<ignore />
208
									</action>
209
								</pluginExecution>
210
							</pluginExecutions>
211
						</lifecycleMappingMetadata>
212
					</configuration>
213
				</plugin>
214
			</plugins>
215
		</pluginManagement>
216
	</build>
217
</project>
(3-3/3)