289 lines
8.4 KiB
XML
289 lines
8.4 KiB
XML
<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>
|
|
<version>1.1.0</version>
|
|
<relativePath />
|
|
</parent>
|
|
|
|
<groupId>org.gcube.data-catalogue</groupId>
|
|
<artifactId>gcat</artifactId>
|
|
<packaging>war</packaging>
|
|
<version>2.2.0-SNAPSHOT</version>
|
|
<name>gCube Catalogue (gCat) Service</name>
|
|
<description>
|
|
This service allows any client to publish on the gCube Catalogue.
|
|
</description>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<webappDirectory>${project.basedir}${file.separator}src${file.separator}main${file.separator}webapp${file.separator}WEB-INF</webappDirectory>
|
|
<serviceClass>data-catalogue</serviceClass>
|
|
<enunciate.version>2.14.0</enunciate.version>
|
|
</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>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.gcube.distribution</groupId>
|
|
<artifactId>gcube-smartgears-bom</artifactId>
|
|
<version>2.2.0-SNAPSHOT</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.core</groupId>
|
|
<artifactId>common-encryption</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.core</groupId>
|
|
<artifactId>common-scope</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.core</groupId>
|
|
<artifactId>common-smartgears-app</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.data-catalogue</groupId>
|
|
<artifactId>gcat-api</artifactId>
|
|
<version>[2.0.0,3.0.0-SNAPSHOT)</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>authorization-utils</artifactId>
|
|
<version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>storagehub-model</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
<artifactId>jersey-media-multipart</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.information-system</groupId>
|
|
<artifactId>information-system-model</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.resource-management</groupId>
|
|
<artifactId>gcube-model</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.information-system</groupId>
|
|
<artifactId>resource-registry-client</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.information-system</groupId>
|
|
<artifactId>resource-registry-publisher</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.data-catalogue</groupId>
|
|
<artifactId>gcubedatacatalogue-metadata-discovery</artifactId>
|
|
<version>[3.0.0, 4.0.0-SNAPSHOT)</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.portlets.user</groupId>
|
|
<artifactId>uri-resolver-manager</artifactId>
|
|
<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.containers</groupId>
|
|
<artifactId>jersey-container-servlet</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.ws.rs</groupId>
|
|
<artifactId>javax.ws.rs-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>gxHTTP</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.core</groupId>
|
|
<artifactId>common-smartgears</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>42.2.19</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- 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 -->
|
|
|
|
<!-- Used for validation in oldutils. TO BE REMOVED ASAP -->
|
|
<dependency>
|
|
<groupId>de.grundid.opendatalab</groupId>
|
|
<artifactId>geojson-jackson</artifactId>
|
|
<version>1.8</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.data-publishing</groupId>
|
|
<artifactId>storagehub-application-persistence</artifactId>
|
|
<version>[3.0.0,4.0.0-SNAPSHOT)</version>
|
|
</dependency>
|
|
|
|
<!-- Used to automatically convert XML to JSON -->
|
|
<dependency>
|
|
<groupId>org.json</groupId>
|
|
<artifactId>json</artifactId>
|
|
<version>20211205</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.tika</groupId>
|
|
<artifactId>tika-core</artifactId>
|
|
<version>2.1.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.12.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.taliox</groupId>
|
|
<artifactId>zulip-java-rest</artifactId>
|
|
<version>1.0.0</version>
|
|
</dependency>
|
|
|
|
<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>
|
|
|
|
<!-- Required for Enunciate plugin -->
|
|
<dependency>
|
|
<groupId>org.geotoolkit</groupId>
|
|
<artifactId>geotk-xml-base</artifactId>
|
|
<version>3.20-geoapi-3.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<version>3.1.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- END Required for Enunciate plugin -->
|
|
|
|
|
|
<!-- Test libraries -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.11</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
<!-- Enunciate Maven plugin -->
|
|
<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>
|
|
|
|
<!-- Copy Enunciate Documentation from your-application/docs into your 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>
|
|
<targetPath>${project.build.directory}/${project.artifactId}-${project.version}/docs</targetPath>
|
|
<directory>${project.build.directory}/docs</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|