<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>

	<artifactId>gcf</artifactId>

	<parent>
		<groupId>org.gcube.core</groupId>
		<artifactId>gcf-parent</artifactId>
		<version>1.5.0</version>
		<relativePath>..</relativePath>
	</parent>

	<name>The gCube Application Framework</name>
	<url>https://gcore.wiki.gcube-system.org/gCube/</url>
	<description>The application framework for gCube components</description>

	<developers>
		<developer>
			<name>Manuele Simi</name>
		</developer>
		<developer>
			<name>Fabio Simeoni</name>
		</developer>
		<developer>
			<name>Andrea Manzi</name>
		</developer>
		<developer>
			<name>Ciro Formisano</name>
		</developer>
	</developers>

	<dependencyManagement>
	  <dependencies>
	  	<dependency>
	  		<groupId>com.google.guava</groupId>
	  		<artifactId>guava</artifactId>
	  		<version>12.0</version>
	  	</dependency>
	  </dependencies>

	</dependencyManagement>

	<dependencies>

		<dependency>
			<groupId>cglib</groupId>
			<artifactId>cglib</artifactId>
			<version>2.2.2</version>
		</dependency>

		<dependency>
			<groupId>net.sf.kxml</groupId>
			<artifactId>kxml2</artifactId>
			<version>2.3.0</version>
		</dependency>

		<dependency>
			<groupId>org.objenesis</groupId>
			<artifactId>objenesis</artifactId>
			<version>1.2</version>
		</dependency>
		
		<dependency>
  			<groupId>org.gcube.core</groupId>
  			<artifactId>common-utils-encryption</artifactId>
 			 <version>1.0.1</version>
 			 <exclusions>
 			 	<exclusion>
 			 		<artifactId>xmlsec</artifactId>
 			 		<groupId>org.apache.santuario</groupId>
 			 	</exclusion>
 			 	<exclusion>
 			 		<artifactId>xalan</artifactId>
 			 		<groupId>xalan</groupId>
 			 	</exclusion>
 			 </exclusions>
		</dependency>
		
		<dependency>
			<groupId>org.gcube.core</groupId>
			<artifactId>common-scope</artifactId>
			<version>1.0.0</version>
		</dependency>

	</dependencies>


	<build/>

	<profiles>

		<profile>
			<id>full</id>
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-dependency-plugin</artifactId>
						<version>2.3</version>
						<executions>
							<execution>
								<id>install-my-container</id>
								<phase>generate-test-resources</phase>
								<configuration>
									<artifactItems>
										<artifactItem>
											<groupId>org.gcube.tools</groupId>
											<artifactId>my-container</artifactId>
											<version>1.0.0</version>
											<type>tar.gz</type>
											<classifier>distro</classifier>
											<overWrite>false</overWrite>
											<outputDirectory>${project.basedir}/..</outputDirectory>
										</artifactItem>
									</artifactItems>
									<markersDirectory>${project.basedir}/..</markersDirectory>
									<verbose>true</verbose>
								</configuration>
								<goals>
									<goal>unpack</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>

		</profile>
			<profile>
			<id>no-tests</id>
		</profile>
		
	</profiles>
</project>