Project

General

Profile

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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
	<parent>
4
    		<groupId>eu.dnetlib</groupId>
5
	        <artifactId>dnet45-parent</artifactId>
6
            <version>1.0.0</version>
7
	</parent>
8
	<modelVersion>4.0.0</modelVersion>
9
	<artifactId>icm-iis-3rdparty-avrojsoncoders</artifactId>
10
	<packaging>jar</packaging>
11
	<version>1.0.4-SNAPSHOT</version>
12

    
13
	<scm>
14
	    <developerConnection>
15
    		scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet45/modules/icm-iis-3rdparty-avrojsoncoders/trunk
16
	    </developerConnection>
17
	 </scm>
18
	
19
	<properties>
20
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21
	</properties>
22
	<dependencies>
23
		<dependency>
24
			<groupId>junit</groupId>
25
			<artifactId>junit</artifactId>
26
			<version>4.10</version>
27
			<scope>test</scope>
28
		</dependency>
29
		<dependency>
30
			<groupId>org.apache.avro</groupId>
31
			<artifactId>avro</artifactId>
32
			<version>${iis.avro.version}</version>
33
		</dependency>
34
	</dependencies>
35
	<build>
36
		<plugins>
37
			<!-- Plugin that generates Java classes from Avro schemas -->
38
			<plugin>
39
				<groupId>org.apache.avro</groupId>
40
				<artifactId>avro-maven-plugin</artifactId>
41
				<version>${iis.avro.version}</version>
42
				<executions>
43
					<execution>
44
						<phase>generate-sources</phase>
45
						<goals>
46
							<goal>schema</goal>
47
							<goal>idl-protocol</goal>
48
						</goals>
49
						<configuration>
50
							<sourceDirectory>${project.basedir}/src/test/resources/</sourceDirectory>
51
							<outputDirectory>${project.basedir}/target/generated-sources/java/</outputDirectory>
52
						</configuration>
53
					</execution>
54
				</executions>
55
			</plugin>
56
			<!-- This plugin makes the Maven->Update Project Configuration not forget 
57
				about the "target/generated-sources/java" source path -->
58
			<plugin>
59
				<groupId>org.codehaus.mojo</groupId>
60
				<artifactId>build-helper-maven-plugin</artifactId>
61
				<executions>
62
					<execution>
63
						<id>add-source</id>
64
						<phase>generate-sources</phase>
65
						<goals>
66
							<goal>add-source</goal>
67
						</goals>
68
						<configuration>
69
							<sources>
70
								<source>${project.build.directory}/generated-sources/java/</source>
71
							</sources>
72
						</configuration>
73
					</execution>
74
				</executions>
75
			</plugin>
76
		</plugins>
77
		<pluginManagement>
78
			<plugins>
79
				<!--This plugin's configuration is used to store Eclipse m2e settings 
80
					only. It has no influence on the Maven build itself. -->
81
				<plugin>
82
					<groupId>org.eclipse.m2e</groupId>
83
					<artifactId>lifecycle-mapping</artifactId>
84
					<version>1.0.0</version>
85
					<configuration>
86
						<lifecycleMappingMetadata>
87
							<pluginExecutions>
88
								<pluginExecution>
89
									<pluginExecutionFilter>
90
										<groupId>
91
											org.apache.avro
92
										</groupId>
93
										<artifactId>
94
											avro-maven-plugin
95
										</artifactId>
96
										<versionRange>
97
											[1.7.4,)
98
										</versionRange>
99
										<goals>
100
											<goal>idl-protocol</goal>
101
											<goal>schema</goal>
102
										</goals>
103
									</pluginExecutionFilter>
104
									<action>
105
										<ignore />
106
									</action>
107
								</pluginExecution>
108
								<pluginExecution>
109
									<pluginExecutionFilter>
110
										<groupId>
111
											org.codehaus.mojo
112
										</groupId>
113
										<artifactId>
114
											build-helper-maven-plugin
115
										</artifactId>
116
										<versionRange>
117
											[1.7,)
118
										</versionRange>
119
										<goals>
120
											<goal>add-source</goal>
121
										</goals>
122
									</pluginExecutionFilter>
123
									<action>
124
										<ignore />
125
									</action>
126
								</pluginExecution>
127
							</pluginExecutions>
128
						</lifecycleMappingMetadata>
129
					</configuration>
130
				</plugin>
131
			</plugins>
132
		</pluginManagement>
133
	</build>
134
	<repositories>
135
	</repositories>
136
</project>
(2-2/2)