2015-10-02 11:46:32 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2024-07-29 16:02:57 +02:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2015-10-02 11:46:32 +02:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<parent>
|
|
|
|
<artifactId>maven-parent</artifactId>
|
|
|
|
<groupId>org.gcube.tools</groupId>
|
2024-07-29 16:02:57 +02:00
|
|
|
<version>1.2.0</version>
|
2015-10-02 11:46:32 +02:00
|
|
|
<relativePath />
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>org.gcube.portlets.widgets</groupId>
|
|
|
|
<artifactId>workspace-uploader</artifactId>
|
2015-10-02 14:42:33 +02:00
|
|
|
<packaging>jar</packaging>
|
2024-11-13 11:07:44 +01:00
|
|
|
<version>2.1.1</version>
|
2015-10-02 11:46:32 +02:00
|
|
|
<name>Workspace Uploader Widget</name>
|
2016-03-14 15:28:56 +01:00
|
|
|
<description>Workspace Uploader Widget allows your application to upload file/s in the gCube Workspace</description>
|
2015-10-02 11:46:32 +02:00
|
|
|
<scm>
|
2019-12-19 14:55:14 +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>
|
2015-10-02 11:46:32 +02:00
|
|
|
</scm>
|
|
|
|
<properties>
|
|
|
|
<!-- Convenience property to set the GWT version -->
|
|
|
|
<gwtVersion>2.7.0</gwtVersion>
|
|
|
|
<distroDirectory>distro</distroDirectory>
|
|
|
|
<!-- GWT needs at least java 1.6 -->
|
|
|
|
<maven.compiler.source>1.7</maven.compiler.source>
|
2019-12-19 14:55:14 +01:00
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
2015-10-02 11:46:32 +02:00
|
|
|
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
2024-11-13 11:21:35 +01:00
|
|
|
<maven-portal-bom>4.0.0</maven-portal-bom>
|
2015-10-02 11:46:32 +02:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.distribution</groupId>
|
|
|
|
<artifactId>maven-portal-bom</artifactId>
|
2024-07-29 16:02:57 +02:00
|
|
|
<version>${maven-portal-bom}</version>
|
2015-10-02 11:46:32 +02:00
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2024-07-29 16:02:57 +02:00
|
|
|
<!-- Profiles required for managing SHUB vesion via maven-portal-bom -->
|
2015-10-02 11:46:32 +02:00
|
|
|
<profiles>
|
2024-07-29 16:02:57 +02:00
|
|
|
<!-- PROD profile -->
|
2015-10-02 11:46:32 +02:00
|
|
|
<profile>
|
2024-07-29 16:02:57 +02:00
|
|
|
<id>workspace-release-profile</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>Release</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<maven-portal-bom>3.7.0</maven-portal-bom>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<!-- DEV profile -->
|
|
|
|
<profile>
|
|
|
|
<id>workspace-snapshot-profile</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>!Release</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<maven-portal-bom>3.8.0-SNAPSHOT</maven-portal-bom>
|
|
|
|
</properties>
|
2015-10-02 11:46:32 +02:00
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<!-- Google Web Toolkit (GWT) -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.gwt</groupId>
|
|
|
|
<artifactId>gwt-user</artifactId>
|
|
|
|
<version>${gwtVersion}</version>
|
2016-06-24 15:09:49 +02:00
|
|
|
<scope>provided</scope>
|
2015-10-02 11:46:32 +02:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Google Web Toolkit (GWT) -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.gwt</groupId>
|
|
|
|
<artifactId>gwt-servlet</artifactId>
|
|
|
|
<version>${gwtVersion}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portlets.user</groupId>
|
|
|
|
<artifactId>gcube-widgets</artifactId>
|
2017-02-07 12:14:34 +01:00
|
|
|
<scope>compile</scope>
|
2015-10-02 11:46:32 +02:00
|
|
|
</dependency>
|
2016-11-24 12:28:48 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portal</groupId>
|
|
|
|
<artifactId>client-context-library</artifactId>
|
2019-12-19 14:55:14 +01:00
|
|
|
<version>[1.0.0, 2.0.0-SNAPSHOT)</version>
|
2016-11-24 12:28:48 +01:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2015-10-02 11:46:32 +02:00
|
|
|
<!-- FWS -->
|
|
|
|
<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>
|
2019-12-19 14:55:14 +01:00
|
|
|
<scope>provided</scope>
|
2015-10-02 11:46:32 +02:00
|
|
|
</dependency>
|
|
|
|
<!-- END FWS -->
|
|
|
|
|
2016-05-31 15:53:54 +02:00
|
|
|
<!-- TO USE LIFERAY 6.2 -->
|
2015-10-02 11:46:32 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.dvos</groupId>
|
|
|
|
<artifactId>usermanagement-core</artifactId>
|
2016-05-31 15:53:54 +02:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2016-08-30 17:11:06 +02:00
|
|
|
|
2015-10-02 11:46:32 +02:00
|
|
|
<dependency>
|
2016-11-24 12:28:48 +01:00
|
|
|
<groupId>org.gcube.common.portal</groupId>
|
|
|
|
<artifactId>portal-manager</artifactId>
|
2015-10-02 11:46:32 +02:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2018-06-26 17:17:10 +02:00
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>storagehub-client-library</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2024-07-29 16:02:57 +02:00
|
|
|
|
2018-06-26 17:17:10 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
2018-06-25 12:42:41 +02:00
|
|
|
<artifactId>storagehub-client-wrapper</artifactId>
|
2020-08-25 14:57:22 +02:00
|
|
|
<version>[1.0.0, 2.0.0-SNAPSHOT)</version>
|
2020-08-26 10:59:53 +02:00
|
|
|
<scope>compile</scope>
|
2018-06-25 12:42:41 +02:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- JSON PARSER -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.json</groupId>
|
|
|
|
<artifactId>json</artifactId>
|
|
|
|
<version>20090211</version>
|
|
|
|
</dependency>
|
2024-07-29 16:02:57 +02:00
|
|
|
|
2015-10-02 11:46:32 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-httpclient</groupId>
|
|
|
|
<artifactId>commons-httpclient</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2024-07-29 16:02:57 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2019-12-19 14:55:14 +01:00
|
|
|
<!-- Logger -->
|
2015-10-02 11:46:32 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portal</groupId>
|
|
|
|
<artifactId>social-networking-library</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2016-08-30 17:11:06 +02:00
|
|
|
|
2015-10-02 11:46:32 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.applicationsupportlayer</groupId>
|
|
|
|
<artifactId>aslsocial</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- PORTLET -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.liferay.portal</groupId>
|
|
|
|
<artifactId>portal-service</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.portlet</groupId>
|
|
|
|
<artifactId>portlet-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
2015-10-02 14:42:33 +02:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.*</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2015-10-02 11:46:32 +02:00
|
|
|
<plugins>
|
2015-10-02 14:42:33 +02:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
<target>${maven.compiler.target}</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-10-02 11:46:32 +02:00
|
|
|
|
|
|
|
<plugin>
|
2015-10-02 14:42:33 +02:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2015-10-02 11:46:32 +02:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
2015-10-02 14:42:33 +02:00
|
|
|
<goal>test-jar</goal>
|
2015-10-02 11:46:32 +02:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2015-10-02 14:42:33 +02:00
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2015-10-02 11:46:32 +02:00
|
|
|
<configuration>
|
2015-10-02 14:42:33 +02:00
|
|
|
<skipTests>true</skipTests>
|
2015-10-02 11:46:32 +02:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2015-10-02 14:42:33 +02:00
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>2.5</version>
|
2015-10-02 11:46:32 +02:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2015-10-02 14:42:33 +02:00
|
|
|
<id>copy-profile</id>
|
|
|
|
<phase>install</phase>
|
2015-10-02 11:46:32 +02:00
|
|
|
<goals>
|
2015-10-02 14:42:33 +02:00
|
|
|
<goal>copy-resources</goal>
|
2015-10-02 11:46:32 +02:00
|
|
|
</goals>
|
2015-10-02 14:42:33 +02:00
|
|
|
<configuration>
|
|
|
|
<outputDirectory>target</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${distroDirectory}</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<includes>
|
|
|
|
<include>profile.xml</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
2015-10-02 11:46:32 +02:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-10-02 14:42:33 +02:00
|
|
|
|
2015-10-02 11:46:32 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
2019-12-19 14:55:14 +01:00
|
|
|
|
2015-10-02 11:46:32 +02:00
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
2019-12-19 14:55:14 +01:00
|
|
|
<descriptor>descriptor.xml</descriptor>
|
2015-10-02 11:46:32 +02:00
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>servicearchive</id>
|
|
|
|
<phase>install</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2024-07-29 16:02:57 +02:00
|
|
|
|
|
|
|
|
2015-10-02 14:42:33 +02:00
|
|
|
<!-- GWT Maven Plugin - not needed -->
|
|
|
|
<!-- GWT Maven Plugin -->
|
2015-10-02 11:46:32 +02:00
|
|
|
<plugin>
|
2015-10-02 14:42:33 +02:00
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>gwt-maven-plugin</artifactId>
|
|
|
|
<version>${gwtVersion}</version>
|
2015-10-02 11:46:32 +02:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
2015-10-02 14:42:33 +02:00
|
|
|
<!-- <goal>compile</goal> -->
|
|
|
|
<!-- <goal>test</goal> -->
|
2015-10-02 11:46:32 +02:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2015-10-02 14:42:33 +02:00
|
|
|
<configuration>
|
|
|
|
</configuration>
|
2015-10-02 11:46:32 +02:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2015-10-02 14:42:33 +02:00
|
|
|
|
2015-10-02 11:46:32 +02:00
|
|
|
</project>
|