<!-- Copyright (c) 2016 Diputacio de Valencia. This file is part of gvSIG 
	Roads. gvSIG Roads is free software: you can redistribute it and/or modify 
	it under the terms of the GNU Affero General Public License as published 
	by the Free Software Foundation, either version 3 of the License, or (at 
	your option) any later version. This program is distributed in the hope that 
	it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty 
	of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero 
	General Public License for more details. You should have received a copy 
	of the GNU Affero General Public License along with this program. If not, 
	see <http://www.gnu.org/licenses />. -->
<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/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>org.gvsig.roads</groupId>
	<artifactId>gvsig-roads-arena2</artifactId>
	<version>0.0.1</version>
	<name>gvsig-roads-arena2</name>
	<properties>
		<hibernate.javax.persistence>1.0.0.Final</hibernate.javax.persistence>
		<jaxb2.version>1.11.1</jaxb2.version>
		<hyperjaxb3.version>0.6.2</hyperjaxb3.version>
		<jaxb2-maven-plugin.version>2.3.1</jaxb2-maven-plugin.version>
		<spring.version>3.2.12.RELEASE</spring.version>
	</properties>

	<distributionManagement>
		<repository>
			<id>gvsig-repository</id>
			<name>gvSIG maven repository</name>
			<url>dav:https://devel.gvsig.org/m2repo/j2se</url>
		</repository>
		<snapshotRepository>
			<id>gvsig-repository</id>
			<name>gvSIG maven repository</name>
			<url>dav:https://devel.gvsig.org/m2repo/j2se</url>
		</snapshotRepository>
	</distributionManagement>


	<pluginRepositories>
		<pluginRepository>
			<id>central</id>
			<url>https://repo1.maven.org/maven2</url>
			<releases>
				<enabled>true</enabled>
			</releases>
		</pluginRepository>
	</pluginRepositories>

	<scm>
		<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-roads/common-libs/gvsig-roads-arena2/tags/gvsig-roads-arena2-0.0.1</connection>
		<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-roads/common-libs/gvsig-roads-arena2/tags/gvsig-roads-arena2-0.0.1</developerConnection>
	</scm>


	<dependencies>
		<dependency>
			<groupId>org.hibernate.javax.persistence</groupId>
			<artifactId>hibernate-jpa-2.1-api</artifactId>
			<version>${hibernate.javax.persistence}</version>
		</dependency>
		<dependency>
			<groupId>org.jvnet.jaxb2_commons</groupId>
			<artifactId>jaxb2-basics-runtime</artifactId>
			<version>${jaxb2.version}</version>
		</dependency>
		<dependency>
			<groupId>org.jvnet.hyperjaxb3</groupId>
			<artifactId>hyperjaxb3-ejb-runtime</artifactId>
			<version>${hyperjaxb3.version}</version>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-context</artifactId>
			<version>${spring.version}</version>
		</dependency>
	</dependencies>

	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
					<configuration>
						<source>1.7</source>
						<target>1.7</target>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
		<extensions>
		    <extension>
			<groupId>org.apache.maven.wagon</groupId>
			<artifactId>wagon-webdav-jackrabbit</artifactId>
			<version>2.10</version>
		    </extension>
		</extensions>
		<plugins>
			<!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxb2-maven-plugin</artifactId> 
				<version>${jaxb2-maven-plugin.version}</version> <executions> <execution> 
				<id>xjc</id> <goals> <goal>xjc</goal> </goals> </execution> </executions> 
				<configuration> -->
			<!-- The package of your generated sources -->
			<!-- <packageName>org.gvsig.roads.arena2.xjc</packageName> <xjbSources> 
				<xjbSource>src/main/resources/binding.xjb</xjbSource> </xjbSources> <sources> 
				<source>src/main/resources/arena2.xsd</source> </sources> <encoding>UTF-8</encoding> 
				<noGeneratedHeaderComments>true</noGeneratedHeaderComments> </configuration> 
				</plugin> -->
			<plugin>
				<groupId>org.jvnet.hyperjaxb3</groupId>
				<artifactId>hyperjaxb3-maven-plugin</artifactId>
				<version>0.6.2</version>
				<executions>
					<execution>
						<id>execution-test</id>
						<goals>
							<goal>generate</goal>
						</goals>
						<configuration>
							<!-- The package of your generated sources -->
							<generatePackage>org.gvsig.road.arena2.xjc</generatePackage>
							<xjbSources>
								<xjbSource>src/main/resources/binding.xjb</xjbSource>
							</xjbSources>
							<sources>
								<source>src/main/resources/arena2.xsd</source>
							</sources>
							<encoding>UTF-8</encoding>
							<noGeneratedHeaderComments>true</noGeneratedHeaderComments>
							<args>
								<arg>-Xannotate</arg>
							</args>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<configuration>
					<tagBase>https://devel.gvsig.org/svn/gvsig-roads/common-libs/gvsig-roads-arena2/tags</tagBase>
					<goal>deploy</goal>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>
