<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.data.publishing</groupId>
	<artifactId>sdmx-registry-client-gcube</artifactId>
	<version>3.0.1-4.3.0-130756</version>
	<packaging>jar</packaging>
	<name>GCube Registry client utility library</name>
	<description>Contains a GCube Registry descriptor implementation that recovers Registry endpoint through GCube IS service.</description>
	<scm>
		<connection>scm:svn:https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/sdmx-registry-client-gcube</connection>
		<developerConnection>scm:svn:https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/sdmx-registry-client-gcube</developerConnection>
		<url>https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/sdmx-registry-client-gcube</url>
	</scm>

	<developers>
		<developer>
			<name>Luigi Fortunati</name>
			<email>luigi.fortunati@isti.cnr.it</email>
			<organization>ISTI-CNR, Pisa</organization>
		</developer>
	</developers>
	<parent>
		<groupId>org.gcube.tools</groupId>
		<artifactId>maven-parent</artifactId>
		<version>1.0.0</version>
	</parent>
	<properties>
		<distroDirectory>${project.basedir}/distro</distroDirectory>
		<release.date>2013-10-25</release.date>
	</properties>
	<dependencies>

		<dependency>
			<groupId>org.gcube.data.publishing</groupId>
			<artifactId>sdmx-registry-client</artifactId>
			<version>3.0.2-4.3.0-130755</version>
		</dependency>
		
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
			<version>1.7.5</version>
		</dependency>
		
		<dependency>
			<groupId>org.gcube.resources.discovery</groupId>
			<artifactId>ic-client</artifactId>
			<version>1.0.3-4.3.0-142544</version>
		</dependency>
		
		<!-- Test stuff -->
		
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.10</version>
			<scope>test</scope>
		</dependency>
		
		<dependency>
			<groupId>ch.qos.logback</groupId>
			<artifactId>logback-classic</artifactId>
			<version>1.0.12</version>
			<scope>test</scope>
		</dependency>

	</dependencies>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.12.4</version>
				<configuration>
					<skipTests>true</skipTests>
					<additionalClasspathElements>
						<additionalClasspathElement>${env.GLOBUS_LOCATION}</additionalClasspathElement>
					</additionalClasspathElements>
				</configuration>
			</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>package</phase>
						<goals>
							<goal>single</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

		</plugins>
	</build>
</project>