2018-12-04 12:06:22 +01:00
|
|
|
<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/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<artifactId>maven-parent</artifactId>
|
|
|
|
<groupId>org.gcube.tools</groupId>
|
2019-09-24 11:12:17 +02:00
|
|
|
<version>1.1.0</version>
|
2018-12-04 12:06:22 +01:00
|
|
|
<relativePath />
|
|
|
|
</parent>
|
|
|
|
|
2020-08-06 15:06:54 +02:00
|
|
|
<groupId>org.gcube.data-catalogue</groupId>
|
2018-12-04 12:06:22 +01:00
|
|
|
<artifactId>gcat</artifactId>
|
|
|
|
<packaging>war</packaging>
|
2023-03-14 11:58:52 +01:00
|
|
|
<version>2.5.1-SNAPSHOT</version>
|
2019-12-06 13:55:36 +01:00
|
|
|
<name>gCube Catalogue (gCat) Service</name>
|
2018-12-04 12:06:22 +01:00
|
|
|
<description>
|
|
|
|
This service allows any client to publish on the gCube Catalogue.
|
|
|
|
</description>
|
|
|
|
|
2019-10-03 12:51:31 +02:00
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2019-11-21 17:01:08 +01:00
|
|
|
<webappDirectory>${project.basedir}${file.separator}src${file.separator}main${file.separator}webapp${file.separator}WEB-INF</webappDirectory>
|
2022-04-11 14:15:06 +02:00
|
|
|
<enunciate.version>2.14.0</enunciate.version>
|
2019-10-03 12:51:31 +02:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2018-12-04 12:06:22 +01:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.distribution</groupId>
|
|
|
|
<artifactId>gcube-smartgears-bom</artifactId>
|
2023-05-04 15:10:58 +02:00
|
|
|
<version>2.5.0-SNAPSHOT</version>
|
2018-12-04 12:06:22 +01:00
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</dependency>
|
2022-02-16 22:34:30 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>common-encryption</artifactId>
|
|
|
|
</dependency>
|
2022-02-15 09:59:02 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>common-scope</artifactId>
|
|
|
|
</dependency>
|
2022-02-15 16:22:53 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>common-smartgears-app</artifactId>
|
|
|
|
</dependency>
|
2021-12-01 17:12:04 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.data-catalogue</groupId>
|
|
|
|
<artifactId>gcat-api</artifactId>
|
2023-03-14 11:58:52 +01:00
|
|
|
<version>[2.3.2-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
|
2021-12-01 17:12:04 +01:00
|
|
|
</dependency>
|
2022-05-26 10:53:27 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.social-networking</groupId>
|
|
|
|
<artifactId>social-service-client</artifactId>
|
2022-07-12 10:10:51 +02:00
|
|
|
<version>[1.0.0, 2.0.0-SNAPSHOT)</version>
|
2022-05-26 10:53:27 +02:00
|
|
|
</dependency>
|
2021-12-01 17:12:04 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>authorization-utils</artifactId>
|
2023-03-14 11:58:52 +01:00
|
|
|
<version>[2.1.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
|
2021-12-01 17:12:04 +01:00
|
|
|
</dependency>
|
2022-03-31 11:38:26 +02:00
|
|
|
<dependency>
|
2022-03-31 11:41:30 +02:00
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>storagehub-model</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
|
|
<artifactId>jersey-media-multipart</artifactId>
|
|
|
|
</dependency>
|
2020-12-09 15:33:28 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.information-system</groupId>
|
|
|
|
<artifactId>information-system-model</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.resource-management</groupId>
|
|
|
|
<artifactId>gcube-model</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.information-system</groupId>
|
|
|
|
<artifactId>resource-registry-client</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.information-system</groupId>
|
|
|
|
<artifactId>resource-registry-publisher</artifactId>
|
|
|
|
</dependency>
|
2022-12-07 17:21:14 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.information-system</groupId>
|
|
|
|
<artifactId>resource-registry-query-template-client</artifactId>
|
|
|
|
</dependency>
|
2022-04-06 11:22:20 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.resources</groupId>
|
|
|
|
<artifactId>common-gcore-resources</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.resources</groupId>
|
|
|
|
<artifactId>registry-publisher</artifactId>
|
2020-12-09 15:33:28 +01:00
|
|
|
</dependency>
|
2018-12-04 12:06:22 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.data-catalogue</groupId>
|
|
|
|
<artifactId>gcubedatacatalogue-metadata-discovery</artifactId>
|
2022-01-11 16:32:03 +01:00
|
|
|
<version>[3.0.0, 4.0.0-SNAPSHOT)</version>
|
2018-12-04 12:06:22 +01:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2021-12-16 15:13:54 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portlets.user</groupId>
|
|
|
|
<artifactId>uri-resolver-manager</artifactId>
|
2022-07-12 11:08:11 +02:00
|
|
|
<version>[1.0.0, 2.0.0-SNAPSHOT)</version>
|
2021-12-16 15:13:54 +01:00
|
|
|
</dependency>
|
2018-12-04 12:06:22 +01:00
|
|
|
<dependency>
|
2019-09-16 12:00:49 +02:00
|
|
|
<groupId>org.glassfish.jersey.containers</groupId>
|
|
|
|
<artifactId>jersey-container-servlet</artifactId>
|
2018-12-04 12:06:22 +01:00
|
|
|
</dependency>
|
2021-12-21 13:41:28 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
<artifactId>javax.ws.rs-api</artifactId>
|
|
|
|
</dependency>
|
2022-09-22 17:22:27 +02:00
|
|
|
|
2022-10-20 17:02:21 +02:00
|
|
|
<!-- Added to support Java 11 JDK -->
|
2022-09-22 17:22:27 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.xml.ws</groupId>
|
|
|
|
<artifactId>jaxws-api</artifactId>
|
2022-10-20 17:02:21 +02:00
|
|
|
<scope>provided</scope>
|
2022-09-22 17:22:27 +02:00
|
|
|
</dependency>
|
2022-11-02 16:09:51 +01:00
|
|
|
<dependency>
|
2022-11-03 09:26:35 +01:00
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<scope>provided</scope>
|
2022-11-02 16:09:51 +01:00
|
|
|
</dependency>
|
2022-10-20 17:02:21 +02:00
|
|
|
<!-- END Added to support Java 11 JDK -->
|
|
|
|
|
2019-01-10 12:29:47 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
2019-02-08 11:10:59 +01:00
|
|
|
<artifactId>gxHTTP</artifactId>
|
2019-01-10 12:29:47 +01:00
|
|
|
</dependency>
|
2019-01-29 17:46:22 +01:00
|
|
|
|
2020-08-06 14:55:28 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>common-smartgears</artifactId>
|
|
|
|
</dependency>
|
2021-12-20 13:46:50 +01:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<version>42.2.19</version>
|
|
|
|
</dependency>
|
|
|
|
|
2019-01-29 17:46:22 +01:00
|
|
|
|
2019-09-16 12:00:49 +02:00
|
|
|
<!-- ehCAChe -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.cache</groupId>
|
|
|
|
<artifactId>cache-api</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ehcache</groupId>
|
|
|
|
<artifactId>ehcache</artifactId>
|
|
|
|
<version>3.5.2</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- END ehCAChe -->
|
|
|
|
|
2020-08-06 14:55:28 +02:00
|
|
|
<!-- Used for validation in oldutils. TO BE REMOVED ASAP -->
|
2018-12-04 12:06:22 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>de.grundid.opendatalab</groupId>
|
|
|
|
<artifactId>geojson-jackson</artifactId>
|
|
|
|
<version>1.8</version>
|
|
|
|
</dependency>
|
2020-08-06 14:55:28 +02:00
|
|
|
|
2019-01-10 12:29:47 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.data-publishing</groupId>
|
2019-01-29 17:46:22 +01:00
|
|
|
<artifactId>storagehub-application-persistence</artifactId>
|
2022-01-11 16:32:03 +01:00
|
|
|
<version>[3.0.0,4.0.0-SNAPSHOT)</version>
|
2019-01-10 12:29:47 +01:00
|
|
|
</dependency>
|
2022-02-25 16:17:46 +01:00
|
|
|
|
|
|
|
<!-- Used to automatically convert XML to JSON -->
|
2021-12-07 14:46:12 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.json</groupId>
|
|
|
|
<artifactId>json</artifactId>
|
|
|
|
<version>20211205</version>
|
|
|
|
</dependency>
|
2022-02-25 16:17:46 +01:00
|
|
|
|
2022-11-03 09:26:35 +01:00
|
|
|
<!-- Used to detect Resource MimeTypes -->
|
2021-12-07 14:46:12 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.tika</groupId>
|
|
|
|
<artifactId>tika-core</artifactId>
|
|
|
|
<version>2.1.0</version>
|
|
|
|
</dependency>
|
2022-11-03 09:26:35 +01:00
|
|
|
|
|
|
|
<!-- Used by Validator -->
|
2021-12-07 14:46:12 +01:00
|
|
|
<dependency>
|
2022-11-29 12:33:42 +01:00
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
<version>2.6</version>
|
2021-12-07 14:46:12 +01:00
|
|
|
</dependency>
|
2021-11-30 11:48:35 +01:00
|
|
|
|
2022-11-03 09:26:35 +01:00
|
|
|
<!--
|
|
|
|
Zulip is not used at the moment
|
2021-11-17 17:47:58 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.taliox</groupId>
|
|
|
|
<artifactId>zulip-java-rest</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
</dependency>
|
2022-11-03 09:26:35 +01:00
|
|
|
-->
|
2021-12-02 11:50:18 +01:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>gcube-jackson-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>gcube-jackson-annotations</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>gcube-jackson-databind</artifactId>
|
|
|
|
</dependency>
|
2018-12-04 12:06:22 +01:00
|
|
|
|
2022-03-31 17:47:16 +02:00
|
|
|
<!-- Required for Enunciate plugin -->
|
2022-09-22 14:47:03 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.webcohesion.enunciate</groupId>
|
|
|
|
<artifactId>enunciate-core-annotations</artifactId>
|
|
|
|
<version>${enunciate.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.webcohesion.enunciate</groupId>
|
|
|
|
<artifactId>enunciate-rt-util</artifactId>
|
|
|
|
<version>${enunciate.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2022-03-31 17:47:16 +02:00
|
|
|
<!-- END Required for Enunciate plugin -->
|
|
|
|
|
|
|
|
|
2018-12-04 12:06:22 +01:00
|
|
|
<!-- Test libraries -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.11</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2022-03-07 16:30:16 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-12-04 12:06:22 +01:00
|
|
|
</dependencies>
|
2022-03-31 17:47:16 +02:00
|
|
|
|
2022-07-12 11:29:53 +02:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2022-09-09 14:17:25 +02:00
|
|
|
<!-- Sphinx plugin' -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>kr.motd.maven</groupId>
|
|
|
|
<artifactId>sphinx-maven-plugin</artifactId>
|
|
|
|
<version>2.10.0</version>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.directory}/${project.artifactId}-${project.version}/docs</outputDirectory>
|
|
|
|
<builder>html</builder>
|
|
|
|
<configDirectory>${basedir}/docs</configDirectory>
|
|
|
|
<sourceDirectory>${basedir}/docs</sourceDirectory>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>generate</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-09-20 14:21:56 +02:00
|
|
|
|
2022-09-22 14:20:21 +02:00
|
|
|
<!-- Enunciate Maven plugin -->
|
2022-09-22 17:32:08 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.webcohesion.enunciate</groupId>
|
|
|
|
<artifactId>enunciate-maven-plugin</artifactId>
|
|
|
|
<version>${enunciate.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>assemble</id>
|
|
|
|
<goals>
|
|
|
|
<goal>assemble</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-09-22 14:20:21 +02:00
|
|
|
<!-- Copy Enunciate Documentation from your-application/api-docs into your war -->
|
2022-09-22 17:32:08 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-enunciate-docs</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>target</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<targetPath>${project.build.directory}/${project.artifactId}-${project.version}/api-docs</targetPath>
|
|
|
|
<directory>${project.build.directory}/api-docs</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-09-20 14:21:56 +02:00
|
|
|
|
2023-03-14 11:58:52 +01:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<attachClasses>true</attachClasses>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2022-07-12 11:29:53 +02:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2022-03-31 17:47:16 +02:00
|
|
|
|
2022-02-25 16:17:46 +01:00
|
|
|
</project>
|