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>dnet-parent</artifactId>
6
		<version>1.0.0</version>
7
		<relativePath />
8
	</parent>
9
	<modelVersion>4.0.0</modelVersion>
10
	<groupId>eu.dnetlib</groupId>
11
	<artifactId>dnet-openaire-data-protos</artifactId>
12
	<packaging>jar</packaging>
13
	<version>3.7.7-SNAPSHOT</version>
14
	<scm>
15
	  <developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/dnet-openaire-data-protos/trunk</developerConnection>
16
	</scm>
17

    
18
	<properties>
19
		<!-- defined also in dnet-parent, here in case we need to override -->
20
		<google.protobuf.version>2.4.1</google.protobuf.version>
21
	</properties>
22

    
23
	<pluginRepositories>
24
		<pluginRepository>
25
			<id>dnet4-bootstrap-release</id>
26
			<url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet4-bootstrap-release/</url>
27
		</pluginRepository>
28
	</pluginRepositories>
29

    
30
	<build>
31
		<plugins>
32
			<plugin>
33
				<groupId>eu.dnetlib</groupId>
34
				<artifactId>protoc-jar-maven-plugin</artifactId>
35
				<version>1.1.0</version>
36
				<executions>
37
					<execution>
38
						<phase>generate-sources</phase>
39
						<goals>
40
							<goal>run</goal>
41
						</goals>
42
						<configuration>
43
							<protocVersion>${google.protobuf.version}</protocVersion>
44
							<inputDirectories>
45
								<include>src/main/resources</include>
46
							</inputDirectories>
47
							<outputDirectory>src/gen/java</outputDirectory>
48
						</configuration>
49
					</execution>
50
				</executions>
51
			</plugin>
52
		</plugins>
53
	</build>
54
	<dependencies>
55
		<dependency>
56
			<groupId>com.google.protobuf</groupId>
57
			<artifactId>protobuf-java</artifactId>
58
			<version>${google.protobuf.version}</version>
59
		</dependency>		
60
	</dependencies>
61
</project>
(2-2/2)