235 lines
6.2 KiB
XML
235 lines
6.2 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.1.0</version>
|
|
<relativePath />
|
|
</parent>
|
|
|
|
<groupId>org.gcube.datacatalogue</groupId>
|
|
<artifactId>catalogue-util-library</artifactId>
|
|
<version>0.1.0-SNAPSHOT</version>
|
|
|
|
<name>CKan utility library</name>
|
|
<description>
|
|
Utility library to retrieve users information, organizations information and so on from the ckan d4science datacatalogue
|
|
</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>
|
|
|
|
<properties>
|
|
<serviceClass>data-catalogue</serviceClass>
|
|
<jackanVersion>0.4.2</jackanVersion>
|
|
<postgresVersion>9.4.1208.jre7</postgresVersion>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<gwtVersion>2.7.0</gwtVersion>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.gcube.distribution</groupId>
|
|
<artifactId>maven-portal-bom</artifactId>
|
|
<version>LATEST</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.google.gwt</groupId>
|
|
<artifactId>gwt-user</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- CKAN client library -->
|
|
<dependency>
|
|
<groupId>eu.trentorise.opendata</groupId>
|
|
<artifactId>jackan</artifactId>
|
|
<version>${jackanVersion}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>${postgresVersion}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.data-publishing</groupId>
|
|
<artifactId>gcat-client</artifactId>
|
|
<version>[1.0.0, 2.0.0-SNAPSHOT)</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
|
|
<!-- <dependency> -->
|
|
<!-- <groupId>org.apache.httpcomponents</groupId> -->
|
|
<!-- <artifactId>fluent-hc</artifactId> -->
|
|
<!-- <version>4.5.3</version> -->
|
|
<!-- <scope>provided</scope> -->
|
|
<!-- </dependency> -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.8</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.common.portal</groupId>
|
|
<artifactId>portal-manager</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.resources.discovery</groupId>
|
|
<artifactId>ic-client</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.core</groupId>
|
|
<artifactId>common-scope-maps</artifactId>
|
|
<scope>provided</scope>
|
|
<!-- put at provided for deploying -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.core</groupId>
|
|
<artifactId>common-encryption</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.dvos</groupId>
|
|
<artifactId>usermanagement-core</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.htmlparser.jericho</groupId>
|
|
<artifactId>jericho-html</artifactId>
|
|
<version>3.3</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.googlecode.json-simple</groupId>
|
|
<artifactId>json-simple</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.solr</groupId>
|
|
<artifactId>solr-solrj</artifactId>
|
|
<version>[4.10.2,5.0.0)</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/java</directory>
|
|
<includes>
|
|
<include>**/*.*</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.2</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>test-jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.12</version>
|
|
<configuration>
|
|
<skipTests>true</skipTests>
|
|
</configuration>
|
|
</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>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>${distroDirectory}/descriptor.xml</descriptor>
|
|
</descriptors>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>fully.qualified.MainClass</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>servicearchive</id>
|
|
<phase>install</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|