<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>
		<groupId>org.gcube.tools</groupId>
		<artifactId>maven-parent</artifactId>
		<version>1.3.0-SNAPSHOT</version>
		<relativePath />
	</parent>
	<groupId>org.gcube.distribution</groupId>
	<artifactId>maven-portal-bom</artifactId>
	<version>4.1.0-SNAPSHOT</version>
	<packaging>pom</packaging>
	<scm>
		<connection>
			scm:git:https://code-repo.d4science.org/gCubeSystem/maven-portal-bom.git</connection>
		<developerConnection>
			scm:git:https://code-repo.d4science.org/gCubeSystem/maven-portal-bom.git</developerConnection>
		<url>https://code-repo.d4science.org/gCubeSystem/maven-portal-bom</url>
	</scm>
	<properties>
		<gwtVersion>2.5.1</gwtVersion>
		<liferay.version>6.2.5</liferay.version>
	</properties>

	<dependencyManagement>
		<dependencies>
			<!-- Application Support Layer -->
			<dependency>
				<groupId>org.gcube.applicationsupportlayer</groupId>
				<artifactId>aslcore</artifactId>
				<version>[5.1.2-SNAPSHOT,6.0.0-SNAPSHOT)</version> <!-- version
				to release. snapshot present-->
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.applicationsupportlayer</groupId>
				<artifactId>aslsocial</artifactId>
				<version>[1.7.3,2.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<!-- End Application Support Layer -->
			<!-- FWS-stack -->
			<dependency>
				<groupId>org.gcube.core</groupId>
				<artifactId>common-clients</artifactId>
				<version>[2.1.1-SNAPSHOT,3.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.core</groupId>
				<artifactId>common-configuration-scanner</artifactId>
				<version>[1.1.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>  <!--version to release (already done)-->
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.core</groupId>
				<artifactId>common-fw-clients</artifactId>
				<version>[1.1.1-SNAPSHOT,2.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.resources</groupId>
				<artifactId>common-gcore-resources</artifactId>
				<version>[1.3.5-SNAPSHOT,2.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.core</groupId>
				<artifactId>common-gcore-stubs</artifactId>
				<version>[1.2.4-SNAPSHOT,2.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.core</groupId>
				<artifactId>common-scope</artifactId>
				<version>[1.3.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.core</groupId>
				<artifactId>common-scope-maps</artifactId>
				<version>[1.1.1-SNAPSHOT,2.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.resources.discovery</groupId>
				<artifactId>discovery-client</artifactId>
				<version>[1.0.2-SNAPSHOT,2.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.resources.discovery</groupId>
				<artifactId>ic-client</artifactId>
				<!-- <version>[1.0.4,2.0.0-SNAPSHOT)</version> -->
				<version>1.0.4</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.resources</groupId>
				<artifactId>registry-publisher</artifactId>
				<version>[1.3.2,2.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.core</groupId>
				<artifactId>common-generic-clients</artifactId>
				<version>[1.0.1-SNAPSHOT,2.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<!-- End FWS -->
			<!-- Keycloak and orchestrator libs -->
			<dependency>
				<groupId>org.gcube.common</groupId>
				<artifactId>event-publisher-library</artifactId>
				<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.portal</groupId>
				<artifactId>event-publisher-portal</artifactId>
				<version>[1.0.1-SNAPSHOT,2.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.common</groupId>
				<artifactId>oidc-library</artifactId>
				<version>[1.2.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.portal</groupId>
				<artifactId>oidc-library-portal</artifactId>
				<version>[1.2.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<!-- Auth Framework -->
			<dependency>
				<groupId>org.gcube.common</groupId>
				<artifactId>authorization-client</artifactId>
				<version>[2.0.4,3.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.common</groupId>
				<artifactId>common-authorization</artifactId>
				<version>[2.2.0,3.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.core</groupId>
				<artifactId>common-gcube-calls</artifactId>
				<version>[1.3.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<!-- Storage Hub -->
			<dependency>
				<groupId>org.gcube.common</groupId>
				<artifactId>storagehub-client-library</artifactId>
				<version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
			</dependency>
			<dependency>
				<groupId>org.gcube.common</groupId>
				<artifactId>storagehub-model</artifactId>
				<version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
			</dependency>
			<dependency>
				<groupId>org.gcube.portal</groupId>
				<artifactId>storagehub-icons-library</artifactId>
				<version>[1.2.0, 2.0.0-SNAPSHOT)</version>
			</dependency>
			<!-- Social Libraries -->
			<dependency>
				<groupId>org.gcube.portal</groupId>
				<artifactId>social-library-stubs</artifactId>
				<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.social-networking</groupId>
				<artifactId>social-service-client</artifactId>
				<version>[2.1.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
				<exclusions>
					<exclusion>
						<groupId>org.gcube.portal</groupId>
						<artifactId>social-networking-library</artifactId>
					</exclusion>
				</exclusions>
			</dependency>
			<dependency>
				<groupId>org.gcube.social-networking</groupId>
				<artifactId>social-service-model</artifactId>
				<version>[1.2.0, 2.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.portal</groupId>
				<artifactId>notifications-common-library</artifactId>
				<version>[1.5.0,2.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>javax.ws.rs</groupId>
				<artifactId>javax.ws.rs-api</artifactId>
				<version>[2.0.1, 3.0.0)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>com.google</groupId>
				<artifactId>gwt-jsonmaker</artifactId>
				<version>1.2.1</version>
			</dependency>
			<!-- End Social Networking Library -->
			<!-- portal core -->
			<dependency>
				<groupId>org.gcube.common.portal</groupId>
				<artifactId>portal-manager</artifactId>
				<version>[2.4.2,3.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.portal.auth</groupId>
				<artifactId>portal-auth-library</artifactId>
				<version>[1.0.2,2.0.0-SNAPSHOT)</version>
			</dependency>
			<dependency>
				<groupId>org.gcube.portal</groupId>
				<artifactId>custom-portal-handler</artifactId>
				<version>[2.1.1,3.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.portlets.user</groupId>
				<artifactId>gcube-widgets</artifactId>
				<version>[2.3.0,3.0.0-SNAPSHOT)</version>
			</dependency>
			<dependency>
				<groupId>org.gcube.dvos</groupId>
				<artifactId>usermanagement-core</artifactId>
				<version>[2.5.0,3.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.core</groupId>
				<artifactId>common-encryption</artifactId>
				<version>[1.1.0,2.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>javax.portlet</groupId>
				<artifactId>portlet-api</artifactId>
				<version>2.0</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>com.liferay.portal</groupId>
				<artifactId>portal-service</artifactId>
				<version>${liferay.version}</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>com.liferay.portal</groupId>
				<artifactId>util-java</artifactId>
				<version>${liferay.version}</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>javax.servlet</groupId>
				<artifactId>javax.servlet-api</artifactId>
				<version>[2.4.0,3.0.1]</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>aopalliance</groupId>
				<artifactId>aopalliance</artifactId>
				<version>1.0</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>backport-util-concurrent</groupId>
				<artifactId>backport-util-concurrent</artifactId>
				<version>3.1</version>
				<scope>provided</scope>
			</dependency>
			<!-- gwt -->
			<dependency>
				<groupId>com.google.gwt</groupId>
				<artifactId>gwt-servlet</artifactId>
				<version>${gwtVersion}</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>com.google.gwt</groupId>
				<artifactId>gwt-user</artifactId>
				<version>${gwtVersion}</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>com.github.gwtbootstrap</groupId>
				<artifactId>gwt-bootstrap</artifactId>
				<version>2.3.2.0</version>
			</dependency>
			<dependency>
				<groupId>org.sonatype.sisu.inject</groupId>
				<artifactId>guice-servlet</artifactId>
				<version>3.0.0</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>com.google.code.guice</groupId>
				<artifactId>guice</artifactId>
				<version>3.0</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>javax.inject</groupId>
				<artifactId>javax.inject</artifactId>
				<version>1</version>
				<scope>provided</scope>
			</dependency>
			<!-- commons -->
			<dependency>
				<groupId>commons-codec</groupId>
				<artifactId>commons-codec</artifactId>
				<version>1.8</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.apache.commons</groupId>
				<artifactId>commons-compress</artifactId>
				<version>1.3</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>commons-fileupload</groupId>
				<artifactId>commons-fileupload</artifactId>
				<version>1.3.1</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>commons-httpclient</groupId>
				<artifactId>commons-httpclient</artifactId>
				<version>3.1</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>commons-beanutils</groupId>
				<artifactId>commons-beanutils</artifactId>
				<version>1.6.1</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>commons-collections</groupId>
				<artifactId>commons-collections</artifactId>
				<version>3.2</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>commons-configuration</groupId>
				<artifactId>commons-configuration</artifactId>
				<version>1.7</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>commons-io</groupId>
				<artifactId>commons-io</artifactId>
				<version>1.4</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>commons-lang</groupId>
				<artifactId>commons-lang</artifactId>
				<version>2.6</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>commons-logging</groupId>
				<artifactId>commons-logging</artifactId>
				<version>1.1.1</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>commons-net</groupId>
				<artifactId>commons-net</artifactId>
				<version>3.0.1</version>
				<scope>provided</scope>
			</dependency>
			<!-- end commons -->
			<!-- storage layer -->
			<dependency>
				<groupId>org.gcube.contentmanagement</groupId>
				<artifactId>storage-manager-core</artifactId>
				<version>[2.9.1,3.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.gcube.contentmanagement</groupId>
				<artifactId>storage-manager-wrapper</artifactId>
				<version>[2.5.4,3.0.0-SNAPSHOT)</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.mongodb</groupId>
				<artifactId>mongo-java-driver</artifactId>
				<version>3.6.0</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.apache.derby</groupId>
				<artifactId>derby</artifactId>
				<version>10.10.1.1</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.apache.derby</groupId>
				<artifactId>derbytools</artifactId>
				<version>10.8.1.2</version>
				<scope>provided</scope>
			</dependency>
			<!-- end storage layer -->
			<!-- Accounting Related Dependencies -->
			<dependency>
				<groupId>org.gcube.data.publishing</groupId>
				<artifactId>document-store-lib</artifactId>
				<version>[3.0.0,4.0.0-SNAPSHOT)</version>
			</dependency>
			<dependency>
				<groupId>org.gcube.accounting</groupId>
				<artifactId>accounting-lib</artifactId>
				<version>[4.0.0,5.0.0-SNAPSHOT)</version>
			</dependency>
			<!-- END Accounting Related Dependencies -->
			<!-- misc -->
			<dependency>
				<groupId>net.sf.ehcache</groupId>
				<artifactId>ehcache-core</artifactId>
				<version>2.5.2</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>com.google.guava</groupId>
				<artifactId>guava</artifactId>
				<version>18.0</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>javax.jdo</groupId>
				<artifactId>jdo-api</artifactId>
				<version>3.0.1</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>net.sf.kxml</groupId>
				<artifactId>kxml2</artifactId>
				<version>2.3.0</version>
				<scope>provided</scope>
			</dependency>
			<!-- logging and mailing -->
			<dependency>
				<groupId>com.sun.mail</groupId>
				<artifactId>javax.mail</artifactId>
				<version>1.5.2</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.slf4j</groupId>
				<artifactId>slf4j-api</artifactId>
				<version>1.6.4</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.slf4j</groupId>
				<artifactId>slf4j-log4j12</artifactId>
				<version>1.6.4</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>log4j</groupId>
				<artifactId>log4j</artifactId>
				<version>1.2.16</version>
				<scope>provided</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>
	<build>
		<plugins>
			<plugin>
				<!--
				https://mvnrepository.com/artifact/org.codehaus.gmaven/groovy-maven-plugin -->
				<groupId>org.codehaus.gmaven</groupId>
				<artifactId>groovy-maven-plugin</artifactId>
				<version>2.1.1</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<configuration>
					<additionalparam>-Xdoclint:none</additionalparam>
					<additionalJOption>-Xdoclint:none</additionalJOption>
				</configuration>
				<version>3.1.0</version>
				<executions>
					<execution>
						<id>generate-doc</id>
						<phase>install</phase>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>
