2021-09-20 16:47:35 +02: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/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>org.gcube.application</groupId>
|
|
|
|
<artifactId>geoportal-service</artifactId>
|
2023-12-21 12:21:13 +01:00
|
|
|
<version>1.2.0-SNAPSHOT</version>
|
2021-09-20 16:47:35 +02:00
|
|
|
<name>Geoportal Service</name>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.gcube.application.cms</groupId>
|
|
|
|
<artifactId>gcube-cms-suite</artifactId>
|
2023-09-05 15:51:52 +02:00
|
|
|
<version>[1.0.0, 2.0.0-SNAPSHOT)</version>
|
2021-09-20 16:47:35 +02:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>
|
|
|
|
<sis.version>1.0</sis.version>
|
2022-06-08 16:32:01 +02:00
|
|
|
<enunciate.version>2.14.0</enunciate.version>
|
2022-06-15 15:33:55 +02:00
|
|
|
<webappDirectory>${project.basedir}${file.separator}${project.artifactId}${file.separator}src${file.separator}main${file.separator}webapp${file.separator}WEB-INF</webappDirectory>
|
2023-04-26 12:34:50 +02:00
|
|
|
<!-- Enabled them for testing with JAVA 8 -->
|
|
|
|
<!-- <maven.compiler.source>1.8</maven.compiler.source> -->
|
|
|
|
<!-- <maven.compiler.target>1.8</maven.compiler.target> -->
|
2021-09-20 16:47:35 +02:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<scm>
|
2023-09-08 15:31:54 +02:00
|
|
|
<connection>scm:git:${gitBaseUrl}/gcube-cms-suite</connection>
|
|
|
|
<developerConnection>scm:git:${gitBaseUrl}/gcube-cms-suite</developerConnection>
|
|
|
|
<url>${gitBaseUrl}/gcube-cms-suite</url>
|
2021-09-20 16:47:35 +02:00
|
|
|
</scm>
|
|
|
|
|
2021-09-24 15:32:21 +02:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.distribution</groupId>
|
|
|
|
<artifactId>gcube-smartgears-bom</artifactId>
|
2022-03-22 18:07:34 +01:00
|
|
|
<version>${gcube-smartgears-bom-version}</version>
|
2021-09-24 15:32:21 +02:00
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
2021-09-20 16:47:35 +02:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>common-smartgears</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2022-04-07 16:14:52 +02:00
|
|
|
|
2022-03-16 12:11:05 +01:00
|
|
|
<!-- INTERNAL LOGIC -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.application.cms</groupId>
|
|
|
|
<artifactId>geoportal-common</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.application.cms</groupId>
|
|
|
|
<artifactId>cms-plugin-framework</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2022-12-14 15:08:14 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.application.cms</groupId>
|
|
|
|
<artifactId>default-lc-managers</artifactId>
|
|
|
|
</dependency>
|
2022-03-16 12:11:05 +01:00
|
|
|
|
2022-10-18 15:09:49 +02:00
|
|
|
|
2022-03-16 12:11:05 +01:00
|
|
|
<!-- MONGO -->
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.mongodb/mongo-java-driver -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mongodb</groupId>
|
|
|
|
<artifactId>mongo-java-driver</artifactId>
|
|
|
|
<version>3.6.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
2022-09-27 12:23:08 +02:00
|
|
|
<!-- IS Read -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
</dependency>
|
2021-09-20 16:47:35 +02:00
|
|
|
|
2022-03-16 12:11:05 +01:00
|
|
|
<!-- STORAGE -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.contentmanagement</groupId>
|
|
|
|
<artifactId>storage-manager-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.contentmanagement</groupId>
|
|
|
|
<artifactId>storage-manager-wrapper</artifactId>
|
|
|
|
</dependency>
|
2021-09-20 16:47:35 +02:00
|
|
|
|
|
|
|
|
2022-06-08 16:32:01 +02:00
|
|
|
<!-- enunciate deps -->
|
|
|
|
<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>
|
2021-09-20 16:47:35 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
2022-06-08 16:32:01 +02:00
|
|
|
<version>3.1.0</version>
|
|
|
|
<scope>provided</scope>
|
2021-09-20 16:47:35 +02:00
|
|
|
</dependency>
|
|
|
|
|
2022-06-08 16:32:01 +02:00
|
|
|
|
|
|
|
<!-- JERSEY -->
|
|
|
|
|
2021-09-20 16:47:35 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
<artifactId>javax.ws.rs-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.containers</groupId>
|
|
|
|
<artifactId>jersey-container-servlet</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.javassist</groupId>
|
|
|
|
<artifactId>javassist</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
2022-03-15 10:14:34 +01:00
|
|
|
<!-- TEST -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.test-framework.providers</groupId>
|
|
|
|
<artifactId>jersey-test-framework-provider-simple</artifactId>
|
2022-03-04 11:30:48 +01:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2021-09-20 18:11:51 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.application.cms</groupId>
|
|
|
|
<artifactId>cms-test-commons</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2021-09-24 14:58:14 +02:00
|
|
|
|
2023-09-06 16:02:52 +02:00
|
|
|
<!-- TEST with JDK1.8 <dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId>
|
|
|
|
<scope>test</scope> </dependency> <dependency> <groupId>com.sun.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-core</artifactId> <scope>test</scope> </dependency> <dependency>
|
|
|
|
<groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId> <scope>test</scope>
|
|
|
|
</dependency> <dependency> <groupId>com.sun.xml.messaging.saaj</groupId>
|
|
|
|
<artifactId>saaj-impl</artifactId> <version>1.5.0</version> <scope>test</scope>
|
|
|
|
</dependency> <dependency> <groupId>javax.xml.ws</groupId> <artifactId>jaxws-api</artifactId>
|
|
|
|
<scope>test</scope> </dependency> -->
|
2023-04-26 12:34:50 +02:00
|
|
|
|
|
|
|
|
2022-03-15 10:47:37 +01:00
|
|
|
<!-- Plugins related tests -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.application.cms</groupId>
|
|
|
|
<artifactId>concessioni-lifecycle</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.application.cms</groupId>
|
|
|
|
<artifactId>sdi-plugins</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2022-09-26 16:11:20 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.data.transfer</groupId>
|
|
|
|
<artifactId>data-transfer-library</artifactId>
|
|
|
|
<version>1.3.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2021-09-20 16:47:35 +02:00
|
|
|
</dependencies>
|
2022-06-08 16:32:01 +02:00
|
|
|
|
|
|
|
<build>
|
2023-09-06 16:02:52 +02:00
|
|
|
<!-- Added by Francesco -->
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2022-06-08 16:32:01 +02:00
|
|
|
<plugins>
|
2023-03-29 10:24:04 +02:00
|
|
|
<!-- SPHINX PLUGIN triggered at 'compile' -->
|
2022-07-08 15:53:59 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>kr.motd.maven</groupId>
|
|
|
|
<artifactId>sphinx-maven-plugin</artifactId>
|
|
|
|
<version>2.10.0</version>
|
|
|
|
<configuration>
|
2022-11-11 12:04:32 +01:00
|
|
|
<outputDirectory>${project.build.directory}/${project.artifactId}-${project.version}/docs</outputDirectory>
|
2022-07-08 15:53:59 +02:00
|
|
|
<builder>html</builder>
|
2022-11-11 12:04:32 +01:00
|
|
|
<configDirectory>${basedir}/docs</configDirectory>
|
|
|
|
<sourceDirectory>${basedir}/docs</sourceDirectory>
|
2022-07-08 15:53:59 +02:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>generate</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2022-11-18 14:28:15 +01:00
|
|
|
<!-- Enunciate Maven plugin -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.webcohesion.enunciate</groupId>
|
|
|
|
<artifactId>enunciate-maven-plugin</artifactId>
|
|
|
|
<version>${enunciate.version}</version>
|
|
|
|
<configuration>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>assemble</id>
|
|
|
|
<goals>
|
|
|
|
<goal>assemble</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-07-08 15:53:59 +02:00
|
|
|
|
2022-06-08 16:32:01 +02:00
|
|
|
<!-- Copy Enunciate Documentation from your-application/docs to your-application.war -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-enunciate-docs</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>target</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
2022-11-17 18:34:44 +01:00
|
|
|
<targetPath>${project.build.directory}/${project.artifactId}-${project.version}/api-docs</targetPath>
|
|
|
|
<directory>${project.build.directory}/api-docs</directory>
|
2022-06-08 16:32:01 +02:00
|
|
|
<filtering>true</filtering>
|
2022-07-08 14:48:41 +02:00
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2022-06-08 16:32:01 +02:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2021-09-20 16:47:35 +02:00
|
|
|
</project>
|