<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.data.transfer</groupId>
	<artifactId>sis-geotk-plugin</artifactId>
	<version>1.3.1</version>
	<name>Sis/GeoToolkit plugin</name>
	<description>Apache Sis/Geotk plugin for data-transfer-service</description>

	<properties>
		<sis.version>1.0</sis.version>
		<sis.utils.modules>${sis.version}</sis.utils.modules>
		<gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>
		<netcdfJavaVersion>5.3.3</netcdfJavaVersion>
	</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.2.0</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.distribution</groupId>
				<artifactId>gcube-bom</artifactId>
				<version>2.1.0</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
			<!-- https://mvnrepository.com/artifact/org.apache.sis/storage -->
			<dependency>
				<groupId>org.apache.sis</groupId>
				<artifactId>storage</artifactId>
				<version>1.0</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>

	<dependencies>
		<dependency>
			<groupId>org.gcube.data.transfer</groupId>
			<artifactId>data-transfer-plugin-framework</artifactId>
			<version>[1.0.2,2.0.0)</version>
		</dependency>

		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
		</dependency>

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


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

		<!-- SMARTGEARS -->
		<dependency>
			<groupId>org.gcube.core</groupId>
			<artifactId>common-smartgears</artifactId>
			<scope>provided</scope>
		</dependency>

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

		<dependency>
			<groupId>org.apache.sis.storage</groupId>
			<artifactId>sis-storage</artifactId>
			<version>${sis.utils.modules}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.sis.storage</groupId>
			<artifactId>sis-netcdf</artifactId>
			<version>${sis.utils.modules}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.sis.storage</groupId>
			<artifactId>sis-earth-observation</artifactId>
			<version>${sis.utils.modules}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.sis.storage</groupId>
			<artifactId>sis-geotiff</artifactId>
			<version>${sis.utils.modules}</version>
		</dependency>


		<!-- SIS EXTERNALS -->
		<!-- https://mvnrepository.com/artifact/com.esri.geometry/esri-geometry-api -->
		<!-- <dependency> -->
		<!-- <groupId>com.esri.geometry</groupId> -->
		<!-- <artifactId>esri-geometry-api</artifactId> -->
		<!-- </dependency> -->

		<!-- https://mvnrepository.com/artifact/edu.ucar/cdm -->
		<dependency>
			<groupId>edu.ucar</groupId>
			<artifactId>cdm</artifactId>
			<scope>compile</scope>
		</dependency>


		<!-- EPSG DATASET -->

		<dependency>
			<groupId>org.apache.sis.non-free</groupId>
			<artifactId>sis-embedded-data</artifactId>
			<version>${sis.version}</version>
			<scope>runtime</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.derby</groupId>
			<artifactId>derby</artifactId>
			<scope>runtime</scope>
		</dependency>



		<!-- TEST -->
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-log4j12</artifactId>
			<version>1.6.4</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.data.transfer</groupId>
			<artifactId>data-transfer-library</artifactId>
			<version>[1.2.0,2.0.0-SNAPSHOT)</version>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>javax.xml.bind</groupId>
			<artifactId>jaxb-api</artifactId>
		</dependency>

		<dependency>
			<groupId>org.opengis</groupId>
			<artifactId>geoapi-conformance</artifactId>
			<scope>test</scope>
		</dependency>


	</dependencies>

	<repositories>
		<repository>
			<id>unidata-all</id>
			<name>Unidata All</name>

			<url>https://nexus.d4science.org/nexus/content/repositories/unidata/</url>
		</repository>
	</repositories>



	<build>
		<plugins>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-assembly-plugin</artifactId>
				<executions>
					<execution>
						<id>make-uberjar</id>
						<phase>package</phase>
					</execution>
					<execution>
						<id>make-servicearchive</id>
						<phase>package</phase>
					</execution>
				</executions>
			</plugin>

		</plugins>
	</build>


</project>
