gcube-portal-bundle/pom.xml

606 lines
19 KiB
XML

<?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>
<groupId>org.gcube.tools</groupId>
<artifactId>maven-parent</artifactId>
<version>1.2.0</version>
</parent>
<groupId>org.gcube.distribution</groupId>
<artifactId>gcube-portal-bundle</artifactId>
<version>5.4.0-SNAPSHOT</version>
<packaging>pom</packaging>
<scm>
<connection>
scm:git:https://code-repo.d4science.org/gCubeSystem/${project.artifactId}.git</connection>
<developerConnection>
scm:git:https://code-repo.d4science.org/gCubeSystem/${project.artifactId}.git</developerConnection>
<url>https://code-repo.d4science.org/gCubeSystem/${project.artifactId}</url>
</scm>
<name>${project.artifactId}</name>
<inceptionYear>2016</inceptionYear>
<developers>
<developer>
<id>massimiliano.assante</id>
<name>Massimiliano Assante</name>
</developer>
</developers>
<properties>
<tomcat.version>7.0.62</tomcat.version>
<distroDirectory>distro</distroDirectory>
<cassandra.driver.oss.version>4.13.0</cassandra.driver.oss.version>
<toreplace-artifactsid>authorization-client</toreplace-artifactsid>
<asl-artifactsid>aslcore,aslsocial</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-legacy-jdk8,document-store-lib,
accounting-lib,threadlocal-vars-cleaner,common-generic-clients,
event-publisher-library,event-publisher-portal,oidc-library,oidc-library-portal,common-gcube-calls</fws-artifactsid>
<snl-artifactsid>
social-library-stubs,social-service-client,social-service-model,notifications-common-library,tour-manager</snl-artifactsid>
<custom-plugins-artifactsid>
gcube-responsive-theme,session-timeout-hook,
oidc-enrollment-hook,event-publisher-hook,VREFolder-hook,user-registration-hook</custom-plugins-artifactsid>
<staging-plugins-artifactsid>portal-staging</staging-plugins-artifactsid>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.gcube.distribution</groupId>
<artifactId>maven-portal-bom</artifactId>
<version>4.0.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<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-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_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>
<excludeArtifactIds>
${toreplace-artifactsid}
</excludeArtifactIds>
<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>
${toreplace-artifactsid},${asl-artifactsid},${fws-artifactsid},${snl-artifactsid},${ep-artifactsid},${custom-plugins-artifactsid},social-networking-library</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>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<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>
<!-- Transitives to be excluded -->
<dependencies>
<!-- 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.liferay</groupId>
<artifactId>user-registration-hook</artifactId>
<version>[2.0.4-SNAPSHOT,)</version>
<type>war</type>
</dependency>
<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.8.2-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</groupId>
<artifactId>oidc-enrollment-hook</artifactId>
<version>[1.1.0-SNAPSHOT,)</version>
<type>war</type>
</dependency>
<dependency>
<groupId>org.gcube.portal</groupId>
<artifactId>event-publisher-hook</artifactId>
<version>[1.0.0-SNAPSHOT,)</version>
<type>war</type>
</dependency>
<!-- Keycloak and orchestrator libs -->
<dependency>
<groupId>org.gcube.common</groupId>
<artifactId>event-publisher-library</artifactId>
</dependency>
<dependency>
<groupId>org.gcube.portal</groupId>
<artifactId>event-publisher-portal</artifactId>
</dependency>
<dependency>
<groupId>org.gcube.common</groupId>
<artifactId>oidc-library</artifactId>
</dependency>
<dependency>
<groupId>org.gcube.portal</groupId>
<artifactId>oidc-library-portal</artifactId>
</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.2.1-SNAPSHOT,)</version>
</dependency>
<dependency>
<groupId>org.gcube.common</groupId>
<artifactId>authorization-client-legacy-jdk8</artifactId>
<version>[2.0.8-SNAPSHOT,3.0.0-SNAPSHOT)</version>
<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-gcube-calls</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.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 -->
<!-- Social Networking Library -->
<dependency>
<groupId>org.gcube.portal</groupId>
<artifactId>social-library-stubs</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.gcube.social-networking</groupId>
<artifactId>social-service-client</artifactId>
<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>
</dependency>
<dependency>
<groupId>org.gcube.portal</groupId>
<artifactId>notifications-common-library</artifactId>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>1.6.2</version>
</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>
<!-- Misc -->
<!-- result set -->
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.1.0.Final</version>
<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>
<!-- 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>