1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
3
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
5
|
<modelVersion>4.0.0</modelVersion>
|
6
|
|
7
|
<parent>
|
8
|
<groupId>eu.dnetlib.dhp</groupId>
|
9
|
<artifactId>dhp</artifactId>
|
10
|
<version>1.0.0-SNAPSHOT</version>
|
11
|
</parent>
|
12
|
|
13
|
<artifactId>dhp-common</artifactId>
|
14
|
<packaging>jar</packaging>
|
15
|
|
16
|
<dependencies>
|
17
|
|
18
|
<dependency>
|
19
|
<groupId>${project.groupId}</groupId>
|
20
|
<artifactId>dhp-schemas</artifactId>
|
21
|
<version>${project.version}</version>
|
22
|
</dependency>
|
23
|
|
24
|
<dependency>
|
25
|
<groupId>org.apache.oozie</groupId>
|
26
|
<artifactId>oozie-core</artifactId>
|
27
|
<scope>provided</scope>
|
28
|
</dependency>
|
29
|
|
30
|
<dependency>
|
31
|
<groupId>org.apache.hadoop</groupId>
|
32
|
<artifactId>hadoop-mapreduce-client-core</artifactId>
|
33
|
</dependency>
|
34
|
|
35
|
<dependency>
|
36
|
<groupId>org.apache.hadoop</groupId>
|
37
|
<artifactId>hadoop-common</artifactId>
|
38
|
</dependency>
|
39
|
|
40
|
<dependency>
|
41
|
<groupId>org.apache.spark</groupId>
|
42
|
<artifactId>spark-core_2.10</artifactId>
|
43
|
</dependency>
|
44
|
|
45
|
<dependency>
|
46
|
<groupId>org.apache.spark</groupId>
|
47
|
<artifactId>spark-sql_2.10</artifactId>
|
48
|
</dependency>
|
49
|
|
50
|
<dependency>
|
51
|
<groupId>org.apache.avro</groupId>
|
52
|
<artifactId>avro</artifactId>
|
53
|
</dependency>
|
54
|
|
55
|
<dependency>
|
56
|
<groupId>org.apache.avro</groupId>
|
57
|
<artifactId>avro-mapred</artifactId>
|
58
|
<classifier>hadoop2</classifier>
|
59
|
</dependency>
|
60
|
|
61
|
<dependency>
|
62
|
<groupId>org.apache.commons</groupId>
|
63
|
<artifactId>commons-lang3</artifactId>
|
64
|
</dependency>
|
65
|
|
66
|
<dependency>
|
67
|
<!-- required by caching mechanism for setting chmod -->
|
68
|
<groupId>org.springframework</groupId>
|
69
|
<artifactId>spring-beans</artifactId>
|
70
|
</dependency>
|
71
|
|
72
|
<dependency>
|
73
|
<groupId>com.beust</groupId>
|
74
|
<artifactId>jcommander</artifactId>
|
75
|
</dependency>
|
76
|
|
77
|
<dependency>
|
78
|
<groupId>org.apache.pig</groupId>
|
79
|
<artifactId>pig</artifactId>
|
80
|
</dependency>
|
81
|
|
82
|
<dependency>
|
83
|
<groupId>com.linkedin.datafu</groupId>
|
84
|
<artifactId>datafu</artifactId>
|
85
|
</dependency>
|
86
|
|
87
|
<dependency>
|
88
|
<groupId>commons-beanutils</groupId>
|
89
|
<artifactId>commons-beanutils</artifactId>
|
90
|
</dependency>
|
91
|
|
92
|
<dependency>
|
93
|
<groupId>commons-io</groupId>
|
94
|
<artifactId>commons-io</artifactId>
|
95
|
</dependency>
|
96
|
|
97
|
<dependency>
|
98
|
<groupId>org.jdom</groupId>
|
99
|
<artifactId>jdom</artifactId>
|
100
|
</dependency>
|
101
|
|
102
|
</dependencies>
|
103
|
|
104
|
<build>
|
105
|
<plugins>
|
106
|
<plugin>
|
107
|
<groupId>net.alchim31.maven</groupId>
|
108
|
<artifactId>scala-maven-plugin</artifactId>
|
109
|
</plugin>
|
110
|
|
111
|
<!-- Plugin that generates Java classes from Avro schemas -->
|
112
|
<plugin>
|
113
|
<groupId>org.apache.avro</groupId>
|
114
|
<artifactId>avro-maven-plugin</artifactId>
|
115
|
<executions>
|
116
|
<execution>
|
117
|
<phase>generate-test-sources</phase>
|
118
|
<goals>
|
119
|
<goal>schema</goal>
|
120
|
<goal>idl-protocol</goal>
|
121
|
</goals>
|
122
|
<configuration>
|
123
|
<stringType>String</stringType>
|
124
|
</configuration>
|
125
|
</execution>
|
126
|
</executions>
|
127
|
</plugin>
|
128
|
|
129
|
<plugin>
|
130
|
<groupId>org.codehaus.mojo</groupId>
|
131
|
<artifactId>build-helper-maven-plugin</artifactId>
|
132
|
<executions>
|
133
|
<execution>
|
134
|
<id>add-test-sources</id>
|
135
|
<phase>generate-test-sources</phase>
|
136
|
<goals>
|
137
|
<goal>add-test-source</goal>
|
138
|
</goals>
|
139
|
<configuration>
|
140
|
<sources>
|
141
|
<source>${project.build.directory}/generated-test-sources/avro/</source>
|
142
|
</sources>
|
143
|
</configuration>
|
144
|
</execution>
|
145
|
</executions>
|
146
|
</plugin>
|
147
|
|
148
|
<!-- Plugin that generates jar with test classes -->
|
149
|
<plugin>
|
150
|
<groupId>org.apache.maven.plugins</groupId>
|
151
|
<artifactId>maven-jar-plugin</artifactId>
|
152
|
<executions>
|
153
|
<execution>
|
154
|
<goals>
|
155
|
<goal>test-jar</goal>
|
156
|
</goals>
|
157
|
</execution>
|
158
|
</executions>
|
159
|
</plugin>
|
160
|
|
161
|
<plugin>
|
162
|
<groupId>org.apache.maven.plugins</groupId>
|
163
|
<artifactId>maven-surefire-plugin</artifactId>
|
164
|
<configuration>
|
165
|
<excludedGroups>eu.dnetlib.iis.common.IntegrationTest</excludedGroups>
|
166
|
</configuration>
|
167
|
</plugin>
|
168
|
|
169
|
<plugin>
|
170
|
<groupId>org.apache.maven.plugins</groupId>
|
171
|
<artifactId>maven-failsafe-plugin</artifactId>
|
172
|
</plugin>
|
173
|
|
174
|
</plugins>
|
175
|
</build>
|
176
|
|
177
|
</project>
|