2013-02-27 19:33:07 +01: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">
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<artifactId>maven-parent</artifactId>
|
|
|
|
<groupId>org.gcube.tools</groupId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<relativePath />
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>org.gcube.portlets.admin</groupId>
|
|
|
|
<artifactId>resource-management</artifactId>
|
2013-09-16 12:10:51 +02:00
|
|
|
<version>5.0.0-SNAPSHOT</version>
|
2013-02-27 19:33:07 +01:00
|
|
|
<packaging>war</packaging>
|
|
|
|
<name>gCube Resource Management Portlet</name>
|
|
|
|
<description>
|
2013-04-26 12:06:00 +02:00
|
|
|
gCube Resource Management Portlet
|
2013-02-27 19:33:07 +01:00
|
|
|
</description>
|
|
|
|
<scm>
|
|
|
|
<connection>scm:svn:http://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/${project.artifactId}</connection>
|
|
|
|
<developerConnection>scm:https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/${project.artifactId}</developerConnection>
|
|
|
|
<url>http://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/${project.artifactId}</url>
|
|
|
|
</scm>
|
|
|
|
<properties>
|
|
|
|
<!-- Convenience property to set the GWT version -->
|
2013-09-11 18:40:39 +02:00
|
|
|
<gwtVersion>2.5.1</gwtVersion>
|
2013-02-27 19:33:07 +01:00
|
|
|
<guice.version>3.0</guice.version>
|
|
|
|
<distroDirectory>distro</distroDirectory>
|
|
|
|
<!-- GWT needs at least java 1.6 -->
|
|
|
|
<maven.compiler.source>1.6</maven.compiler.source>
|
|
|
|
<maven.compiler.target>1.6</maven.compiler.target>
|
|
|
|
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
|
2013-04-26 12:06:00 +02:00
|
|
|
<!-- To make this work on gwt-run you need to set up global env vars. on
|
|
|
|
MacOSX edit this file /etc/launchd.conf and put "setenv GLOBUS_LOCATION /Users/massi/portal/Portal-Bundle/gCore"
|
|
|
|
on Linux? -->
|
2013-04-23 11:41:17 +02:00
|
|
|
<GLOBUS_LOCATION>${env.GLOBUS_LOCATION}</GLOBUS_LOCATION>
|
2013-02-27 19:33:07 +01:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<!-- This dependency is needed and is need on TOP to use GWT UI BInder
|
2013-09-11 18:40:39 +02:00
|
|
|
without old Xerces and Xalan version of gCore complaining -->
|
2013-02-27 19:33:07 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.gwt</groupId>
|
|
|
|
<artifactId>gwt-user</artifactId>
|
|
|
|
<version>${gwtVersion}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2013-09-11 18:40:39 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>xalan</groupId>
|
|
|
|
<artifactId>xalan</artifactId>
|
|
|
|
<version>2.7.1</version>
|
|
|
|
</dependency>
|
2013-02-27 19:33:07 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.gwt</groupId>
|
|
|
|
<artifactId>gwt-servlet</artifactId>
|
|
|
|
<version>${gwtVersion}</version>
|
2013-04-26 13:22:20 +02:00
|
|
|
<scope>provided</scope>
|
2013-02-27 19:33:07 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sencha.gxt</groupId>
|
|
|
|
<artifactId>gxt</artifactId>
|
|
|
|
<version>2.2.5</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2013-09-13 15:31:50 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portlets.admin</groupId>
|
|
|
|
<artifactId>rmp-common-library</artifactId>
|
|
|
|
<version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
|
|
|
|
</dependency>
|
2013-02-27 19:33:07 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.applicationsupportlayer</groupId>
|
|
|
|
<artifactId>aslcore</artifactId>
|
|
|
|
<version>[3.2.0-SNAPSHOT, 4.0.0-SNAPSHOT)</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portlets.user</groupId>
|
|
|
|
<artifactId>home-library</artifactId>
|
|
|
|
<version>[4.3.0-SNAPSHOT, 5.0.0-SNAPSHOT)</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portlets.user</groupId>
|
|
|
|
<artifactId>home-library-jcr</artifactId>
|
|
|
|
<version>[1.3.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.applicationsupportlayer</groupId>
|
|
|
|
<artifactId>accesslogger</artifactId>
|
|
|
|
<version>[1.2.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portlets.user</groupId>
|
|
|
|
<artifactId>gcube-widgets</artifactId>
|
|
|
|
<version>[1.4.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portlets.user</groupId>
|
|
|
|
<artifactId>guided-tour-widget</artifactId>
|
|
|
|
<version>[1.2.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portal</groupId>
|
|
|
|
<artifactId>custom-portal-handler</artifactId>
|
|
|
|
<version>[1.2.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>gcf</artifactId>
|
|
|
|
<version>[1.4.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.resourcemanagement</groupId>
|
|
|
|
<artifactId>resource-manager-stubs</artifactId>
|
|
|
|
<version>[2.0.1-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.resourcemanagement</groupId>
|
|
|
|
<artifactId>ghnmanager-stubs</artifactId>
|
|
|
|
<version>[1.5.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2013-09-13 15:31:50 +02:00
|
|
|
|
|
|
|
<!-- External Modules -->
|
2013-02-27 19:33:07 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portlets.admin</groupId>
|
2013-09-13 15:31:50 +02:00
|
|
|
<artifactId>ishealth-monitor-widget</artifactId>
|
|
|
|
<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
2013-02-27 19:33:07 +01:00
|
|
|
</dependency>
|
2013-09-11 18:40:39 +02:00
|
|
|
<!-- <dependency> -->
|
|
|
|
<!-- <groupId>org.gcube.portlets.admin</groupId> -->
|
|
|
|
<!-- <artifactId>resource-sweeper-widget</artifactId> -->
|
|
|
|
<!-- <version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version> -->
|
|
|
|
<!-- </dependency> -->
|
|
|
|
<!-- <dependency> -->
|
|
|
|
<!-- <groupId>org.gcube.portlets.admin</groupId> -->
|
|
|
|
<!-- <artifactId>software-upload-wizard</artifactId> -->
|
|
|
|
<!-- <version>[1.1.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version> -->
|
|
|
|
<!-- </dependency> -->
|
2013-09-16 11:45:21 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portlets.admin</groupId>
|
|
|
|
<artifactId>activation-record-widgets</artifactId>
|
|
|
|
<version>[1.2.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
|
|
|
</dependency>
|
2013-04-26 12:06:00 +02:00
|
|
|
<!-- guice -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.inject</groupId>
|
|
|
|
<artifactId>guice</artifactId>
|
|
|
|
<version>${guice.version}</version>
|
|
|
|
<scope>provided</scope>
|
2013-02-28 19:52:20 +01:00
|
|
|
</dependency>
|
2013-02-27 19:33:07 +01:00
|
|
|
<dependency>
|
2013-04-26 12:06:00 +02:00
|
|
|
<groupId>com.google.inject.extensions</groupId>
|
|
|
|
<artifactId>guice-servlet</artifactId>
|
|
|
|
<version>${guice.version}</version>
|
2013-02-27 19:33:07 +01:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2013-04-26 12:06:00 +02:00
|
|
|
<!-- gwt-dispatch -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.customware.gwt.dispatch</groupId>
|
|
|
|
<artifactId>gwt-dispatch</artifactId>
|
|
|
|
<version>1.2.0</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- Liferay, Servlets Etc -->
|
2013-02-27 19:33:07 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
<artifactId>javax.mail-api</artifactId>
|
|
|
|
<version>1.4.5</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.liferay.portal</groupId>
|
|
|
|
<artifactId>portal-service</artifactId>
|
|
|
|
<version>6.0.6</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.portlet</groupId>
|
|
|
|
<artifactId>portlet-api</artifactId>
|
|
|
|
<version>2.0</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- Apache commons -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-compress</artifactId>
|
|
|
|
<version>1.4.1</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
|
<version>1.2.1</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2013-04-26 12:06:00 +02:00
|
|
|
<!-- Logging -->
|
2013-02-27 19:33:07 +01:00
|
|
|
<dependency>
|
2013-04-26 12:06:00 +02:00
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<version>1.2.16</version>
|
|
|
|
<scope>runtime</scope>
|
2013-02-27 19:33:07 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2013-04-26 12:06:00 +02:00
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<version>1.6.4</version>
|
|
|
|
<scope>runtime</scope>
|
2013-02-27 19:33:07 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2013-04-26 12:06:00 +02:00
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>1.6.4</version>
|
|
|
|
<scope>runtime</scope>
|
2013-02-27 19:33:07 +01:00
|
|
|
</dependency>
|
2013-04-26 12:06:00 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.allen-sauer.gwt.log</groupId>
|
|
|
|
<artifactId>gwt-log</artifactId>
|
|
|
|
<version>3.1.7</version>
|
|
|
|
<scope>provided</scope>
|
2013-09-11 18:40:39 +02:00
|
|
|
</dependency>
|
2013-02-27 19:33:07 +01:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<!-- Generate compiled stuff in the folder used for developing mode -->
|
|
|
|
<outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<!-- GWT Maven Plugin -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>gwt-maven-plugin</artifactId>
|
2013-09-11 18:40:39 +02:00
|
|
|
<version>${gwtVersion}</version>
|
2013-02-27 19:33:07 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
<!-- <goal>test</goal> -->
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<!-- Plugin configuration. There are many available options, see gwt-maven-plugin
|
|
|
|
documentation at codehaus.org -->
|
|
|
|
<configuration>
|
2013-09-13 15:31:50 +02:00
|
|
|
<extraJvmArgs>-Xmx512M -DGLOBUS_LOCATION=${GLOBUS_LOCATION}</extraJvmArgs>
|
2013-04-23 11:41:17 +02:00
|
|
|
<runTarget>ResourceManagementPortlet.html</runTarget>
|
2013-02-27 19:33:07 +01:00
|
|
|
<hostedWebapp>${webappDirectory}</hostedWebapp>
|
2013-09-11 18:40:39 +02:00
|
|
|
<!-- <logLevel>DEBUG</logLevel> -->
|
2013-02-27 19:33:07 +01:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Copy static web files before executing gwt:run -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<version>2.1.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exploded</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<webappDirectory>${webappDirectory}</webappDirectory>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>2.3.2</version>
|
|
|
|
<configuration>
|
|
|
|
<source>1.6</source>
|
|
|
|
<target>1.6</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!-- SA Plugin -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>${distroDirectory}/descriptor.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>servicearchive</id>
|
|
|
|
<phase>install</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</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>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|