433 lines
12 KiB
XML
433 lines
12 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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<artifactId>maven-parent</artifactId>
|
|
<groupId>org.gcube.tools</groupId>
|
|
<version>1.2.0</version>
|
|
</parent>
|
|
<groupId>org.gcube.data.transfer</groupId>
|
|
<artifactId>uri-resolver</artifactId>
|
|
<version>2.10.0-SNAPSHOT</version>
|
|
<packaging>war</packaging>
|
|
<description>The URI Resolver is an HTTP URI resolver implemented as a REST service which gives access trough HTTP to different gcube Resolvers and gCube Applications.</description>
|
|
|
|
<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>
|
|
|
|
|
|
<profiles>
|
|
<!-- PROD profile -->
|
|
<profile>
|
|
<id>uri-resolver-release-profile</id>
|
|
<activation>
|
|
<property>
|
|
<name>Release</name>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<!-- <gcube-bom>2.4.0</gcube-bom> -->
|
|
<gcube-smartgears-bom-version>2.5.0</gcube-smartgears-bom-version>
|
|
<authorization-utils-range>[2.0.0, 3.0.0-SNAPSHOT)</authorization-utils-range>
|
|
</properties>
|
|
</profile>
|
|
<!-- DEV profile -->
|
|
<profile>
|
|
<id>uri-resolver-snapshot-profile</id>
|
|
<activation>
|
|
<property>
|
|
<name>!Release</name>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<!-- <gcube-bom>2.4.1-SNAPSHOT</gcube-bom> -->
|
|
<gcube-smartgears-bom-version>2.5.0</gcube-smartgears-bom-version>
|
|
<authorization-utils-range>[2.0.0, 3.0.0-SNAPSHOT)</authorization-utils-range>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
|
|
<properties>
|
|
<jersey.version>2.25.1</jersey.version>
|
|
<!-- Using 2.8.4 because storagehub-model.1.1.1 uses indirectly this version via jsersey-media-json -->
|
|
<jackson.version>2.8.4</jackson.version>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<enunciate.version>2.14.0</enunciate.version>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!-- <dependency> -->
|
|
<!-- <groupId>org.gcube.distribution</groupId> -->
|
|
<!-- <artifactId>gcube-bom</artifactId> -->
|
|
<!-- <version>${gcube-bom}</version> -->
|
|
<!-- <type>pom</type> -->
|
|
<!-- <scope>import</scope> -->
|
|
<!-- </dependency> -->
|
|
<dependency>
|
|
<groupId>org.gcube.distribution</groupId>
|
|
<artifactId>gcube-smartgears-bom</artifactId>
|
|
<version>${gcube-smartgears-bom-version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.core</groupId>
|
|
<artifactId>common-smartgears</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.core</groupId>
|
|
<artifactId>common-smartgears-app</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>common-authorization</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.contentmanagement</groupId>
|
|
<artifactId>storage-manager-wrapper</artifactId>
|
|
<version>[3.0.0-SNAPSHOT, 4.0.0-SNAPSHOT)</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.contentmanagement</groupId>
|
|
<artifactId>storage-manager-core</artifactId>
|
|
<version>[3.0.0-SNAPSHOT,4.0.0-SNAPSHOT)</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>slf4j-nop</artifactId>
|
|
<groupId>org.slf4j</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.data-publishing</groupId>
|
|
<artifactId>storagehub-application-persistence</artifactId>
|
|
<version>[1.0.0, 3.0.0-SNAPSHOT)</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>storagehub-client-library</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.data.analysis</groupId>
|
|
<artifactId>dataminer-invocation-model</artifactId>
|
|
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.infrastructure.detachedres</groupId>
|
|
<artifactId>detachedres-library</artifactId>
|
|
<version>[1.0.0,2.0.0-SNAPSHOT)</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>authorization-utils</artifactId>
|
|
<version>${authorization-utils-range}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>18.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.core</groupId>
|
|
<artifactId>common-encryption</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.resources.discovery</groupId>
|
|
<artifactId>discovery-client</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>authorization-client</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>storagehub-client-library</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.containers</groupId>
|
|
<artifactId>jersey-container-servlet</artifactId>
|
|
<version>${jersey.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.core</groupId>
|
|
<artifactId>jersey-server</artifactId>
|
|
<version>${jersey.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- java melody -->
|
|
<dependency>
|
|
<groupId>net.bull.javamelody</groupId>
|
|
<artifactId>javamelody-core</artifactId>
|
|
<version>1.82.0</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/javax.interceptor/javax.interceptor-api -->
|
|
<dependency>
|
|
<groupId>javax.interceptor</groupId>
|
|
<artifactId>javax.interceptor-api</artifactId>
|
|
<version>1.2.2</version>
|
|
</dependency>
|
|
|
|
<!-- weld -->
|
|
<dependency>
|
|
<groupId>javax.enterprise</groupId>
|
|
<artifactId>cdi-api</artifactId>
|
|
<version>2.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.weld.servlet</groupId>
|
|
<artifactId>weld-servlet-core</artifactId>
|
|
<version>3.1.0.Final</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss</groupId>
|
|
<artifactId>jandex</artifactId>
|
|
<version>2.2.2.Final</version>
|
|
</dependency>
|
|
|
|
<!-- end weld -->
|
|
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<version>3.0.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.json</groupId>
|
|
<artifactId>json</artifactId>
|
|
<version>20140107</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<!-- FOR BUILDING towards JDK_11 -->
|
|
<dependency>
|
|
<groupId>javax.xml.bind</groupId>
|
|
<artifactId>jaxb-api</artifactId>
|
|
<!-- <version>2.3.0</version> -->
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- FOR BUILDING towards JDK_11 -->
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<!-- <version>1.18.4</version> -->
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
|
|
<!-- GIS RESOLVER DEPENDENCIES -->
|
|
<dependency>
|
|
<groupId>org.gcube.spatial.data</groupId>
|
|
<artifactId>geonetwork</artifactId>
|
|
<version>[3.4.5, 4.0.0-SNAPSHOT)</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<!-- THIS ONE IS NOT A DIRECT DEPENDENCY OF URI-RESOLVER IT IS REQUIRED
|
|
TO BUILD -->
|
|
<dependency>
|
|
<groupId>org.opengis</groupId>
|
|
<artifactId>geoapi</artifactId>
|
|
<version>3.0.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-lang</groupId>
|
|
<artifactId>commons-lang</artifactId>
|
|
<version>2.6</version>
|
|
</dependency>
|
|
|
|
<!-- DOM -->
|
|
<dependency>
|
|
<groupId>org.w3c</groupId>
|
|
<artifactId>dom</artifactId>
|
|
<version>2.3.0-jaxb-1.0.6</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.datacatalogue</groupId>
|
|
<artifactId>catalogue-util-library</artifactId>
|
|
<version>[1.0.0, 2.0.0-SNAPSHOT)</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<!-- END GIS RESOLVER DEPENDENCIES -->
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.application</groupId>
|
|
<artifactId>geoportal-data-mapper</artifactId>
|
|
<version>[1.0.0, 2.0.0-SNAPSHOT)</version>
|
|
<!-- Excluding these beacuse geoportal uses [2-3] ranges conflicting with
|
|
[3-4] used by URI-Resolver -->
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.gcube.contentmanagement</groupId>
|
|
<artifactId>storage-manager-wrapper</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.gcube.contentmanagement</groupId>
|
|
<artifactId>storage-manager-core</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<version>1.6.4</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>1.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.8.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/java</directory>
|
|
<includes>
|
|
<include>**/*.*</include>
|
|
</includes>
|
|
</resource>
|
|
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<includes>
|
|
<include>**/*.*</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>${maven.compiler.source}</source>
|
|
<target>${maven.compiler.target}</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Enunciate Maven plugin -->
|
|
<plugin>
|
|
<groupId>com.webcohesion.enunciate</groupId>
|
|
<artifactId>enunciate-maven-plugin</artifactId>
|
|
<version>${enunciate.version}</version>
|
|
<configuration>
|
|
<!-- <docsDir>${project.build.directory}/docs</docsDir> -->
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>assemble</id>
|
|
<goals>
|
|
<goal>assemble</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- Copy Enunciate Docs -->
|
|
<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>
|