<?xml version="1.0" encoding="UTF-8"?>
<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">
	<parent>
		<groupId>eu.dnetlib</groupId>
		<artifactId>dnet-parent</artifactId>
		<version>1.0.0</version>
		<relativePath />
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<groupId>eu.dnetlib</groupId>
	<artifactId>dnet-openaire-data-protos</artifactId>
	<packaging>jar</packaging>
	<version>3.7.8-proto250-SNAPSHOT</version>
	<scm>
	  <developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/dnet-openaire-data-protos/branches/IIS-CDH-5.3.0</developerConnection>
	</scm>

	<properties>
		<!-- defined also in dnet-parent, here in case we need to override -->
		<google.protobuf.version>2.5.0</google.protobuf.version>
	</properties>

	<pluginRepositories>
		<pluginRepository>
			<id>dnet4-bootstrap-release</id>
			<url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet4-bootstrap-release/</url>
		</pluginRepository>
	</pluginRepositories>

	<build>
		<plugins>
			<plugin>
				<groupId>eu.dnetlib</groupId>
				<artifactId>protoc-jar-maven-plugin</artifactId>
				<version>1.1.0</version>
				<executions>
					<execution>
						<phase>generate-sources</phase>
						<goals>
							<goal>run</goal>
						</goals>
						<configuration>
							<protocVersion>${google.protobuf.version}</protocVersion>
							<inputDirectories>
								<include>src/main/resources</include>
							</inputDirectories>
							<outputDirectory>src/gen/java</outputDirectory>
						</configuration>
					</execution>
				</executions>
			</plugin>
<!--
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>3.0.2</version>
				<extensions>false</extensions>
				<inherited>false</inherited>
				<configuration>
					<classifier>proto250</classifier>
				</configuration>
				<dependencies>
					<dependency>
						<groupId>com.google.protobuf</groupId>
						<artifactId>protobuf-java</artifactId>
						<version>${google.protobuf.version}</version>
					</dependency>
				</dependencies>
			</plugin>
-->
		</plugins>
	</build>
	<dependencies>
		<dependency>
			<groupId>com.google.protobuf</groupId>
			<artifactId>protobuf-java</artifactId>
			<version>${google.protobuf.version}</version>
		</dependency>		
	</dependencies>
</project>
