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-SNAPSHOT</version>
7
	</parent>
8
	<modelVersion>4.0.0</modelVersion>
9
	<artifactId>icm-iis-collapsers</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/icm-iis-collapsers/trunk
16
	  </developerConnection>
17
	</scm>
18
	
19
	<properties>
20
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21
        <scala.version>2.10.3</scala.version>
22
        <scala.binary.version>2.10</scala.binary.version>
23
	</properties>
24

    
25
	<dependencies>
26
        <dependency>
27
            <groupId>org.scala-lang</groupId>
28
            <artifactId>scala-library</artifactId>
29
            <version>${scala.version}</version>
30
        </dependency>
31
		<dependency>
32
			<groupId>eu.dnetlib</groupId>
33
			<artifactId>icm-iis-core</artifactId>
34
			<version>[1.0.0,2.0.0)</version>
35
		</dependency>
36
		<dependency>
37
			<groupId>eu.dnetlib</groupId>
38
			<artifactId>icm-iis-core</artifactId>
39
			<version>[1.0.0,2.0.0)</version>
40
			<type>test-jar</type>
41
			<scope>test</scope>
42
		</dependency>
43
        <dependency>
44
            <groupId>eu.dnetlib</groupId>
45
            <artifactId>icm-iis-schemas</artifactId>
46
            <version>[1.0.0,2.0.0)</version>
47
        </dependency>
48
        <!-- required after introducing 'provided' scope for hadoop libs -->
49
        <dependency>
50
			<groupId>org.apache.hadoop</groupId>
51
			<artifactId>hadoop-common</artifactId>
52
			<version>${iis.hadoop.common.version}</version>
53
			<scope>provided</scope>
54
		</dependency>
55
		<!-- Needed by Oozie tests { -->
56
		<!-- required after introducing 'provided' scope for hadoop dependencies -->
57
		<dependency>
58
			<groupId>org.apache.oozie</groupId>
59
			<artifactId>oozie-core</artifactId>
60
			<version>${iis.oozie.version}</version>
61
			<scope>test</scope>
62
		</dependency>
63
		<!-- PigMain was moved to oozie-sharelib-pig since cdh4.3.1 -->
64
		<dependency>
65
			<groupId>org.apache.oozie</groupId>
66
			<artifactId>oozie-sharelib-pig</artifactId>
67
			<version>${iis.oozie.version}</version>
68
			<scope>test</scope>
69
		</dependency>
70
		<dependency>
71
			<groupId>org.apache.hadoop</groupId>
72
			<artifactId>hadoop-hdfs</artifactId>
73
			<version>${iis.hadoop.hdfs.version}</version>
74
			<scope>test</scope>
75
		</dependency>
76
		<!-- end of required after introducing 'provided' scope for hadoop dependencies -->
77
		<dependency>
78
			<groupId>org.apache.oozie</groupId>
79
			<artifactId>oozie-core</artifactId>
80
			<version>${iis.oozie.version}</version>
81
			<type>test-jar</type>
82
			<scope>test</scope>
83
		</dependency>
84
		<dependency>
85
			<groupId>org.apache.hadoop</groupId>
86
			<artifactId>hadoop-hdfs</artifactId>
87
			<version>${iis.hadoop.hdfs.version}</version>
88
			<type>test-jar</type>
89
			<scope>test</scope>
90
		</dependency>
91
        <dependency>
92
			<groupId>org.apache.hadoop</groupId>
93
			<artifactId>hadoop-core</artifactId>
94
			<version>${iis.hadoop.core.version}</version>
95
		</dependency>
96
		<dependency>
97
			<groupId>org.apache.hadoop</groupId>
98
			<artifactId>hadoop-test</artifactId>
99
			<version>${iis.hadoop.test.version}</version>
100
			<scope>test</scope>
101
		</dependency>
102
		<dependency>
103
			<groupId>org.apache.hadoop</groupId>
104
			<artifactId>hadoop-common</artifactId>
105
			<version>${iis.hadoop.common.version}</version>
106
			<type>test-jar</type>
107
			<scope>test</scope>
108
		</dependency>
109
		<!-- Needed by Oozie tests } -->
