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