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>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</version>
35
		</dependency>
36
		<dependency>
37
			<groupId>eu.dnetlib</groupId>
38
			<artifactId>icm-iis-core</artifactId>
39
			<version>1.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</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
	    <dependency>
118
			<groupId>eu.dnetlib</groupId>
119
			<artifactId>icm-iis-3rdparty-pig-avrostorage</artifactId>
120
			<version>1.0.0</version>
121
			<type>jar</type>
122
		</dependency>
123
		<!-- Needed to run Pig jobs } -->
124
        <dependency>
125
            <groupId>com.google.guava</groupId>
126
            <artifactId>guava</artifactId>
127
            <version>17.0</version>
128
        </dependency>
129
	</dependencies>
130

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

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

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