229 lines
6.8 KiB
XML
229 lines
6.8 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.0.0</version>
|
|
<relativePath />
|
|
</parent>
|
|
|
|
<groupId>org.gcube.data-catalogue</groupId>
|
|
<artifactId>grsf-publisher-ws</artifactId>
|
|
<version>1.3.0-SNAPSHOT</version>
|
|
<packaging>war</packaging>
|
|
<name>grsf-publisher-ws</name>
|
|
|
|
<description>
|
|
Utility library to publish GRSF products on data catalogue.
|
|
</description>
|
|
|
|
<scm>
|
|
<connection>scm:https://svn.d4science.research-infrastructures.eu/gcube/trunk/${serviceClass}/${project.artifactId}</connection>
|
|
<developerConnection>scm:https://svn.d4science.research-infrastructures.eu/gcube/trunk/${serviceClass}/${project.artifactId}</developerConnection>
|
|
<url>https://svn.d4science.research-infrastructures.eu/gcube/trunk/${serviceClass}/${project.artifactId}</url>
|
|
</scm>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.gcube.distribution</groupId>
|
|
<artifactId>maven-smartgears-bom</artifactId>
|
|
<version>LATEST</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<version.jersey>2.22.1</version.jersey>
|
|
<distroDirectory>${project.basedir}/distro</distroDirectory>
|
|
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
|
|
<distroDirectory>distro</distroDirectory>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<jsoup.version>1.10.1</jsoup.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- jsoup HTML parser library @ http://jsoup.org/ -->
|
|
<dependency>
|
|
<groupId>org.jsoup</groupId>
|
|
<artifactId>jsoup</artifactId>
|
|
<version>${jsoup.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.resources.discovery</groupId>
|
|
<artifactId>ic-client</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.data-catalogue</groupId>
|
|
<artifactId>ckan-util-library</artifactId>
|
|
<version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<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>home-library-jcr</artifactId>
|
|
<version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>common-authorization</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.containers</groupId>
|
|
<!-- if your container implements Servlet API older than 3.0, use "jersey-container-servlet-core" -->
|
|
<artifactId>jersey-container-servlet-core</artifactId>
|
|
<version>${version.jersey}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
<artifactId>jersey-media-json-jackson</artifactId>
|
|
<version>${version.jersey}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
<artifactId>jersey-media-json-processing</artifactId>
|
|
<version>${version.jersey}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
<artifactId>jersey-media-multipart</artifactId>
|
|
<version>${version.jersey}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
<artifactId>jersey-media-sse</artifactId>
|
|
<version>${version.jersey}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.ext</groupId>
|
|
<artifactId>jersey-bean-validation</artifactId>
|
|
<version>${version.jersey}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
<version>3.0-alpha-1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!-- SmartGears -->
|
|
<dependency>
|
|
<groupId>org.gcube.core</groupId>
|
|
<artifactId>common-smartgears</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>home-library</artifactId>
|
|
<version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.test-framework.providers</groupId>
|
|
<artifactId>jersey-test-framework-provider-jetty</artifactId>
|
|
<version>2.23.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>${name}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>2.1.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>exploded</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<webappDirectory>${webappDirectory}</webappDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>2.3.2</version>
|
|
<configuration>
|
|
<source>1.7</source>
|
|
<target>1.7</target>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- SA Plugin -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.2</version>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>${distroDirectory}/descriptor.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>servicearchive</id>
|
|
<phase>install</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>2.5</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-profile</id>
|
|
<phase>install</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>target</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>${distroDirectory}</directory>
|
|
<filtering>true</filtering>
|
|
<includes>
|
|
<include>profile.xml</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|