240 lines
5.9 KiB
XML
240 lines
5.9 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>
|
|
</parent>
|
|
|
|
<groupId>org.gcube.infrastructure.detachedres</groupId>
|
|
<artifactId>detachedres-library</artifactId>
|
|
<name>detachedres-library</name>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
<description>Detached Resource Entities Library</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>
|
|
|
|
|
|
<developers>
|
|
<developer>
|
|
<name>Giancarlo Panichi</name>
|
|
<email>g.panichi@isti.cnr.it</email>
|
|
<organization>CNR Pisa, Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo"</organization>
|
|
<roles>
|
|
<role>architect</role>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
</developers>
|
|
|
|
<properties>
|
|
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
|
|
<distroDirectory>distro</distroDirectory>
|
|
<configDirectory>config</configDirectory>
|
|
|
|
<!-- Java -->
|
|
<maven.compiler.source>1.7</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
|
<!-- GWT configuration -->
|
|
<gwt.version>2.6.1</gwt.version>
|
|
<gwt.log.version>3.3.2</gwt.log.version>
|
|
<gwt.runTarget>DetachedREs.html</gwt.runTarget>
|
|
<gwt.module.name>org.gcube.infrastructure.detachedres.detachedreslibrary.detachedreslib</gwt.module.name>
|
|
|
|
<KEYS>${env.KEYS}</KEYS>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
|
|
</properties>
|
|
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>localRun</id>
|
|
<dependencies>
|
|
<!-- Logger -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>xerces</groupId>
|
|
<artifactId>xerces</artifactId>
|
|
<version>2.4.0</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- Authorization -->
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>common-authorization</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>authorization-client</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
</profile>
|
|
</profiles>
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- Authorization -->
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>common-authorization</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>authorization-client</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Information System Client IC-Client -->
|
|
<dependency>
|
|
<groupId>org.gcube.resources.discovery</groupId>
|
|
<artifactId>ic-client</artifactId>
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- LOGGING -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<version>1.7.5</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
|
|
<!-- JUnit TEST -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.8.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.gcube.distribution</groupId>
|
|
<artifactId>gcube-bom</artifactId>
|
|
<version>1.4.0</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
|
|
<build>
|
|
<!-- Generate compiled stuff in the folder used for developing mode -->
|
|
<outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
|
|
<sourceDirectory>src/main/java</sourceDirectory>
|
|
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<includes>
|
|
<include>**/*.*</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<!-- GWT Maven Plugin -->
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>gwt-maven-plugin</artifactId>
|
|
<version>${gwt.version}</version>
|
|
<configuration>
|
|
<strict>true</strict>
|
|
<testTimeOut>180</testTimeOut>
|
|
<mode>htmlunit</mode>
|
|
<includes>**/*GwtTest.java</includes>
|
|
<logLevel>INFO</logLevel>
|
|
<runTarget>${gwt.runTarget}</runTarget>
|
|
<hostedWebapp>${webappDirectory}</hostedWebapp>
|
|
<module>${gwt.module.name}</module>
|
|
<generateJsInteropExports>true</generateJsInteropExports>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>resources</goal>
|
|
</goals>
|
|
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>${maven.compiler.source}</source>
|
|
<target>${maven.compiler.target}</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>descriptor.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>servicearchive</id>
|
|
<phase>install</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |