2020-06-11 12:25:52 +02: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/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<artifactId>maven-parent</artifactId>
|
|
|
|
<groupId>org.gcube.tools</groupId>
|
2024-09-18 14:20:26 +02:00
|
|
|
<version>1.2.0</version>
|
2020-06-11 12:25:52 +02:00
|
|
|
<relativePath />
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>org.gcube.portlets.user</groupId>
|
|
|
|
<artifactId>data-miner-manager-tester</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
|
|
|
<name>data-miner-manager-tester</name>
|
|
|
|
<description>data-miner-manager-tester offers test support for dataminer service</description>
|
|
|
|
|
|
|
|
<scm>
|
2023-01-18 14:07:08 +01:00
|
|
|
<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>
|
2020-06-11 12:25:52 +02:00
|
|
|
</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>
|
2023-01-18 14:07:08 +01:00
|
|
|
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
|
2020-06-11 12:25:52 +02:00
|
|
|
<distroDirectory>distro</distroDirectory>
|
|
|
|
<configDirectory>config</configDirectory>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Java -->
|
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
|
|
|
|
|
<!-- GWT configuration -->
|
|
|
|
<gwt.version>2.8.2</gwt.version>
|
|
|
|
<gwtp.version>1.6</gwtp.version>
|
|
|
|
<gin.version>2.1.2</gin.version>
|
|
|
|
<!-- <gwt-material.version>2.0-rc5</gwt-material.version> -->
|
|
|
|
<!-- <gwt-material-table.version>2.0-rc5</gwt-material-table.version> -->
|
|
|
|
<gwt-material.version>2.3.0</gwt-material.version>
|
|
|
|
<gwt-material-table.version>2.3.0</gwt-material-table.version>
|
|
|
|
<gwt.style>OBF</gwt.style>
|
|
|
|
|
|
|
|
<gwt.runTarget>DataMinerManagerTester.html</gwt.runTarget>
|
|
|
|
<gwt.module.name>
|
|
|
|
org.gcube.portlets.user.dataminermanagertester.dataminermanagertester
|
|
|
|
</gwt.module.name>
|
|
|
|
|
|
|
|
<!-- maven -->
|
|
|
|
<maven-war-plugin.version>2.6</maven-war-plugin.version>
|
|
|
|
<maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
|
|
|
|
|
2023-01-18 14:07:08 +01:00
|
|
|
<KEYS>${env.KEYS}</KEYS>
|
2020-06-11 12:25:52 +02:00
|
|
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
</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>
|
|
|
|
|
|
|
|
<!-- Authorization -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>common-authorization</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>authorization-client</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- javax.servlet-api -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<!-- GWT -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.gwt</groupId>
|
|
|
|
<artifactId>gwt-servlet</artifactId>
|
2023-01-18 14:07:08 +01:00
|
|
|
<version>${gwt.version}</version>
|
2020-06-11 12:25:52 +02:00
|
|
|
<scope>runtime</scope>
|
|
|
|
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.gwt</groupId>
|
|
|
|
<artifactId>gwt-user</artifactId>
|
2023-01-18 14:07:08 +01:00
|
|
|
<version>${gwt.version}</version>
|
2020-06-11 12:25:52 +02:00
|
|
|
<scope>provided</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.gwt</groupId>
|
|
|
|
<artifactId>gwt-dev</artifactId>
|
2023-01-18 14:07:08 +01:00
|
|
|
<version>${gwt.version}</version>
|
2020-06-11 12:25:52 +02:00
|
|
|
<scope>provided</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- JDT -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- GWTP -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.gwtplatform</groupId>
|
|
|
|
<artifactId>gwtp-mvp-client</artifactId>
|
2023-01-18 14:07:08 +01:00
|
|
|
<version>${gwtp.version}</version>
|
2020-06-11 12:25:52 +02:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- GwtMaterial -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.gwtmaterialdesign</groupId>
|
|
|
|
<artifactId>gwt-material</artifactId>
|
2023-01-18 14:07:08 +01:00
|
|
|
<version>${gwt-material.version}</version>
|
2020-06-11 12:25:52 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.gwtmaterialdesign</groupId>
|
|
|
|
<artifactId>gwt-material-themes</artifactId>
|
2023-01-18 14:07:08 +01:00
|
|
|
<version>${gwt-material.version}</version>
|
2020-06-11 12:25:52 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.gwtmaterialdesign</groupId>
|
|
|
|
<artifactId>gwt-material-addins</artifactId>
|
2023-01-18 14:07:08 +01:00
|
|
|
<version>${gwt-material.version}</version>
|
2020-06-11 12:25:52 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.gwtmaterialdesign</groupId>
|
|
|
|
<artifactId>gwt-material-table</artifactId>
|
2023-01-18 14:07:08 +01:00
|
|
|
<version>${gwt-material-table.version}</version>
|
2020-06-11 12:25:52 +02:00
|
|
|
</dependency>
|
|
|
|
<!-- DI -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.gwt.inject</groupId>
|
|
|
|
<artifactId>gin</artifactId>
|
2023-01-18 14:07:08 +01:00
|
|
|
<version>${gin.version}</version>
|
2020-06-11 12:25:52 +02:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Portlet -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.portlet</groupId>
|
|
|
|
<artifactId>portlet-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Liferay -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.liferay.portal</groupId>
|
|
|
|
<artifactId>portal-service</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- PORTAL -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>common-scope-maps</artifactId>
|
2020-06-11 16:21:41 +02:00
|
|
|
<scope>provided</scope>
|
2020-06-11 12:25:52 +02:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common.portal</groupId>
|
|
|
|
<artifactId>portal-manager</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.dvos</groupId>
|
|
|
|
<artifactId>usermanagement-core</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portal</groupId>
|
|
|
|
<artifactId>client-context-library</artifactId>
|
2020-06-11 16:21:41 +02:00
|
|
|
<version>[1.0.0,2.0.0-SNAPSHOT)</version>
|
2020-06-11 12:25:52 +02:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 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>
|
|
|
|
|
|
|
|
<!-- Nord52 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.n52.wps</groupId>
|
|
|
|
<artifactId>52n-wps-client-lib</artifactId>
|
|
|
|
<version>[3.3.1,3.3.3)</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>gt-opengis</artifactId>
|
|
|
|
<groupId>org.geotools</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
<artifactId>xercesImpl</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- DataMinerManagerCL -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.data.analysis</groupId>
|
|
|
|
<artifactId>data-miner-manager-cl</artifactId>
|
|
|
|
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- XML Apis -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>xml-apis</groupId>
|
|
|
|
<artifactId>xml-apis</artifactId>
|
|
|
|
<version>1.4.01</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- LOGGING -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
2021-10-07 12:01:08 +02:00
|
|
|
<scope>test</scope>
|
2020-06-11 12:25:52 +02:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- JUnit -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.12</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.distribution</groupId>
|
|
|
|
<artifactId>maven-portal-bom</artifactId>
|
2024-09-18 14:20:26 +02:00
|
|
|
<version>4.0.0-SNAPSHOT</version>
|
2020-06-11 12:25:52 +02:00
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>n52-releases</id>
|
|
|
|
<name>52n Releases</name>
|
2024-09-18 14:20:26 +02:00
|
|
|
<url>https://52north.org/maven/repo/releases/</url>
|
2020-06-11 12:25:52 +02:00
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
2020-06-11 16:21:41 +02:00
|
|
|
<enabled>false</enabled>
|
2020-06-11 12:25:52 +02:00
|
|
|
</snapshots>
|
|
|
|
</repository>
|
2020-06-11 16:21:41 +02:00
|
|
|
<repository>
|
|
|
|
<id>osgeo</id>
|
|
|
|
<name>OSGeo Release Repository</name>
|
|
|
|
<url>https://repo.osgeo.org/repository/release/</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</releases>
|
|
|
|
</repository>
|
2020-06-11 12:25:52 +02:00
|
|
|
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<!-- Generate compiled stuff in the folder used for developing mode -->
|
2023-01-18 14:07:08 +01:00
|
|
|
<outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
|
2020-06-11 12:25:52 +02:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<!-- GWT -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>gwt-maven-plugin</artifactId>
|
2023-01-18 14:07:08 +01:00
|
|
|
<version>${gwt.version}</version>
|
2020-06-11 12:25:52 +02:00
|
|
|
<configuration>
|
|
|
|
<strict>true</strict>
|
|
|
|
<testTimeOut>180</testTimeOut>
|
|
|
|
<mode>htmlunit</mode>
|
|
|
|
<includes>**/*GwtTest.java</includes>
|
|
|
|
<logLevel>INFO</logLevel>
|
2023-01-18 14:07:08 +01:00
|
|
|
<runTarget>${gwt.runTarget}</runTarget>
|
|
|
|
<hostedWebapp>${webappDirectory}</hostedWebapp>
|
|
|
|
<module>${gwt.module.name}</module>
|
2020-06-11 12:25:52 +02:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Copy static web files before executing gwt:run -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>compile</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2023-01-18 14:07:08 +01:00
|
|
|
<webappDirectory>${webappDirectory}</webappDirectory>
|
|
|
|
<warName>${project.build.finalName}</warName>
|
2020-06-11 12:25:52 +02:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Maven Compiler Plugin -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2023-01-18 14:07:08 +01:00
|
|
|
<!-- <version>${maven-compiler-plugin.version}</version> -->
|
2020-06-11 12:25:52 +02:00
|
|
|
<configuration>
|
2023-01-18 14:07:08 +01:00
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
<target>${maven.compiler.target}</target>
|
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
2020-06-11 12:25:52 +02:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
2020-06-11 16:21:41 +02:00
|
|
|
<descriptor>descriptor.xml</descriptor>
|
2020-06-11 12:25:52 +02:00
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>servicearchive</id>
|
|
|
|
<phase>install</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|