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-collapsers</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-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
		<dependency>
64
			<groupId>org.apache.hadoop</groupId>
65
			<artifactId>hadoop-hdfs</artifactId>
66
			<version>${iis.hadoop.hdfs.version}</version>
67
			<scope>test</scope>
68
		</dependency>
69
		<!-- end of required after introducing 'provided' scope for hadoop dependencies -->
70
		<dependency>
71
			<groupId>org.apache.oozie</groupId>
72
			<artifactId>oozie-core</artifactId>
73
			<version>${iis.oozie.version}</version>
74
			<type>test-jar</type>
75
			<scope>test</scope>
76
		</dependency>
77
		<dependency>
78
			<groupId>org.apache.hadoop</groupId>
79
			<artifactId>hadoop-hdfs</artifactId>
80
			<version>${iis.hadoop.hdfs.version}</version>
81
			<type>test-jar</type>
82
			<scope>test</scope>
83
		</dependency>
84
        <dependency>
85
			<groupId>org.apache.hadoop</groupId>
86
			<artifactId>hadoop-core</artifactId>
87
			<version>${iis.hadoop.core.version}</version>
88
		</dependency>
89
		<dependency>
90
			<groupId>org.apache.hadoop</groupId>
91
			<artifactId>hadoop-test</artifactId>
92
			<version>${iis.hadoop.test.version}</version>
93
			<scope>test</scope>
94
		</dependency>
95
		<dependency>
96
			<groupId>org.apache.hadoop</groupId>
97
			<artifactId>hadoop-common</artifactId>
98
			<version>${iis.hadoop.common.version}</version>
99
			<type>test-jar</type>
100
			<scope>test</scope>
101
		</dependency>
102
		<!-- Needed by Oozie tests } -->
103
		<!-- Needed to run Pig jobs { -->
104
		<dependency>
105
			<groupId>org.apache.pig</groupId>
106
			<artifactId>pig</artifactId>
107
			<version>${iis.pig.version}</version>
108
			<!-- this lib cannot be set to provided -->
109
		</dependency>
110
		
111
	    <!-- replacing hacked pig-avrostorage with original pig -->
112
	    <!-- 
113
	    <dependency>
114
			<groupId>eu.dnetlib</groupId>
115
			<artifactId>icm-iis-3rdparty-pig-avrostorage</artifactId>
116
			<version>[1.0.0,2.0.0)</version>
117
			<type>jar</type>
118
		</dependency>
119
		 -->
120
		<dependency>
121
			<groupId>org.apache.pig</groupId>
122
			<artifactId>piggybank</artifactId>
123
			<version>${iis.pig.version}</version>
124
		</dependency>
125
		
126
		<!-- Needed to run Pig jobs } -->
127
        <dependency>
128
            <groupId>com.google.guava</groupId>
129
            <artifactId>guava</artifactId>
130
            <version>17.0</version>
131
        </dependency>
132
	</dependencies>
133

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

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

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