<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>
		<artifactId>maven-parent</artifactId>
		<groupId>org.gcube.tools</groupId>
		<version>1.0.0</version>
		<relativePath />
	</parent>
	<groupId>org.gcube.dataanalysis</groupId>
	<artifactId>ecological-engine-geospatial-extensions</artifactId>
	<version>1.2.2-3.3.0</version>
	<name>ecological-engine-geospatial-extension</name>
	<description>ecological-engine-geospatial-extension</description>
	<properties>
		<distroDirectory>${project.basedir}/distro</distroDirectory>
	</properties>
	<dependencies>
		<dependency>
			<groupId>com.google.code.gson</groupId>
			<artifactId>gson</artifactId>
			<version>1.7.1</version>
		</dependency>
		<dependency>
			<groupId>org.gcube.dataanalysis</groupId>
			<artifactId>EcologicalEngineExecutor</artifactId>
			<version>1.6.2-3.3.0</version>
		</dependency>
		<dependency>
			<groupId>geoutils-custom</groupId>
			<artifactId>netcdf</artifactId>
			<version>4.2.0</version>
		</dependency>
		<dependency>
			<groupId>geoutils-custom</groupId>
			<artifactId>opendap</artifactId>
			<version>2.2.0</version>
		</dependency>
		<dependency>
			<groupId>geoutils-custom</groupId>
			<artifactId>bounce</artifactId>
			<version>0.14.0</version>
		</dependency>
		<dependency>
			<groupId>geoutils-custom</groupId>
			<artifactId>geopeo</artifactId>
			<version>1.0.2</version>
		</dependency>
		<dependency>
			<groupId>org.n52.wps.gdal</groupId>
			<artifactId>gdal</artifactId>
			<version>1.0.0</version>
		</dependency>
		<!-- <dependency> <groupId>org.geotools</groupId> <artifactId>gt-opengis</artifactId> 
			<version>9.3</version> </dependency> -->
		<dependency>
			<groupId>org.opengis</groupId>
			<artifactId>geoapi-pending</artifactId>
			<version>3.1-M04</version>
		</dependency>
		<dependency>
			<groupId>org.gcube.spatial.data</groupId>
			<artifactId>gis-interface</artifactId>
			<version>2.0.3-3.3.0</version>
			<exclusions>
				<exclusion>
					<artifactId>geotk-coverageio-netcdf</artifactId>
					<groupId>org.geotoolkit</groupId>
				</exclusion>
				<exclusion>
					<artifactId>geoapi-pending</artifactId>
					<groupId>org.opengis</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.gcube.data.transfer</groupId>
			<artifactId>transfer-library</artifactId>
			<version>1.0.0-3.3.0</version>
		</dependency>
	</dependencies>
	<repositories>
		<!-- <repository> <id>GeoSolutions</id> <url>http://maven.research-infrastructures.eu:8081/nexus/content/repositories/geo-solutions/</url> 
			</repository> -->
		<repository>
			<id>osgeo</id>
			<name>Open Source Geospatial Foundation Repository Mirror</name>
			<url>http://maven.research-infrastructures.eu/nexus/content/repositories/osgeo//</url>
		</repository>
		<repository>
			<id>geotoolkit</id>
			<name>Geotoolkit.org project</name>
			<url>http://maven.geotoolkit.org</url>
		</repository>
		<repository>
			<id>52north-releases</id>
			<name>52north-releases</name>
			<url>http://maven.research-infrastructures.eu/nexus/content/repositories/52north-releases/</url>
		</repository>
	</repositories>
	<build>
		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.12</version>
				<configuration>
					<skipTests>true</skipTests>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.5</version>
				<executions>
					<execution>
						<id>copy-profile</id>
						<phase>install</phase>
						<goals>
							<goal>copy-resources</goal>
						</goals>
						<configuration>
							<outputDirectory>target</outputDirectory>
							<resources>
								<resource>
									<directory>${distroDirectory}</directory>
									<filtering>true</filtering>
									<includes>
										<include>profile.xml</include>
									</includes>
								</resource>
							</resources>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-assembly-plugin</artifactId>
				<version>2.2</version>
				<configuration>
					<descriptors>
						<descriptor>${distroDirectory}/descriptor.xml</descriptor>
					</descriptors>
				</configuration>
				<executions>
					<execution>
						<id>servicearchive</id>
						<phase>install</phase>
						<goals>
							<goal>single</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>