<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>
	</parent>
	<groupId>org.gcube.portal</groupId>
	<artifactId>portal-bundle</artifactId>
	<version>3.1.0-SNAPSHOT</version>
	<packaging>pom</packaging>
	<name>Portal Bundle</name>
	<inceptionYear>2014</inceptionYear>
	<developers>
		<developer>
			<id>@maxassante</id>
			<name>Massimiliano Assante</name>
		</developer>
	</developers>
	<properties>
		<distroDirectory>distro</distroDirectory>
		<!-- As long as we do not automatize this make sure the version correspond 
			with the enabling portlets one -->
<!-- 		<gcubeLoginVersionLayout>210SNAPSHOT</gcubeLoginVersionLayout> -->
<!-- 		<gcubeLoggedinVersionLayout>230SNAPSHOT</gcubeLoggedinVersionLayout> -->
<!-- 		<usersManagementVersionLayout>230SNAPSHOT</usersManagementVersionLayout> -->
<!-- 		<rolesManagementVersionLayout>160SNAPSHOT</rolesManagementVersionLayout> -->
<!-- 		<addUsersVersionLayout>110SNAPSHOT</addUsersVersionLayout> -->
<!-- 		<resourceManagementVersionLayout>520SNAPSHOT</resourceManagementVersionLayout> -->

		<gcubeLoginVersionLayout>210330</gcubeLoginVersionLayout>
		<gcubeLoggedinVersionLayout>230330</gcubeLoggedinVersionLayout>
		<usersManagementVersionLayout>230330</usersManagementVersionLayout>
		<rolesManagementVersionLayout>160330</rolesManagementVersionLayout>
		<addUsersVersionLayout>110330</addUsersVersionLayout>
		<resourceManagementVersionLayout>520330</resourceManagementVersionLayout>

		<asl-artifactsid>aslcontent,aslcore,aslsearch,aslsocial,accesslogger,aslvre</asl-artifactsid>
		<fws-artifactsid>common-clients,common-configuration-scanner,common-fw-clients,common-gcore-resources,common-gcore-stubs,common-scope,common-scope-maps,common-uri,discovery-client,ic-client,registry-publisher</fws-artifactsid>
		<hl-artifactsid>home-library,home-library-jcr,jackrabbit-jcr-commons,jackrabbit-jcr-rmi-custom,jcr</hl-artifactsid>
		<snl-artifactsid>social-networking-library</snl-artifactsid>
		<rr-artifactsid>rrmodel,rrgcubebridge,rrplugins,rraggregator,grs2library,madgikcommonslibrary,resourceregistry-configuration-portal,rrconfprovider-portal</rr-artifactsid>
		<ep-artifactsid>gcube-login,gcube-loggedin,UsersManagementPortlet,RolesManagementPortlet,register-vre-users,resource-management,service-endpoint-editor</ep-artifactsid>
	</properties>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-dependency-plugin</artifactId>
				<version>2.8</version>
				<executions>
					<execution>
						<id>copy-dependencies_application-support-layer</id>
						<phase>compile</phase>
						<goals>
							<goal>copy-dependencies</goal>
						</goals>
						<configuration>
							<outputDirectory>${basedir}/Portal-Bundle/gCube/lib/_application-support-layer</outputDirectory>
							<includeArtifactIds>${asl-artifactsid}</includeArtifactIds>
							<overWriteIfNewer>true</overWriteIfNewer>
							<excludeTypes>gar, tar.gz</excludeTypes>
							<stripVersion>false</stripVersion>
							<useBaseVersion>true</useBaseVersion>
						</configuration>
					</execution>
					<execution>
						<id>copy-dependencies-fws</id>
						<phase>compile</phase>
						<goals>
							<goal>copy-dependencies</goal>
						</goals>
						<configuration>
							<outputDirectory>${basedir}/Portal-Bundle/gCube/lib/_fws</outputDirectory>
							<includeArtifactIds>${fws-artifactsid}</includeArtifactIds>
							<overWriteIfNewer>true</overWriteIfNewer>
							<excludeTypes>gar, tar.gz</excludeTypes>
							<stripVersion>false</stripVersion>
							<useBaseVersion>true</useBaseVersion>
						</configuration>
					</execution>
					<execution>
						<id>copy-dependencies-home-library</id>
						<phase>compile</phase>
						<goals>
							<goal>copy-dependencies</goal>
						</goals>
						<configuration>
							<outputDirectory>${basedir}/Portal-Bundle/gCube/lib/_home-library</outputDirectory>
							<includeArtifactIds>${hl-artifactsid}</includeArtifactIds>
							<overWriteIfNewer>true</overWriteIfNewer>
							<excludeTypes>gar, tar.gz</excludeTypes>
							<stripVersion>false</stripVersion>
							<useBaseVersion>true</useBaseVersion>
						</configuration>
					</execution>
					<execution>
						<id>copy-dependencies-social-networking-library</id>
						<phase>compile</phase>
						<goals>
							<goal>copy-dependencies</goal>
						</goals>
						<configuration>
							<outputDirectory>${basedir}/Portal-Bundle/gCube/lib/_social-networking-library</outputDirectory>
							<includeArtifactIds>${snl-artifactsid}</includeArtifactIds>
							<overWriteIfNewer>true</overWriteIfNewer>
							<excludeTypes>gar, tar.gz</excludeTypes>
							<stripVersion>false</stripVersion>
							<useBaseVersion>true</useBaseVersion>
						</configuration>
					</execution>
					<execution>
						<id>copy-dependencies_resourceregistry</id>
						<phase>compile</phase>
						<goals>
							<goal>copy-dependencies</goal>
						</goals>
						<configuration>
							<outputDirectory>${basedir}/Portal-Bundle/gCube/lib/_resource-registry</outputDirectory>
							<includeArtifactIds>${rr-artifactsid}</includeArtifactIds>
							<overWriteIfNewer>true</overWriteIfNewer>
							<excludeTypes>gar, tar.gz</excludeTypes>
							<stripVersion>false</stripVersion>
							<useBaseVersion>true</useBaseVersion>
						</configuration>
					</execution>
					<execution>
						<id>copy-dependencies_enablingportlets</id>
						<phase>compile</phase>
						<goals>
							<goal>copy-dependencies</goal>
						</goals>
						<configuration>
							<outputDirectory>${basedir}/Portal-Bundle/deploy</outputDirectory>
							<includeArtifactIds>${ep-artifactsid}</includeArtifactIds>
							<overWriteReleases>false</overWriteReleases>
							<overWriteSnapshots>false</overWriteSnapshots>
							<overWriteIfNewer>true</overWriteIfNewer>
							<excludeTypes>gar, tar.gz</excludeTypes>
							<stripVersion>false</stripVersion>
							<useBaseVersion>true</useBaseVersion>
						</configuration>
					</execution>
					<execution>
						<id>copy-dependencies-misc</id>
						<phase>compile</phase>
						<goals>
							<goal>copy-dependencies</goal>
						</goals>
						<configuration>
							<outputDirectory>${basedir}/Portal-Bundle/gCube/lib/_misc</outputDirectory>
							<excludeArtifactIds>${asl-artifactsid},${fws-artifactsid},${hl-artifactsid},${snl-artifactsid},${rr-artifactsid},${ep-artifactsid}</excludeArtifactIds>
							<overWriteIfNewer>true</overWriteIfNewer>
							<excludeTypes>gar, tar.gz</excludeTypes>
							<stripVersion>false</stripVersion>
							<useBaseVersion>true</useBaseVersion>
						</configuration>
					</execution>
					<execution>
						<id>install-portal-distribution-bundle</id>
						<phase>compile</phase>
						<configuration>
							<includeArtifactIds>portal-distribution-bundle</includeArtifactIds>
							<includeTypes>tar.gz</includeTypes>
							<overWriteIfNewer>false</overWriteIfNewer>
							<outputDirectory>${project.basedir}/Portal-Bundle</outputDirectory>
							<markersDirectory>${project.basedir}</markersDirectory>
							<useBaseVersion>true</useBaseVersion>
						</configuration>
						<goals>
							<goal>unpack-dependencies</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<groupId>com.google.code.maven-replacer-plugin</groupId>
				<artifactId>replacer</artifactId>
				<version>1.5.3</version>
				<executions>
					<execution>
						<phase>prepare-package</phase>
						<goals>
							<goal>replace</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<file>${project.basedir}/Portal-Bundle/tomcat-6.0.29/conf/gcube-portlets.properties</file>
					<replacements>
						<replacement>
							<token>@gCubeLogin@</token>
							<value>${gcubeLoginVersionLayout}</value>
						</replacement>
						<replacement>
							<token>@gCubeLoggedin@</token>
							<value>${gcubeLoggedinVersionLayout}</value>
						</replacement>
						<replacement>
							<token>@UsersManagement@</token>
							<value>${usersManagementVersionLayout}</value>
						</replacement>
						<replacement>
							<token>@RolesManagement@</token>
							<value>${rolesManagementVersionLayout}</value>
						</replacement>
						<replacement>
							<token>@addUsers@</token>
							<value>${addUsersVersionLayout}</value>
						</replacement>
						<replacement>
							<token>@ResourcesManagement@</token>
							<value>${resourceManagementVersionLayout}</value>
						</replacement>
					</replacements>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-assembly-plugin</artifactId>
				<version>2.2</version>
				<configuration>
					<appendAssemblyId>false</appendAssemblyId>
					<descriptors>
						<descriptor>distro/descriptor.xml</descriptor>
					</descriptors>
				</configuration>
				<executions>
					<execution>
						<id>portal</id>
						<phase>package</phase>
						<goals>
							<goal>single</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>

	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.gcube.distribution</groupId>
				<artifactId>maven-portal-bom</artifactId>
				<version>LATEST</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>

	<dependencies>
		<!-- Transitives to be excluded -->

		<!-- Portal Bundle Layout Distr -->
		<dependency>
			<groupId>org.gcube.portal</groupId>
			<artifactId>portal-distribution-bundle</artifactId>
			<version>[3.0.0-SNAPSHOT,)</version>
			<classifier>bundle</classifier>
			<type>tar.gz</type>
			<scope>provided</scope>
		</dependency>
		<!-- Enabling Portlets -->
		<dependency>
			<groupId>org.gcube.portlets.user</groupId>
			<artifactId>gcube-login</artifactId>
			<version>2.1.0-SNAPSHOT</version>
			<type>war</type>
		</dependency>
		<dependency>
			<groupId>org.gcube.portlets.user</groupId>
			<artifactId>gcube-loggedin</artifactId>
			<version>2.3.0-SNAPSHOT</version>
			<type>war</type>
		</dependency>
		<dependency>
			<groupId>org.gcube.portlets.admin</groupId>
			<artifactId>UsersManagementPortlet</artifactId>
			<version>2.3.0-SNAPSHOT</version>
			<type>war</type>
		</dependency>
		<dependency>
			<groupId>org.gcube.portlet</groupId>
			<artifactId>RolesManagementPortlet</artifactId>
			<version>1.6.0-SNAPSHOT</version>
			<type>war</type>
		</dependency>
		<dependency>
			<groupId>org.gcube.portlets.admin</groupId>
			<artifactId>register-vre-users</artifactId>
			<version>1.1.0-SNAPSHOT</version>
			<type>war</type>
		</dependency>
		<dependency>
			<groupId>org.gcube.portlets.admin</groupId>
			<artifactId>resource-management</artifactId>
			<version>5.2.0-SNAPSHOT</version>
			<type>war</type>
		</dependency>
		<dependency>
			<groupId>org.gcube.portlets.admin</groupId>
			<artifactId>service-endpoint-editor</artifactId>
			<version>[1.6.0-SNAPSHOT,)</version>
			<type>war</type>
		</dependency>
		<!-- Application Support Layer -->
		<dependency>
			<groupId>org.gcube.applicationsupportlayer</groupId>
			<artifactId>aslcontent</artifactId>
			<scope>provided</scope>
			<exclusions>
				<exclusion>
					<artifactId>ghn-core-runtime</artifactId>
					<groupId>org.gcube.distribution</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.gcube.applicationsupportlayer</groupId>
			<artifactId>aslcore</artifactId>
			<scope>provided</scope>
			<exclusions>
				<exclusion>
					<artifactId>xercesImpl</artifactId>
					<groupId>xerces</groupId>
				</exclusion>
				<exclusion>
					<artifactId>axis</artifactId>
					<groupId>axis</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.gcube.applicationsupportlayer</groupId>
			<artifactId>aslsearch</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.applicationsupportlayer</groupId>
			<artifactId>aslsocial</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.applicationsupportlayer</groupId>
			<artifactId>aslvre</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.applicationsupportlayer</groupId>
			<artifactId>accesslogger</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.applicationsupportlayer</groupId>
			<artifactId>gcube_search_library</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.informationsystem</groupId>
			<artifactId>iscache</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>net.sf.ehcache</groupId>
			<artifactId>ehcache-core</artifactId>
			<scope>provided</scope>
		</dependency>
		<!-- End Application Support Layer -->
		<!-- FWS-stack -->
		<dependency>
			<groupId>org.gcube.core</groupId>
			<artifactId>common-clients</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.core</groupId>
			<artifactId>common-configuration-scanner</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.core</groupId>
			<artifactId>common-fw-clients</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.resources</groupId>
			<artifactId>common-gcore-resources</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.core</groupId>
			<artifactId>common-gcore-stubs</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.core</groupId>
			<artifactId>common-scope</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.core</groupId>
			<artifactId>common-scope-maps</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.common</groupId>
			<artifactId>common-uri</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.resources.discovery</groupId>
			<artifactId>discovery-client</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.resources.discovery</groupId>
			<artifactId>ic-client</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.resources</groupId>
			<artifactId>registry-publisher</artifactId>
			<scope>provided</scope>
		</dependency>
		<!-- End FWS -->
		<!-- Home Library -->
		<dependency>
			<groupId>org.gcube.common</groupId>
			<artifactId>home-library</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.common</groupId>
			<artifactId>home-library-jcr</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>gov.nih.imagej</groupId>
			<artifactId>imagej</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.lowagie</groupId>
			<artifactId>itext</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.jackrabbit</groupId>
			<artifactId>jackrabbit-jcr-commons</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.externals</groupId>
			<artifactId>jackrabbit-jcr-rmi-custom</artifactId>
		</dependency>
		<dependency>
			<groupId>javax.jcr</groupId>
			<artifactId>jcr</artifactId>
		</dependency>
		<dependency>
			<groupId>org.jfile</groupId>
			<artifactId>jfile</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.tika</groupId>
			<artifactId>tika-core</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.thoughtworks.xstream</groupId>
			<artifactId>xstream</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>xmlpull</groupId>
			<artifactId>xmlpull</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>xpp3</groupId>
			<artifactId>xpp3_min</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>xml-apis</groupId>
			<artifactId>xml-apis</artifactId>
			<scope>provided</scope>
		</dependency>
		<!-- End Home Library -->
		<!-- Social Networking Library -->
		<dependency>
			<groupId>org.gcube.portal</groupId>
			<artifactId>social-networking-library</artifactId>
			<scope>provided</scope>
			<exclusions>
				<exclusion>
					<artifactId>junit</artifactId>
					<groupId>junit</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>com.netflix.astyanax</groupId>
			<artifactId>astyanax</artifactId>
			<scope>provided</scope>
			<exclusions>
				<exclusion>
					<artifactId>servlet-api</artifactId>
					<groupId>org.mortbay.jetty</groupId>
				</exclusion>
				<exclusion>
					<artifactId>servlet-api</artifactId>
					<groupId>javax.servlet</groupId>
				</exclusion>
				<exclusion>
					<artifactId>jetty</artifactId>
					<groupId>org.mortbay.jetty</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<!-- End Social Networking Library -->
		<!-- resource registry -->
		<dependency>
			<groupId>org.gcube.execution</groupId>
			<artifactId>rrmodel</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.execution</groupId>
			<artifactId>rrgcubebridge</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.execution</groupId>
			<artifactId>rrplugins</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.execution</groupId>
			<artifactId>rraggregator</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.execution</groupId>
			<artifactId>grs2library</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.execution</groupId>
			<artifactId>madgikcommonslibrary</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.execution</groupId>
			<artifactId>resourceregistry-configuration-portal</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.execution</groupId>
			<artifactId>rrconfprovider-portal</artifactId>
			<scope>provided</scope>
		</dependency>
		<!-- end resource registry -->
		<!-- Misc -->
		<!-- portal core -->
		<dependency>
			<groupId>org.gcube.common.portal</groupId>
			<artifactId>portal-manager</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.portal</groupId>
			<artifactId>custom-portal-handler</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.dvos</groupId>
			<artifactId>usermanagement-core</artifactId>
			<scope>provided</scope>
			<exclusions>
				<exclusion>
					<artifactId>portal-service</artifactId>
					<groupId>com.liferay.portal</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.gcube.core</groupId>
			<artifactId>common-utils-encryption</artifactId>
			<scope>provided</scope>
			<exclusions>
				<exclusion>
					<groupId>xalan</groupId>
					<artifactId>xalan</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.gcube.core</groupId>
			<artifactId>common-encryption</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>aopalliance</groupId>
			<artifactId>aopalliance</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>backport-util-concurrent</groupId>
			<artifactId>backport-util-concurrent</artifactId>
			<scope>provided</scope>
		</dependency>
		<!-- gwt -->
		<dependency>
			<groupId>com.google.gwt</groupId>
			<artifactId>gwt-user</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.google.gwt</groupId>
			<artifactId>gwt-servlet</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.sonatype.sisu.inject</groupId>
			<artifactId>guice-servlet</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>javax.inject</groupId>
			<artifactId>javax.inject</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.google.guava</groupId>
			<artifactId>guava</artifactId>
			<scope>provided</scope>
		</dependency>
		<!-- commons -->
		<dependency>
			<groupId>commons-net</groupId>
			<artifactId>commons-net</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>commons-codec</groupId>
			<artifactId>commons-codec</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-compress</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>commons-fileupload</groupId>
			<artifactId>commons-fileupload</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>commons-httpclient</groupId>
			<artifactId>commons-httpclient</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>commons-beanutils</groupId>
			<artifactId>commons-beanutils</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>commons-collections</groupId>
			<artifactId>commons-collections</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>commons-configuration</groupId>
			<artifactId>commons-configuration</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>commons-io</groupId>
			<artifactId>commons-io</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>commons-lang</groupId>
			<artifactId>commons-lang</artifactId>
		</dependency>
		<dependency>
			<groupId>commons-logging</groupId>
			<artifactId>commons-logging</artifactId>
			<scope>provided</scope>
		</dependency>
		<!-- storage layer -->
		<dependency>
			<groupId>org.gcube.contentmanagement</groupId>
			<artifactId>storage-manager-core</artifactId>
			<scope>provided</scope>
			<exclusions>
				<exclusion>
					<artifactId>slf4j-nop</artifactId>
					<groupId>org.slf4j</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.gcube.contentmanagement</groupId>
			<artifactId>storage-manager-wrapper</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.mongodb</groupId>
			<artifactId>mongo-java-driver</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.derby</groupId>
			<artifactId>derby</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.derby</groupId>
			<artifactId>derbytools</artifactId>
			<scope>provided</scope>
		</dependency>
		<!-- logging and mailing -->
		<dependency>
			<groupId>com.sun.mail</groupId>
			<artifactId>javax.mail</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-log4j12</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<scope>provided</scope>
		</dependency>
		<!-- Other -->
		<dependency>
			<groupId>org.gcube.externals</groupId>
			<artifactId>timeseries-charts-support</artifactId>
			<version>1.0.0</version>
			<scope>provided</scope>
		</dependency>
	</dependencies>
</project>
