2016-06-13 09:48:29 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2019-12-03 17:03:19 +01:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2016-06-13 09:48:29 +02:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<artifactId>maven-parent</artifactId>
|
|
|
|
<groupId>org.gcube.tools</groupId>
|
2023-07-25 12:35:11 +02:00
|
|
|
<version>1.2.0</version>
|
2016-06-13 09:48:29 +02:00
|
|
|
<relativePath />
|
|
|
|
</parent>
|
2023-07-28 13:58:30 +02:00
|
|
|
|
2016-06-13 09:48:29 +02:00
|
|
|
<groupId>org.gcube.portlets.gcubeckan</groupId>
|
|
|
|
<artifactId>gcube-ckan-datacatalog</artifactId>
|
|
|
|
<packaging>war</packaging>
|
2023-12-21 09:09:23 +01:00
|
|
|
<version>2.2.7</version>
|
2016-06-13 09:48:29 +02:00
|
|
|
<name>gCube CKAN Data Catalog</name>
|
|
|
|
<description>The gCube CKAN Data Catalog portlet</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<!-- Convenience property to set the GWT version -->
|
2023-07-25 15:32:58 +02:00
|
|
|
<gwtVersion>2.10.0</gwtVersion>
|
2016-06-13 09:48:29 +02:00
|
|
|
<!-- GWT needs at least java 1.6 -->
|
|
|
|
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
2022-10-27 10:05:35 +02:00
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
2019-12-03 17:09:29 +01:00
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
2016-06-13 09:48:29 +02:00
|
|
|
</properties>
|
|
|
|
|
2016-07-07 11:38:45 +02:00
|
|
|
<scm>
|
2019-12-03 17:03:19 +01:00
|
|
|
<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>
|
2016-07-07 11:38:45 +02:00
|
|
|
</scm>
|
|
|
|
|
2016-06-13 09:48:29 +02:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.distribution</groupId>
|
|
|
|
<artifactId>maven-portal-bom</artifactId>
|
2023-03-10 12:11:55 +01:00
|
|
|
<version>3.6.4</version>
|
2016-06-13 09:48:29 +02:00
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>gwt-user</artifactId>
|
|
|
|
<groupId>com.google.gwt</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.gwt</groupId>
|
|
|
|
<artifactId>gwt-servlet</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<dependencies>
|
2023-07-28 15:41:59 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2016-06-13 09:48:29 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.gwt</groupId>
|
2023-07-28 15:41:59 +02:00
|
|
|
<artifactId>gwt-servlet</artifactId>
|
2022-05-18 16:40:15 +02:00
|
|
|
<version>${gwtVersion}</version>
|
2023-07-28 15:41:59 +02:00
|
|
|
<scope>runtime</scope>
|
2022-05-18 16:40:15 +02:00
|
|
|
</dependency>
|
2022-06-23 14:35:56 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.gwt</groupId>
|
2023-07-28 15:41:59 +02:00
|
|
|
<artifactId>gwt-user</artifactId>
|
2022-06-23 14:35:56 +02:00
|
|
|
<version>${gwtVersion}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2022-05-18 16:40:15 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.gwt</groupId>
|
2023-07-28 15:41:59 +02:00
|
|
|
<artifactId>gwt-dev</artifactId>
|
2022-05-18 16:40:15 +02:00
|
|
|
<version>${gwtVersion}</version>
|
2023-01-27 15:16:52 +01:00
|
|
|
<scope>provided</scope>
|
2016-06-13 09:48:29 +02:00
|
|
|
</dependency>
|
2016-06-13 12:54:15 +02:00
|
|
|
<dependency>
|
2016-06-13 09:48:29 +02:00
|
|
|
<groupId>com.github.gwtbootstrap</groupId>
|
|
|
|
<artifactId>gwt-bootstrap</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- FWS -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.resources.discovery</groupId>
|
|
|
|
<artifactId>ic-client</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>common-scope-maps</artifactId>
|
2019-12-05 14:26:23 +01:00
|
|
|
<scope>compile</scope>
|
2016-06-13 09:48:29 +02:00
|
|
|
</dependency>
|
|
|
|
<!-- END FWS -->
|
|
|
|
|
2018-08-30 17:35:45 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>common-encryption</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2017-04-03 16:43:36 +02:00
|
|
|
<!-- share link widget -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portlets-widgets</groupId>
|
|
|
|
<artifactId>catalogue-sharing-widget</artifactId>
|
2019-12-03 17:03:19 +01:00
|
|
|
<version>[1.0.0, 2.0.0-SNAPSHOT)</version>
|
2017-04-03 16:43:36 +02:00
|
|
|
</dependency>
|
|
|
|
|
2022-05-18 16:40:15 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portlets.widgets</groupId>
|
|
|
|
<artifactId>ckan-content-moderator-widget</artifactId>
|
|
|
|
<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
|
|
|
</dependency>
|
2021-04-09 15:39:48 +02:00
|
|
|
|
2017-01-26 18:47:46 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portlets.widgets</groupId>
|
|
|
|
<artifactId>grsf-manage-widget</artifactId>
|
2019-12-03 17:03:19 +01:00
|
|
|
<version>[1.0.0,2.0.0-SNAPSHOT)</version>
|
2017-01-26 18:47:46 +01:00
|
|
|
</dependency>
|
2021-04-09 15:39:48 +02:00
|
|
|
|
2016-06-13 12:54:15 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portlets.widgets</groupId>
|
|
|
|
<artifactId>ckan-metadata-publisher-widget</artifactId>
|
2022-10-27 13:52:30 +02:00
|
|
|
<version>[2.1.0,3.0.0)</version>
|
2016-06-13 12:54:15 +02:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2023-07-28 13:58:30 +02:00
|
|
|
|
2019-12-09 12:33:01 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portlets.widgets</groupId>
|
|
|
|
<artifactId>ckan2zenodo-publisher-widget</artifactId>
|
2020-09-24 12:53:58 +02:00
|
|
|
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
2020-01-21 17:12:29 +01:00
|
|
|
<scope>compile</scope>
|
2021-04-09 15:39:48 +02:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.gcube.data-publishing</groupId>
|
|
|
|
<artifactId>gcat-client</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2019-12-09 12:33:01 +01:00
|
|
|
</dependency>
|
|
|
|
|
2018-03-22 11:55:46 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.resources</groupId>
|
|
|
|
<artifactId>registry-publisher</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2018-08-30 17:35:45 +02:00
|
|
|
|
2016-06-13 09:48:29 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>authorization-client</artifactId>
|
2016-07-21 14:56:11 +02:00
|
|
|
<scope>provided</scope>
|
2016-06-13 09:48:29 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>common-authorization</artifactId>
|
2016-07-21 14:56:11 +02:00
|
|
|
<scope>provided</scope>
|
2016-06-13 09:48:29 +02:00
|
|
|
</dependency>
|
2016-06-28 12:45:24 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
<version>4.5.2</version>
|
|
|
|
</dependency>
|
2016-10-03 14:35:36 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common.portal</groupId>
|
|
|
|
<artifactId>portal-manager</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2016-06-13 09:48:29 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.portlet</groupId>
|
|
|
|
<artifactId>portlet-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.11</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.liferay.portal</groupId>
|
|
|
|
<artifactId>portal-service</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2016-06-14 17:42:59 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.dvos</groupId>
|
|
|
|
<artifactId>usermanagement-core</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2016-06-20 15:22:21 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2022-10-27 10:26:07 +02:00
|
|
|
<!-- REQUIRED FOR JDK_11 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>1.18.4</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2016-06-13 09:48:29 +02:00
|
|
|
<!-- LOGGER -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
2016-07-21 14:56:11 +02:00
|
|
|
<scope>provided</scope>
|
2016-06-13 09:48:29 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
2016-07-21 14:56:11 +02:00
|
|
|
<scope>provided</scope>
|
2016-06-13 09:48:29 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
2016-07-21 14:56:11 +02:00
|
|
|
<scope>provided</scope>
|
2016-06-13 09:48:29 +02:00
|
|
|
</dependency>
|
|
|
|
|
2017-04-27 16:45:15 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>common-configuration-scanner</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2016-06-13 09:48:29 +02:00
|
|
|
</dependencies>
|
2016-07-07 11:38:45 +02:00
|
|
|
|
2016-06-13 09:48:29 +02:00
|
|
|
<build>
|
2016-07-06 11:34:09 +02:00
|
|
|
<!-- Output classes directly into the webapp, so that IDEs and "mvn process-classes"
|
|
|
|
update them in DevMode -->
|
2016-06-13 09:48:29 +02:00
|
|
|
<outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<!-- GWT Maven Plugin -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>gwt-maven-plugin</artifactId>
|
|
|
|
<version>${gwtVersion}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<!-- Plugin configuration. There are many available options, see gwt-maven-plugin
|
|
|
|
documentation at codehaus.org -->
|
|
|
|
<configuration>
|
|
|
|
<runTarget>GCubeCkanDataCatalog.html</runTarget>
|
|
|
|
<hostedWebapp>${webappDirectory}</hostedWebapp>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!-- Copy static web files before executing gwt:run -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exploded</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<webappDirectory>${webappDirectory}</webappDirectory>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<!-- SA Plugin -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
2019-12-03 17:03:19 +01:00
|
|
|
<descriptor>descriptor.xml</descriptor>
|
2016-06-13 09:48:29 +02:00
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>servicearchive</id>
|
|
|
|
<phase>install</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-12-05 14:26:23 +01:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2019-12-06 11:07:28 +01:00
|
|
|
<id>copy-profile</id>
|
2019-12-05 14:26:23 +01:00
|
|
|
<phase>install</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2019-12-06 11:07:28 +01:00
|
|
|
<outputDirectory>target</outputDirectory>
|
2019-12-05 14:26:23 +01:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<!-- Needed to build the service archive tar.gz -->
|
2019-12-06 11:07:28 +01:00
|
|
|
<directory>${project.basedir}</directory>
|
2019-12-05 14:26:23 +01:00
|
|
|
<filtering>true</filtering>
|
|
|
|
<includes>
|
|
|
|
<include>profile.xml</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
<!-- Needed to copy the following file into .war -->
|
|
|
|
<!-- <resource> -->
|
|
|
|
<!-- <directory>${project.basedir}</directory> -->
|
|
|
|
<!-- <filtering>true</filtering> -->
|
|
|
|
<!-- <includes> -->
|
|
|
|
<!-- <include>README.md</include> -->
|
|
|
|
<!-- <include>LICENSE.md</include> -->
|
|
|
|
<!-- <include>changelog.xml</include> -->
|
|
|
|
<!-- </includes> -->
|
|
|
|
<!-- </resource> -->
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-06-13 09:48:29 +02:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|