110
		<!-- Needed to run Pig jobs { -->
111
		<dependency>
112
			<groupId>org.apache.pig</groupId>
113
			<artifactId>pig</artifactId>
114
			<version>${iis.pig.version}</version>
115
			<!-- this lib cannot be set to provided -->
116
		</dependency>
117
		
118
	    <!-- replacing hacked pig-avrostorage with original pig -->
119
	    <dependency>
120
			<groupId>eu.dnetlib</groupId>
121
			<artifactId>icm-iis-3rdparty-pig-avrostorage</artifactId>
122
			<version>[1.0.0,2.0.0)</version>
123
			<type>jar</type>
124
		</dependency>
125
		<!-- FIXME change to version bound with CDH5 when upgrading cluster -->
126
		<!--
127
		<dependency>
128
			<groupId>org.apache.pig</groupId>
129
			<artifactId>piggybank</artifactId>
130
			<version>${iis.pig.version}</version>
131
		</dependency>
132
		-->
133
		
134
		<!-- Needed to run Pig jobs } -->
135
        <dependency>
136
            <groupId>com.google.guava</groupId>
137
            <artifactId>guava</artifactId>
138
            <version>17.0</version>
139
        </dependency>
140
	</dependencies>
141

    
142
    <build>
143
        <pluginManagement>
144
            <plugins>
145
                <plugin>
146
                    <groupId>net.alchim31.maven</groupId>
147
                    <artifactId>scala-maven-plugin</artifactId>
148
                    <version>3.1.6</version>
149
                </plugin>
150
                <plugin>
151
                    <groupId>org.apache.maven.plugins</groupId>
152
                    <artifactId>maven-compiler-plugin</artifactId>
153
                    <version>2.0.2</version>
154
                </plugin>
155
            </plugins>
156
        </pluginManagement>
157
        <plugins>
158
            <plugin>
159
                <groupId>net.alchim31.maven</groupId>
160
                <artifactId>scala-maven-plugin</artifactId>
161
                <executions>
162
                    <execution>
163
                        <id>scala-compile-first</id>
164
                        <phase>process-resources</phase>
165
                        <goals>
166
                            <goal>add-source</goal>
167
                            <goal>compile</goal>
168
                        </goals>
169
                    </execution>
170
                    <execution>
171
                        <id>scala-test-compile</id>
172
                        <phase>process-test-resources</phase>
173
                        <goals>
174
                            <goal>testCompile</goal>
175
                        </goals>
176
                    </execution>
177
                </executions>
178
            </plugin>
179
            <plugin>
180
                <groupId>org.apache.maven.plugins</groupId>
181
                <artifactId>maven-compiler-plugin</artifactId>
182
                <executions>
183
                    <execution>
184
                        <phase>compile</phase>
185
                        <goals>
186
                            <goal>compile</goal>
187
                        </goals>
188
                    </execution>
189
                </executions>
190
            </plugin>
191
        </plugins>
192
    </build>
193

    
194
	<repositories>
195
	    <!-- This repository contains our patched 
196
	    version of "avro" and "avro-mapred" modules (see the dependencies section)
197
	    This entry might be removed when the patch to these modules becomes 
198
	    a part of the official Avro release.-->
199
	    <repository>
200
			<id>dnet-deps</id>
201
			<name>dnet dependencies</name>
202
			<url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet-deps</url>
203
			<releases>
204
				<enabled>true</enabled>
205
			</releases>
206
			<snapshots>
207
				<enabled>false</enabled>
208
			</snapshots>
209
			<layout>default</layout>
210
		</repository>
211
	</repositories>
212

    
213
</project>
(3-3/3)