2015-10-02 11:46:32 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<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/maven-v4_0_0.xsd">
|
|
|
|
<parent>
|
|
|
|
<artifactId>maven-parent</artifactId>
|
|
|
|
<groupId>org.gcube.tools</groupId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<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>
|
2017-01-20 14:26:38 +01:00
|
|
|
<version>1.6.1-SNAPSHOT</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>
|
|
|
|
<connection>scm:svn:http://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/${project.artifactId}</connection>
|
|
|
|
<developerConnection>scm:https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/${project.artifactId}</developerConnection>
|
|
|
|
<url>http://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/${project.artifactId}</url>
|
|
|
|
</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>
|
|
|
|
<maven.compiler.target>1.7</maven.compiler.target>
|
|
|
|
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.distribution</groupId>
|
|
|
|
<artifactId>maven-portal-bom</artifactId>
|
2016-05-31 15:53:54 +02:00
|
|
|
<version>LATEST</version>
|
2015-10-02 11:46:32 +02:00
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>localRun</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
<artifactId>xerces</artifactId>
|
|
|
|
<version>2.4.0</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</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>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2016-11-24 12:28:48 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portal</groupId>
|
|
|
|
<artifactId>client-context-library</artifactId>
|
|
|
|
<version>[1.0.0-SNAPSHOT,)</version>
|
|
|
|
<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>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</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
|
|
|
|
2016-05-31 15:53:54 +02:00
|
|
|
<!-- TO USE LIFERAY 6.2 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.liferay.portal</groupId>
|
|
|
|
<artifactId>portal-service</artifactId>
|
2015-10-02 11:46:32 +02:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<!-- HOME LIBRARY -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>home-library-model</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>home-library-jcr</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>home-library</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>asm-all</artifactId>
|
|
|
|
<groupId>asm</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-httpclient</groupId>
|
|
|
|
<artifactId>commons-httpclient</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- LOGGER -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<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>
|
|
|
|
<version>2.2</version>
|
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>
|
|
|
|
<version>2.12</version>
|
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>
|
|
|
|
<version>2.2</version>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>${distroDirectory}/descriptor.xml</descriptor>
|
|
|
|
</descriptors>
|
2015-10-02 14:42:33 +02:00
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>fully.qualified.MainClass</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
2015-10-02 11:46:32 +02:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>servicearchive</id>
|
|
|
|
<phase>install</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
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>
|