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>icm-iis-collapsers</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
        <scala.version>2.10.3</scala.version>
16
        <scala.binary.version>2.10</scala.binary.version>
17
	</properties>
18

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

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

    
177
	<repositories>
178
	    <!-- This repository contains our patched 
179
	    version of "avro" and "avro-mapred" modules (see the dependencies section)
180
	    This entry might be removed when the patch to these modules becomes 
181
	    a part of the official Avro release.-->
182
	    <repository>
183
			<id>dnet-deps</id>
184
			<name>dnet dependencies</name>
185
			<url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet-deps</url>
186
			<releases>
187
				<enabled>true</enabled>
188
			</releases>
189
			<snapshots>
190
				<enabled>false</enabled>
191
			</snapshots>
192
			<layout>default</layout>
193
		</repository>
194
	</repositories>
195

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