<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>
	
	<description>The API for interacting with Geoserver and Geonetwork.</description>
	
	<groupId>gr.cite.geoanalytics</groupId>
	<artifactId>dataaccess-geoserverbridge</artifactId>
	<version>2.5.0-4.13.0-174459</version>
	<packaging>jar</packaging>

	<name>geoanalytics-datataccess-geoserverbridge</name>
	<url>http://maven.apache.org</url>

	<scm>
		<connection>scm:svn:http://svn.cite.gr/code-bluebridge/geospatial-platform/trunk/geoanalytics-dataaccess-geoserverbridge</connection>
		<developerConnection>scm:http://svn.cite.gr/code-bluebridge/geospatial-platform/trunk/geoanalytics-dataaccess-geoserverbridge</developerConnection>
		<url>http://svn.cite.gr/code-bluebridge/geospatial-platform/trunk/geoanalytics-dataaccess-geoserverbridge</url>
	</scm>


	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<org.springframework.version>4.3.8.RELEASE</org.springframework.version>
		<distroDirectory>${project.basedir}/distro</distroDirectory>
		<org.gcube.spatial.data.version>[3.0.0-SNAPSHOT,4.0.0-SNAPSHOT)</org.gcube.spatial.data.version>
	</properties>

	<repositories>
	
<!-- 		<repository> -->
<!-- 			<id>GeoToolkit repo</id> -->
<!-- 			<url>http://maven.geotoolkit.org/</url> -->
<!-- 		</repository> -->
	
		<repository>
			<id>springsource-repo</id>
			<name>SpringSource Repository</name>
			<url>http://repo.springsource.org/release</url>
		</repository>
	</repositories>
	
	<dependencies>
	
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-context</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>
		
		<dependency>
			<groupId>gr.cite.geoanalytics</groupId>
			<artifactId>common</artifactId>
			<version>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
		</dependency>
		
		<!-- https://mvnrepository.com/artifact/org.opengis/geoapi -->
<!-- 		<dependency> -->
<!-- 		    <groupId>org.opengis</groupId> -->
<!-- 		    <artifactId>geoapi</artifactId> -->
<!-- 		    <version>3.0.0</version> -->
<!-- 		    <exclusions> -->
<!-- 		    	<exclusion> -->
<!-- 		    		<groupId>javax.measure</groupId> -->
<!-- 		    		<artifactId>jsr-275</artifactId> -->
<!-- 		    	</exclusion> -->
<!-- 		    </exclusions> -->
<!-- 		</dependency> -->
		
		
		<dependency>
		  <groupId>org.gcube.spatial.data</groupId>
		  <artifactId>geonetwork</artifactId>
		  <version>${org.gcube.spatial.data.version}</version>
			<exclusions>
			  	<exclusion>
			  		<artifactId>geoapi-pending</artifactId>
			  		<groupId>org.opengis</groupId>
			  	</exclusion>
			  	<exclusion>
			  		<artifactId>geotk-metadata</artifactId>
			  		<groupId>org.geotoolkit</groupId>
			  	</exclusion>
			  	<exclusion>
			  		<artifactId>geotk-referencing</artifactId>
			  		<groupId>org.geotoolkit</groupId>
			  	</exclusion>
		 	</exclusions>
		</dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
            <version>4.3.8.RELEASE</version>
            <scope>compile</scope>
        </dependency>


    </dependencies>
 
	<build>
		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.1</version>
				<configuration>
					<source>1.8</source>
					<target>1.8</target>
				</configuration>
			</plugin>
<!-- 			<plugin> -->
<!-- 				<artifactId>maven-source-plugin</artifactId> -->
<!-- 				<executions> -->
<!-- 					<execution> -->
<!-- 						<id>attach-sources</id> -->
<!-- 						<phase>deploy</phase> -->
<!-- 						<goals> -->
<!-- 							<goal>jar-no-fork</goal> -->
<!-- 						</goals> -->
<!-- 					</execution> -->
<!-- 				</executions> -->
<!-- 			</plugin> -->
<!-- 			<plugin> -->
<!-- 				explicitly define maven-deploy-plugin after other to force exec order -->
<!-- 				<artifactId>maven-deploy-plugin</artifactId> -->
<!-- 				<version>2.2</version> -->
<!-- 				<executions> -->
<!-- 					<execution> -->
<!-- 						<id>deploy</id> -->
<!-- 						<phase>deploy</phase> -->
<!-- 						<goals> -->
<!-- 							<goal>deploy</goal> -->
<!-- 						</goals> -->
<!-- 					</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>
