<?xml version="1.0" encoding="UTF-8"?>
<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.distribution</groupId>
	<artifactId>gcube-portal-bundle</artifactId>
	<version>4.4.0-SNAPSHOT</version>
	<packaging>pom</packaging>

	<name>gcube-portal-bundle</name>
	<inceptionYear>2016</inceptionYear>
	<developers>
		<developer>
			<id>@maxassante</id>
			<name>Massimiliano Assante</name>
		</developer>
	</developers>
	<properties>
		<tomcat.version>7.0.62</tomcat.version>
		<distroDirectory>distro</distroDirectory>
		<!-- As long as we do not automatize this make sure the version correspond 
			with the enabling portlets one -->

		<gcubeLoggedinVersionLayout>320SNAPSHOT</gcubeLoggedinVersionLayout>
		<usersManagementVersionLayout>340SNAPSHOT</usersManagementVersionLayout>
		<rolesManagementVersionLayout>300SNAPSHOT</rolesManagementVersionLayout>
		<addUsersVersionLayout>221SNAPSHOT</addUsersVersionLayout>
		<resourceManagementVersionLayout>630SNAPSHOT</resourceManagementVersionLayout>

<!-- 		<gcubeLoggedinVersionLayout>320440</gcubeLoggedinVersionLayout> -->
<!-- 		<usersManagementVersionLayout>340440</usersManagementVersionLayout> -->
<!-- 		<rolesManagementVersionLayout>300420</rolesManagementVersionLayout> -->
<!-- 		<addUsersVersionLayout>221440</addUsersVersionLayout> -->
<!-- 		<resourceManagementVersionLayout>630440</resourceManagementVersionLayout> -->

		<asl-artifactsid>aslcore,aslsocial,accesslogger</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,common-authorization,authorization-client,document-store-lib,
			accounting-lib,document-store-lib-couchdb,threadlocal-vars-cleaner,common-generic-clients</fws-artifactsid>
		<hl-artifactsid>home-library,home-library-model,home-library-jcr,jackrabbit-jcr-commons,jackrabbit-jcr-rmi-custom,jcr</hl-artifactsid>
		<snl-artifactsid>social-networking-library,notifications-common-library,tour-manager</snl-artifactsid>
		<ep-artifactsid>gcube-login-portlet,gcube-loggedin,UsersManagementPortlet,register-vre-users,resource-management,service-endpoint-editor</ep-artifactsid>
		<custom-plugins-artifactsid>gcube-responsive-theme,session-timeout-hook</custom-plugins-artifactsid>
		<staging-plugins-artifactsid>portal-staging,portal-auth-library</staging-plugins-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_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_customPlugins</id>
						<phase>compile</phase>
						<goals>
							<goal>copy-dependencies</goal>
						</goals>
						<configuration>
							<outputDirectory>${basedir}/Portal-Bundle/deploy</outputDirectory>
							<includeArtifactIds>${custom-plugins-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_stagingProcedure</id>
						<phase>compile</phase>
						<goals>
							<goal>copy-dependencies</goal>
						</goals>
						<configuration>
							<outputDirectory>${basedir}/Portal-Bundle/gCube/lib/_misc</outputDirectory>
							<includeArtifactIds>${staging-plugins-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},${ep-artifactsid},${custom-plugins-artifactsid}</excludeArtifactIds>
							<overWriteIfNewer>true</overWriteIfNewer>
							<excludeTypes>war, 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</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-${tomcat.version}/conf/gcube-portlets.properties</file>
					<replacements>
						<replacement>
							<token>@gCubeLoggedin@</token>
							<value>${gcubeLoggedinVersionLayout}</value>
						</replacement>
						<replacement>
							<token>@UsersManagement@</token>
							<value>${usersManagementVersionLayout}</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.distribution</groupId>
			<artifactId>portal-distribution</artifactId>
			<version>[1.2.0-SNAPSHOT,)</version>
			<classifier>bundle</classifier>
			<type>tar.gz</type>
			<scope>provided</scope>
		</dependency>
		<!-- Custom Portal Plugins -->
		<dependency>
			<groupId>org.gcube.portal.plugins</groupId>
			<artifactId>social-dockbar-hook</artifactId>
			<version>[6.3.0-SNAPSHOT,)</version>
			<type>war</type>
		</dependency>
		<dependency>
			<groupId>org.gcube.portal</groupId>
			<artifactId>session-timeout-hook</artifactId>
			<version>[1.0.0-SNAPSHOT,)</version>
			<type>war</type>
		</dependency>
		<dependency>
			<groupId>org.gcube.portal.liferay</groupId>
			<artifactId>gcube-responsive-theme</artifactId>
			<version>[6.3.0-SNAPSHOT,)</version>
			<type>war</type>
		</dependency>
		<dependency>
			<groupId>org.gcube.portal.liferay</groupId>
			<artifactId>VREHome-template</artifactId>
			<version>[6.3.0-SNAPSHOT,)</version>
			<type>war</type>
		</dependency>
		<!-- <dependency> -->
		<!-- <groupId>org.gcube.portal.plugins</groupId> -->
		<!-- <artifactId>VREFolder-hook</artifactId> -->
		<!-- <version>[6.3.0-SNAPSHOT,)</version> -->
		<!-- <type>war</type> -->
		<!-- </dependency> -->
		<dependency>
			<groupId>org.gcube.portal</groupId>
			<artifactId>portal-staging</artifactId>
			<version>[2.0.0-SNAPSHOT,)</version>
			<type>jar</type>
		</dependency>
		<dependency>
			<groupId>org.gcube.portal.auth</groupId>
			<artifactId>portal-auth-library</artifactId>
		</dependency>
		<!-- Enabling Portlets & Plugins -->
		<dependency>
			<groupId>org.gcube.portlets.user</groupId>
			<artifactId>gcube-login-portlet</artifactId>
			<version>[3.1.0-SNAPSHOT,)</version>
			<type>war</type>
		</dependency>
		<dependency>
			<groupId>org.gcube.portlets.user</groupId>
			<artifactId>gcube-loggedin</artifactId>
			<version>[3.2.0-SNAPSHOT,)</version>
			<type>war</type>
		</dependency>
		<dependency>
			<groupId>org.gcube.portlets.admin</groupId>
			<artifactId>UsersManagementPortlet</artifactId>
			<version>[3.4.0-SNAPSHOT,)</version>
			<type>war</type>
		</dependency>
		<dependency>
			<groupId>org.gcube.portlets.admin</groupId>
			<artifactId>register-vre-users</artifactId>
			<version>[1.2.0-SNAPSHOT,)</version>
			<type>war</type>
		</dependency>
		<dependency>
			<groupId>org.gcube.portlets.admin</groupId>
			<artifactId>resource-management</artifactId>
			<version>[6.3.0-SNAPSHOT,)</version>
			<type>war</type>
		</dependency>
		<dependency>
			<groupId>org.gcube.portlets.admin</groupId>
			<artifactId>service-endpoint-editor</artifactId>
			<version>[2.0.0-SNAPSHOT,)</version>
			<type>war</type>
		</dependency>
		<!-- Application Support Layer -->
		<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>aslsocial</artifactId>
			<scope>provided</scope>
		</dependency>
		<!-- End Application Support Layer -->
		<!-- FWS-stack -->
		<dependency>
			<groupId>org.gcube.portal</groupId>
			<artifactId>threadlocal-vars-cleaner</artifactId>
			<version>[2.1.0-SNAPSHOT,)</version>
		</dependency>
		<dependency>
			<groupId>org.gcube.common</groupId>
			<artifactId>authorization-client</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.common</groupId>
			<artifactId>common-authorization</artifactId>
			<scope>provided</scope>
		</dependency>
		<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>
		<dependency>
			<groupId>org.gcube.core</groupId>
			<artifactId>common-generic-clients</artifactId>
			<scope>provided</scope>
		</dependency>
		<!-- End FWS -->
		<!-- Home Library -->
		<dependency>
			<groupId>org.gcube.common</groupId>
			<artifactId>home-library</artifactId>
			<scope>provided</scope>
			<exclusions>
				<exclusion>
					<artifactId>cxf-rt-rs-client</artifactId>
					<groupId>org.apache.cxf</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.gcube.common</groupId>
			<artifactId>home-library-model</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>org.gcube.portal</groupId>
			<artifactId>notifications-common-library</artifactId>
		</dependency>
		<dependency>
			<groupId>com.netflix.astyanax</groupId>
			<artifactId>astyanax-core</artifactId>
			<scope>provided</scope>
			<exclusions>
				<exclusion>
					<groupId>org.slf4j</groupId>
					<artifactId>log4j-over-slf4j</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>com.netflix.astyanax</groupId>
			<artifactId>astyanax-thrift</artifactId>
			<scope>provided</scope>
			<exclusions>
				<exclusion>
					<groupId>org.slf4j</groupId>
					<artifactId>log4j-over-slf4j</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>com.netflix.astyanax</groupId>
			<artifactId>astyanax-cassandra</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.portal</groupId>
			<artifactId>tour-manager</artifactId>
			<version>[1.0.0-SNAPSHOT,)</version>
		</dependency>
		<!-- End Social Networking Library -->
		<!-- accounting -->
		<dependency>
			<groupId>org.gcube.data.publishing</groupId>
			<artifactId>document-store-lib</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.accounting</groupId>
			<artifactId>accounting-lib</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gcube.data.publishing</groupId>
			<artifactId>document-store-lib-couchdb</artifactId>
			<version>[1.0.0-SNAPSHOT,)</version>
			<scope>provided</scope>
		</dependency>
		<!-- Misc -->
		<!-- result set -->
		<dependency>
			<groupId>javax.validation</groupId>
			<artifactId>validation-api</artifactId>
			<version>1.1.0.Final</version>
			<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>
		<!-- 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-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-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>
		<dependency>
			<groupId>com.liferay.portal</groupId>
			<artifactId>util-java</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>
	</dependencies>
</project>
  