<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.gcube.application</groupId>
	<artifactId>geoportal-service</artifactId>
	<version>1.0.1-SNAPSHOT</version>
	<name>Geoportal Service</name>
	<packaging>war</packaging>

	<parent>
		<artifactId>maven-parent</artifactId>
		<groupId>org.gcube.tools</groupId>
		<version>1.1.0</version>
	</parent>

	<properties>
		<gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>
		<sis.version>1.0</sis.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.0.0</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>

	<dependencies>



		<!-- SMARTGEARS -->
<!-- 		<dependency> -->
<!-- 			<groupId>org.gcube.core</groupId> -->
<!-- 			<artifactId>common-smartgears-app</artifactId> -->
<!-- 			<exclusions> -->
<!-- 				<exclusion> -->
<!-- 					<groupId>org.javassist</groupId> -->
<!-- 					<artifactId>javassist</artifactId> -->
<!-- 				</exclusion> -->
<!-- 			</exclusions> -->
<!-- 		</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>
			<exclusions>
				<exclusion>
					<groupId>org.javassist</groupId>
					<artifactId>javassist</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

		<!-- INTERNAL LOGIC -->
		<dependency>
			<groupId>org.gcube.application</groupId>
			<artifactId>geoportal-common</artifactId>
			<version>[1.0.0-SNAPSHOT,2.0.0)</version>
		</dependency>
		<dependency>
			<groupId>org.gcube.application</groupId>
			<artifactId>geoportal-logic</artifactId>
			<version>[1.0.4-SNAPSHOT,2.0.0)</version>
			
		</dependency>


		<!-- MONGO -->
		<!-- https://mvnrepository.com/artifact/org.mongodb/mongo-java-driver -->
		<dependency>
			<groupId>org.mongodb</groupId>
			<artifactId>mongo-java-driver</artifactId>
			<version>3.6.0</version>
		</dependency>



		<!-- Used to write centroids -->
		<!-- <dependency>
			<groupId>net.postgis</groupId>
			<artifactId>postgis-jdbc</artifactId>
			<version>2.5.0</version>
		</dependency> -->



		<!-- jackson java time -->
		<!-- Serialization from library -->
		<!-- <dependency>
			<groupId>com.fasterxml.jackson.datatype</groupId>
			<artifactId>jackson-datatype-jsr310</artifactId>
			<version>2.8.8</version>
		</dependency> -->


		<!-- GPKG -->
		<!-- Read Geopackage -->
		<!-- <dependency>
			<groupId>mil.nga.geopackage</groupId>
			<artifactId>geopackage</artifactId>
			<version>3.5.0</version>
		</dependency> -->





		<!-- gCube SW -->

		<!-- <dependency>
			<groupId>org.gcube.spatial.data</groupId>
			<artifactId>sdi-library</artifactId>
			<version>[1.0.0,2.0.0)</version>
		</dependency>
		<dependency>
			<groupId>org.gcube.data.transfer</groupId>
			<artifactId>data-transfer-library</artifactId>
			<version>[1.2.1,2.0.0]</version>
		</dependency>


		<dependency>
			<groupId>org.gcube.spatial.data</groupId>
			<artifactId>gis-interface</artifactId>
			<version>[2.4.0,3.0.0)</version>
		</dependency>

		<dependency>
			<groupId>org.gcube.spatial.data</groupId>
			<artifactId>geonetwork</artifactId>
			<version>[3.4.3,4.0.0)</version>
		</dependency>

		<dependency>
			<groupId>org.gcube.common</groupId>
			<artifactId>storagehub-client-library</artifactId>
			<version>[1.0.0,2.0.0)</version>
		</dependency> -->


		<!-- HIBERNATE -->
		<!-- <dependency>
			<groupId>org.hibernate</groupId>
			<artifactId>hibernate-core</artifactId>
			<version>5.3.1.Final</version>
		</dependency> -->


		<!-- SIS -->


		<!-- <dependency>
			<groupId>org.apache.sis.core</groupId>
			<artifactId>sis-referencing</artifactId>
			<version>${sis.version}</version>
		</dependency> -->

		<!-- Common - basic -->
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
		</dependency>

		<dependency>
			<groupId>org.projectlombok</groupId>
			<artifactId>lombok</artifactId>
			<version>1.14.8</version>
		</dependency>

		<!-- TEST -->
		
		<dependency>
			<groupId>org.glassfish.jersey.test-framework.providers</groupId>
			<artifactId>jersey-test-framework-provider-simple</artifactId>
			<scope>test</scope>
		</dependency>
		
		
		<!-- <dependency>
			<groupId>org.eclipse.persistence</groupId>
			<artifactId>eclipselink</artifactId>
			<version>2.5.0</version>
			<scope>test</scope>
		</dependency> -->
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.11</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.logging.log4j</groupId>
			<artifactId>log4j-slf4j18-impl</artifactId>
			<version>2.13.3</version>
			<scope>test</scope>
		</dependency>


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

		<!-- <dependency>
			<groupId>org.apache.derby</groupId>
			<artifactId>derby</artifactId>
			<version>10.8.3.0</version>
			<scope>test</scope>
		</dependency> -->

	</dependencies>
	<repositories>
		<repository>
			<id>GeoSolutions</id>
			<url>https://nexus.d4science.org/nexus/content/repositories/geo-solutions-snapshots/</url>
		</repository>
		<repository>
			<id>GeoToolkit</id>
			<url>https://nexus.d4science.org/nexus/content/repositories/geotoolkit/</url>
		</repository>
	</repositories>
</project>