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-07-24 18:22:27 +02:00
|
|
|
<version>1.1.0-SNAPSHOT</version>
|
2018-12-04 12:06:22 +01:00
|
|
|
<relativePath />
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>org.gcube.data-publishing</groupId>
|
|
|
|
<artifactId>gcat</artifactId>
|
|
|
|
<packaging>war</packaging>
|
2019-07-22 11:54:38 +02:00
|
|
|
<version>1.4.0-SNAPSHOT</version>
|
2018-12-04 12:06:22 +01:00
|
|
|
<name>gCube Catalogue Service</name>
|
|
|
|
<description>
|
|
|
|
This service allows any client to publish on the gCube Catalogue.
|
|
|
|
</description>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.distribution</groupId>
|
|
|
|
<artifactId>gcube-bom</artifactId>
|
|
|
|
<version>LATEST</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.distribution</groupId>
|
|
|
|
<artifactId>gcube-smartgears-bom</artifactId>
|
|
|
|
<version>LATEST</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<properties>
|
2019-01-29 17:46:22 +01:00
|
|
|
<version.jersey>2.24.1</version.jersey>
|
2018-12-04 12:06:22 +01:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<webappDirectory>${project.basedir}/src/main/webapp/WEB-INF</webappDirectory>
|
|
|
|
<!-- webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory -->
|
|
|
|
<distroDirectory>${project.basedir}/distro</distroDirectory>
|
2018-12-04 12:34:41 +01:00
|
|
|
<serviceClass>DataPublishing</serviceClass>
|
2018-12-04 12:06:22 +01:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<scm>
|
2019-01-10 12:29:47 +01:00
|
|
|
<connection>scm:https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/${project.artifactId}</connection>
|
|
|
|
<developerConnection>scm:https://svn.d4science.research-infrastructures.eu/gcube//trunk/data-publishing/${project.artifactId}</developerConnection>
|
|
|
|
<url>https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/${project.artifactId}</url>
|
2018-12-04 12:06:22 +01:00
|
|
|
</scm>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
2019-01-29 17:46:22 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.data-publishing</groupId>
|
|
|
|
<artifactId>gcat-api</artifactId>
|
|
|
|
<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
|
|
|
</dependency>
|
|
|
|
|
2019-05-20 17:23:49 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.tika</groupId>
|
|
|
|
<artifactId>tika-core</artifactId>
|
|
|
|
<version>1.20</version>
|
|
|
|
</dependency>
|
|
|
|
|
2018-12-04 12:06:22 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.data-catalogue</groupId>
|
|
|
|
<artifactId>gcubedatacatalogue-metadata-discovery</artifactId>
|
|
|
|
<version>[3.0.0-SNAPSHOT, 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>
|
2019-09-12 17:58:39 +02:00
|
|
|
|
|
|
|
<!--
|
2018-12-04 12:06:22 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.data-catalogue</groupId>
|
|
|
|
<artifactId>ckan-util-library</artifactId>
|
|
|
|
<version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
|
|
|
|
</dependency>
|
2019-09-12 17:58:39 +02:00
|
|
|
-->
|
|
|
|
|
2018-12-04 12:06:22 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.containers</groupId>
|
|
|
|
<artifactId>jersey-container-servlet</artifactId>
|
|
|
|
</dependency>
|
2019-05-20 17:23:49 +02:00
|
|
|
<!-- Required with jersey 2.27 <dependency> <groupId>org.glassfish.jersey.inject</groupId>
|
|
|
|
<artifactId>jersey-hk2</artifactId> </dependency> -->
|
2018-12-04 12:06:22 +01:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
|
|
<artifactId>jersey-media-multipart</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>storagehub-client-library</artifactId>
|
|
|
|
<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<version>3.0.1</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2019-01-29 17:46:22 +01:00
|
|
|
|
|
|
|
|
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-02-26 14:58:06 +01:00
|
|
|
<scope>provided</scope>
|
2019-01-10 12:29:47 +01:00
|
|
|
</dependency>
|
2019-01-29 17:46:22 +01:00
|
|
|
|
|
|
|
|
2018-12-04 12:06:22 +01:00
|
|
|
<!-- Libraries explicitly forced to provided -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
2019-01-29 17:46:22 +01:00
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
<scope>provided</scope>
|
2018-12-04 12:06:22 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
2019-01-29 17:46:22 +01:00
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<scope>provided</scope>
|
2018-12-04 12:06:22 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
2019-01-29 17:46:22 +01:00
|
|
|
<artifactId>jackson-annotations</artifactId>
|
|
|
|
<scope>provided</scope>
|
2018-12-04 12:06:22 +01:00
|
|
|
</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>
|
2019-01-29 17:46:22 +01:00
|
|
|
<dependency>
|
2018-12-04 12:06:22 +01:00
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>common-encryption</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>authorization-client</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>common-authorization</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.resources.discovery</groupId>
|
|
|
|
<artifactId>ic-client</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- END Libraries explicitly forced to provided -->
|
2019-01-29 17:46:22 +01:00
|
|
|
|
|
|
|
|
2018-12-04 12:06:22 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>common-smartgears</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2019-01-29 17:46:22 +01:00
|
|
|
|
2018-12-04 12:06:22 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>de.grundid.opendatalab</groupId>
|
|
|
|
<artifactId>geojson-jackson</artifactId>
|
|
|
|
<version>1.8</version>
|
|
|
|
</dependency>
|
2019-01-29 17:46:22 +01:00
|
|
|
|
2018-12-04 12:06:22 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
<version>2.3</version>
|
|
|
|
</dependency>
|
2019-09-12 17:58:39 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
</dependency>
|
2019-01-29 17:46:22 +01:00
|
|
|
|
2018-12-04 12:06:22 +01:00
|
|
|
<!-- Used to automatically convert XML to JSON -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.json</groupId>
|
|
|
|
<artifactId>json</artifactId>
|
|
|
|
<version>20140107</version>
|
|
|
|
</dependency>
|
|
|
|
|
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>
|
|
|
|
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
2019-01-10 12:29:47 +01:00
|
|
|
</dependency>
|
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>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<version>1.0.13</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-profile</id>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${webappDirectory}</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${distroDirectory}</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<warName>${artifactId}</warName>
|
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
|
|
<!-- webXml>src\main\webapp\WEB-INF\web.xml</webXml -->
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>servicearchive</id>
|
|
|
|
<phase>install</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>war</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|