Project

General

Profile

1 16880 marek.hors
<?xml version="1.0" encoding="UTF-8"?>
2 33534 marek.hors
<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 16880 marek.hors
	<parent>
4 26485 marek.hors
    		<groupId>eu.dnetlib</groupId>
5
	        <artifactId>dnet-hadoop-parent</artifactId>
6 33533 marek.hors
            <version>1.0.0</version>
7 16880 marek.hors
	</parent>
8
	<modelVersion>4.0.0</modelVersion>
9
	<artifactId>icm-iis-schemas</artifactId>
10
	<packaging>jar</packaging>
11 33536 marek.hors
	<version>1.0.1-SNAPSHOT</version>
12 33420 marek.hors
13
	<scm>
14
	  <developerConnection>
15 33536 marek.hors
	    scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/icm-iis-schemas/trunk
16 33420 marek.hors
	  </developerConnection>
17
	</scm>
18 26485 marek.hors
19 16880 marek.hors
	<properties>
20
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21
	</properties>
22
	<dependencies>
23 16957 mateusz.ko
		<dependency>
24 17109 marek.hors
			<groupId>org.apache.avro</groupId>
25
			<artifactId>avro</artifactId>
26 26522 marek.hors
			<version>${iis.avro.version}</version>
27 17109 marek.hors
		</dependency>
28 16880 marek.hors
	</dependencies>
29
	<build>
30 17109 marek.hors
		<plugins>
31
			<!-- Plugin that generates Java classes from Avro schemas -->
32
			<plugin>
33
				<groupId>org.apache.avro</groupId>
34
				<artifactId>avro-maven-plugin</artifactId>
35 26522 marek.hors
				<version>${iis.avro.version}</version>
36 17109 marek.hors
				<executions>
37
					<execution>
38
						<phase>generate-sources</phase>
39
						<goals>
40
							<goal>schema</goal>
41
							<goal>idl-protocol</goal>
42
						</goals>
43
						<configuration>
44 18192 marek.hors
							<excludes>
45
                                <exclude>**/schemas/avro/**</exclude>
46
                                <exclude>**/schemas/protobuf/**</exclude>
47
                            </excludes>
48
							<sourceDirectory>${project.basedir}/src/main/resources/eu/dnetlib/iis/</sourceDirectory>
49 17109 marek.hors
							<outputDirectory>${project.basedir}/target/generated-sources/java/</outputDirectory>
50
						</configuration>
51
					</execution>
52
				</executions>
53
			</plugin>
54
			<!-- This plugin makes the Maven->Update Project Configuration
55
			not forget about the "target/generated-sources/java" source path-->
56
			<plugin>
57
			    <groupId>org.codehaus.mojo</groupId>
58
			    <artifactId>build-helper-maven-plugin</artifactId>
59
			    <executions>
60
			        <execution>
61
			            <id>add-source</id>
62
			            <phase>generate-sources</phase>
63
			            <goals>
64
			                <goal>add-source</goal>
65
			            </goals>
66
			            <configuration>
67
			                <sources>
68
			                    <source>${project.build.directory}/generated-sources/java/</source>
69
			                </sources>
70
			            </configuration>
71
			        </execution>
72
			    </executions>
73
			 </plugin>
74
		</plugins>
75
		<pluginManagement>
76
			<plugins>
77
				<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
78
				<plugin>
79
					<groupId>org.eclipse.m2e</groupId>
80
					<artifactId>lifecycle-mapping</artifactId>
81
					<version>1.0.0</version>
82
					<configuration>
83
						<lifecycleMappingMetadata>
84
							<pluginExecutions>
85
								<pluginExecution>
86
									<pluginExecutionFilter>
87
										<groupId>
88
											org.apache.avro
89
										</groupId>
90
										<artifactId>
91
											avro-maven-plugin
92
										</artifactId>
93
										<versionRange>
94 17852 mateusz.ko
											[1.7.4,)
95 17109 marek.hors
										</versionRange>
96
										<goals>
97
											<goal>idl-protocol</goal>
98
											<goal>schema</goal>
99
										</goals>
100
									</pluginExecutionFilter>
101
									<action>
102 33534 marek.hors
										<ignore />
103 17109 marek.hors
									</action>
104
								</pluginExecution>
105
								<pluginExecution>
106
									<pluginExecutionFilter>
107
										<groupId>
108
											org.codehaus.mojo
109
										</groupId>
110
										<artifactId>
111
											build-helper-maven-plugin
112
										</artifactId>
113
										<versionRange>
114
											[1.7,)
115
										</versionRange>
116
										<goals>
117
											<goal>add-source</goal>
118
										</goals>
119
									</pluginExecutionFilter>
120
									<action>
121 33534 marek.hors
										<ignore />
122 17109 marek.hors
									</action>
123
								</pluginExecution>
124
							</pluginExecutions>
125
						</lifecycleMappingMetadata>
126
					</configuration>
127
				</plugin>
128
			</plugins>
129
		</pluginManagement>
130 16880 marek.hors
	</build>
131
	<repositories>
132
	</repositories>
133
</project>