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"
|
3
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
4
|
|
5
|
<parent>
|
6
|
<groupId>eu.dnetlib</groupId>
|
7
|
<artifactId>dnet-hadoop-parent</artifactId>
|
8
|
<version>1.0.0-SNAPSHOT</version>
|
9
|
</parent>
|
10
|
|
11
|
<modelVersion>4.0.0</modelVersion>
|
12
|
<artifactId>icm-iis-utils-contents</artifactId>
|
13
|
<packaging>jar</packaging>
|
14
|
<version>1.0.0-SNAPSHOT</version>
|
15
|
|
16
|
<properties>
|
17
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
18
|
</properties>
|
19
|
<dependencies>
|
20
|
<dependency>
|
21
|
<groupId>eu.dnetlib</groupId>
|
22
|
<artifactId>icm-iis-core</artifactId>
|
23
|
<version>1.0.0-SNAPSHOT</version>
|
24
|
</dependency>
|
25
|
<dependency>
|
26
|
<groupId>eu.dnetlib</groupId>
|
27
|
<artifactId>icm-iis-schemas</artifactId>
|
28
|
<version>1.0.0-SNAPSHOT</version>
|
29
|
</dependency>
|
30
|
<dependency>
|
31
|
<groupId>org.apache.hadoop</groupId>
|
32
|
<artifactId>hadoop-common</artifactId>
|
33
|
<version>${iis.hadoop.common.version}</version>
|
34
|
<scope>provided</scope>
|
35
|
</dependency>
|
36
|
<dependency>
|
37
|
<groupId>junit</groupId>
|
38
|
<artifactId>junit</artifactId>
|
39
|
<version>4.10</version>
|
40
|
<scope>test</scope>
|
41
|
</dependency>
|
42
|
</dependencies>
|
43
|
<build>
|
44
|
<plugins>
|
45
|
<!-- Plugin that generates Java classes from Avro schemas -->
|
46
|
<plugin>
|
47
|
<groupId>org.apache.avro</groupId>
|
48
|
<artifactId>avro-maven-plugin</artifactId>
|
49
|
<version>1.7.4</version>
|
50
|
<executions>
|
51
|
<execution>
|
52
|
<phase>generate-sources</phase>
|
53
|
<goals>
|
54
|
<goal>schema</goal>
|
55
|
<goal>idl-protocol</goal>
|
56
|
</goals>
|
57
|
<configuration>
|
58
|
<excludes>
|
59
|
<exclude>**/schemas/avro/**</exclude>
|
60
|
<exclude>**/schemas/protobuf/**</exclude>
|
61
|
</excludes>
|
62
|
<sourceDirectory>${project.basedir}/src/main/resources</sourceDirectory>
|
63
|
<outputDirectory>${project.basedir}/target/generated-sources/java/</outputDirectory>
|
64
|
</configuration>
|
65
|
</execution>
|
66
|
</executions>
|
67
|
</plugin>
|
68
|
<!-- This plugin makes the Maven->Update Project Configuration not forget
|
69
|
about the "target/generated-sources/java" source path -->
|
70
|
<plugin>
|
71
|
<groupId>org.codehaus.mojo</groupId>
|
72
|
<artifactId>build-helper-maven-plugin</artifactId>
|
73
|
<executions>
|
74
|
<execution>
|
75
|
<id>add-source</id>
|
76
|
<phase>generate-sources</phase>
|
77
|
<goals>
|
78
|
<goal>add-source</goal>
|
79
|
</goals>
|
80
|
<configuration>
|
81
|
<sources>
|
82
|
<source>${project.build.directory}/generated-sources/java/</source>
|
83
|
</sources>
|
84
|
</configuration>
|
85
|
</execution>
|
86
|
</executions>
|
87
|
</plugin>
|
88
|
</plugins>
|
89
|
<pluginManagement>
|
90
|
<plugins>
|
91
|
<!--This plugin's configuration is used to store Eclipse m2e settings
|
92
|
only. It has no influence on the Maven build itself. -->
|
93
|
<plugin>
|
94
|
<groupId>org.eclipse.m2e</groupId>
|
95
|
<artifactId>lifecycle-mapping</artifactId>
|
96
|
<version>1.0.0</version>
|
97
|
<configuration>
|
98
|
<lifecycleMappingMetadata>
|
99
|
<pluginExecutions>
|
100
|
<pluginExecution>
|
101
|
<pluginExecutionFilter>
|
102
|
<groupId>
|
103
|
org.apache.avro
|
104
|
</groupId>
|
105
|
<artifactId>
|
106
|
avro-maven-plugin
|
107
|
</artifactId>
|
108
|
<versionRange>
|
109
|
[1.7.4,)
|
110
|
</versionRange>
|
111
|
<goals>
|
112
|
<goal>idl-protocol</goal>
|
113
|
<goal>schema</goal>
|
114
|
</goals>
|
115
|
</pluginExecutionFilter>
|
116
|
<action>
|
117
|
<ignore></ignore>
|
118
|
</action>
|
119
|
</pluginExecution>
|
120
|
<pluginExecution>
|
121
|
<pluginExecutionFilter>
|
122
|
<groupId>
|
123
|
org.codehaus.mojo
|
124
|
</groupId>
|
125
|
<artifactId>
|
126
|
build-helper-maven-plugin
|
127
|
</artifactId>
|
128
|
<versionRange>
|
129
|
[1.7,)
|
130
|
</versionRange>
|
131
|
<goals>
|
132
|
<goal>add-source</goal>
|
133
|
</goals>
|
134
|
</pluginExecutionFilter>
|
135
|
<action>
|
136
|
<ignore></ignore>
|
137
|
</action>
|
138
|
</pluginExecution>
|
139
|
</pluginExecutions>
|
140
|
</lifecycleMappingMetadata>
|
141
|
</configuration>
|
142
|
</plugin>
|
143
|
</plugins>
|
144
|
</pluginManagement>
|
145
|
</build>
|
146
|
<repositories>
|
147
|
<repository>
|
148
|
<id>cloudera</id>
|
149
|
<url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
|
150
|
<releases>
|
151
|
<enabled>true</enabled>
|
152
|
</releases>
|
153
|
<snapshots>
|
154
|
<enabled>false</enabled>
|
155
|
</snapshots>
|
156
|
</repository>
|
157
|
</repositories>
|
158
|
</project>
|