Project

General

Profile

1 21514 marek.hors
<?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 21744 mateusz.ko
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4 21514 marek.hors
5 21744 mateusz.ko
	<parent>
6 26495 marek.hors
    		<groupId>eu.dnetlib</groupId>
7
	        <artifactId>dnet-hadoop-parent</artifactId>
8
            <version>1.0.0-SNAPSHOT</version>
9 21744 mateusz.ko
	</parent>
10 21514 marek.hors
11 21744 mateusz.ko
	<modelVersion>4.0.0</modelVersion>
12
	<artifactId>icm-iis-utils-contents</artifactId>
13
	<packaging>jar</packaging>
14 26495 marek.hors
	<version>1.0.0-SNAPSHOT</version>
15
16 21744 mateusz.ko
	<properties>
17
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18
	</properties>
19 21533 mateusz.ko
	<dependencies>
20
		<dependency>
21
			<groupId>eu.dnetlib</groupId>
22
			<artifactId>icm-iis-core</artifactId>
23 26495 marek.hors
			<version>1.0.0-SNAPSHOT</version>
24 21533 mateusz.ko
		</dependency>
25
		<dependency>
26
			<groupId>eu.dnetlib</groupId>
27
			<artifactId>icm-iis-schemas</artifactId>
28 26495 marek.hors
			<version>1.0.0-SNAPSHOT</version>
29 21533 mateusz.ko
		</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 21589 mateusz.ko
	<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 21744 mateusz.ko
								<exclude>**/schemas/avro/**</exclude>
60
								<exclude>**/schemas/protobuf/**</exclude>
61
							</excludes>
62 21589 mateusz.ko
							<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 21744 mateusz.ko
			<!-- This plugin makes the Maven->Update Project Configuration not forget
69
				about the "target/generated-sources/java" source path -->
70 21589 mateusz.ko
			<plugin>
71 21744 mateusz.ko
				<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 21589 mateusz.ko
		</plugins>
89
		<pluginManagement>
90
			<plugins>
91 21744 mateusz.ko
				<!--This plugin's configuration is used to store Eclipse m2e settings
92
					only. It has no influence on the Maven build itself. -->
93 21589 mateusz.ko
				<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 21533 mateusz.ko
	<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 26548 marek.hors
    	<!-- Sandro removed this repository from parent pom, need to define here until moving artifacts from dnet-snapshot to dnet-spring-snapshot repository -->
158 28744 marek.hors
    	<!--
159 26548 marek.hors
		<repository>
160
			<id>dnet-snapshots</id>
161
			<name>dnet-snapshots</name>
162
			<url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet-snapshots</url>
163
			<layout>default</layout>
164
			<snapshots>
165
				<enabled>true</enabled>
166
			</snapshots>
167
		</repository>
168 28744 marek.hors
		 -->
169 26548 marek.hors
  </repositories>
170 21533 mateusz.ko
</project>