<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>
	<parent>
		<groupId>org.gcube.tools</groupId>
		<artifactId>maven-parent</artifactId>
		<version>1.1.0</version>
	</parent>
	<groupId>org.gcube.spatial.data</groupId>
	<artifactId>sdi-service</artifactId>
	<version>1.4.4</version>
	<name>SDI Service</name>
	<description>REST Interface towards SDI facilities</description>
	<packaging>war</packaging>
	
	<properties>	
		<gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>
		<jersey.version>2.25.1</jersey.version>
	</properties>

	<scm>
		<connection>scm:git:${gitBaseUrl}/${project.artifactId}.git</connection>
		<developerConnection>scm:git:${gitBaseUrl}/${project.artifactId}.git</developerConnection>
		<url>${gitBaseUrl}/${project.artifactId}.git</url>
	</scm>


	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.gcube.distribution</groupId>
				<artifactId>gcube-smartgears-bom</artifactId>
				<version>2.1.0</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
			<dependency>
				<groupId> org.glassfish.jersey </groupId>
				<artifactId>jersey-bom</artifactId>
				<version>${jersey.version}</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
		</dependencies>			
	</dependencyManagement>
	
	<dependencies>


		<dependency>
			<groupId>org.gcube.spatial.data</groupId>
			<artifactId>sdi-interface</artifactId>
			<version>[1.0.0,1.3.0-SNAPSHOT)</version>
		</dependency>
		<dependency>
			<groupId>org.gcube.portlets.user</groupId>
			<artifactId>uri-resolver-manager</artifactId>
			<version>[1.0.0, 2.0.0-SNAPSHOT)</version>
		</dependency>

		<dependency>
			<groupId>org.gcube.data.transfer</groupId>
			<artifactId>data-transfer-library</artifactId>
			<version>[1.2.0,2.0.0-SNAPSHOT)</version>
		</dependency>


		<dependency>
			<groupId>org.gcube.resources</groupId>
			<artifactId>registry-publisher</artifactId>
		</dependency>

		<dependency>
			<groupId>org.gcube.resourcemanagement</groupId>
			<artifactId>resourcemanager-client</artifactId>
			<version>[1.0.0,2.0.0)</version>
		</dependency>
		<!-- SMARTGEARS -->
		<dependency>
			<groupId>org.gcube.core</groupId>
			<artifactId>common-smartgears-app</artifactId>
		</dependency>
		<dependency>
			<groupId>org.gcube.core</groupId>
			<artifactId>common-smartgears</artifactId>			
		</dependency>

		<!-- jersey -->
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>javax.servlet-api</artifactId>
			<version>3.0.1</version>
		</dependency>

		<dependency>
			<groupId>javax.ws.rs</groupId>
			<artifactId>javax.ws.rs-api</artifactId>
		</dependency>


		<dependency>
			<groupId>org.glassfish.jersey.containers</groupId>
			<artifactId>jersey-container-servlet</artifactId>
		</dependency>


		<dependency>
			<groupId>javax.transaction</groupId>
			<artifactId>javax.transaction-api</artifactId>
			<version>1.2</version>
		</dependency>


		<dependency>
			<groupId>org.glassfish.jersey.media</groupId>
			<artifactId>jersey-media-json-jackson</artifactId>
		</dependency>


		<dependency>
			<groupId>org.glassfish.jersey.media</groupId>
			<artifactId>jersey-media-multipart</artifactId>
		</dependency>

		<dependency>
        	<groupId>org.glassfish.jersey.ext.cdi</groupId>
                <artifactId>jersey-cdi1x</artifactId>
    	</dependency>

		<!-- WELD -->
		
			<dependency>
    <groupId>org.glassfish.jersey.ext.cdi</groupId>
    <artifactId>jersey-weld2-se</artifactId>
</dependency>
		

		<!-- swagger -->

<!-- 		<dependency> -->
<!-- 			<groupId>io.swagger</groupId> -->
<!-- 			<artifactId>swagger-jersey2-jaxrs</artifactId> -->
<!-- 			<version>1.5.0</version> -->
<!-- 		</dependency> -->


		<!-- GN EXTERNAL  -->

		<dependency>
			<groupId>it.geosolutions</groupId>
			<artifactId>geonetwork-manager</artifactId>
			<version>1.4-SNAPSHOT</version>
		</dependency>

		<dependency>
			<groupId>org.geotoolkit</groupId>
			<artifactId>geotk-metadata</artifactId>
			<version>3.20</version>
		</dependency>
		<dependency>
			<groupId>org.w3c</groupId>
			<artifactId>dom</artifactId>
			<version>2.3.0-jaxb-1.0.6</version>
		</dependency>
		<dependency>
			<groupId>org.geotoolkit</groupId>
			<artifactId>geotk-referencing</artifactId>
			<version>3.20</version>
		</dependency>

		<dependency>
			<groupId>com.thoughtworks.xstream</groupId>
			<artifactId>xstream</artifactId>
			<version>1.4.9</version>
		</dependency>


		<!-- META -->
		<dependency>
  			<groupId>org.freemarker</groupId>
 			<artifactId>freemarker</artifactId>
  			<version>2.3.25-incubating</version>
		</dependency>


		<!-- GS EXTERNAL -->

	<dependency>
			<groupId>it.geosolutions</groupId>
			<artifactId>geoserver-manager</artifactId>
			<version>1.5.2</version>
			<exclusions>
				<exclusion>
					<groupId>org.slf4j</groupId>
					<artifactId>jcl-over-slf4j</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
	

		<!-- test -->

		<dependency>
			<groupId>ch.qos.logback</groupId>
			<artifactId>logback-classic</artifactId>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.glassfish.jersey.test-framework.providers</groupId>
			<artifactId>jersey-test-framework-provider-simple</artifactId>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.12</version>
			<scope>test</scope>
		</dependency>

	</dependencies>

	 <repositories>
		<repository>
			<id>GeoSolutions-snap</id>
			<url>https://nexus.d4science.org/nexus/content/repositories/geo-solutions-snapshots/</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
			<releases>
				<enabled>false</enabled>
			</releases>
		</repository>
		<repository>
			<id>GeoSolutions-rels</id>
			<url>https://nexus.d4science.org/nexus/content/repositories/geo-solutions/</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
			<releases>
				<enabled>true</enabled>
			</releases>
		</repository>

		<repository>
			<id>GeoToolkit</id>
			<url>https://nexus.d4science.org/nexus/content/repositories/geotoolkit/</url>
		</repository>
	</repositories> 

</project>