2012-12-28 01:01:32 +01: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>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<relativePath />
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>org.gcube.portlets.admin</groupId>
|
|
|
|
<artifactId>resource-sweeper-widget</artifactId>
|
2015-04-14 12:54:44 +02:00
|
|
|
<version>2.2.0-SNAPSHOT</version>
|
2012-12-28 01:01:32 +01:00
|
|
|
<name>gCube Resource Sweeper Widget</name>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<!-- Convenience property to set the GWT version -->
|
2015-04-14 12:54:44 +02:00
|
|
|
<gwtVersion>2.7.0</gwtVersion>
|
2012-12-28 01:01:32 +01:00
|
|
|
<distroDirectory>distro</distroDirectory>
|
|
|
|
<!-- GWT needs at least java 1.6 -->
|
2015-04-14 12:54:44 +02:00
|
|
|
<maven.compiler.source>1.7</maven.compiler.source>
|
|
|
|
<maven.compiler.target>1.7</maven.compiler.target>
|
2012-12-28 01:01:32 +01:00
|
|
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
</properties>
|
2013-09-26 12:42:33 +02:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.distribution</groupId>
|
|
|
|
<artifactId>maven-portal-bom</artifactId>
|
|
|
|
<version>LATEST</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
2012-12-28 01:01:32 +01:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.gwt</groupId>
|
|
|
|
<artifactId>gwt-user</artifactId>
|
2015-04-14 12:54:44 +02:00
|
|
|
<version>${gwtVersion}</version>
|
2012-12-28 01:01:32 +01:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2013-09-19 18:20:34 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.gwt</groupId>
|
|
|
|
<artifactId>gwt-servlet</artifactId>
|
2015-04-14 12:54:44 +02:00
|
|
|
<version>${gwtVersion}</version>
|
2012-12-28 01:01:32 +01:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sencha.gxt</groupId>
|
2015-04-14 12:54:44 +02:00
|
|
|
<artifactId>gxt2.2.5-gwt2.X</artifactId>
|
|
|
|
<version>2.7.0</version>
|
|
|
|
<scope>compile</scope>
|
2012-12-28 01:01:32 +01:00
|
|
|
</dependency>
|
2012-12-28 18:53:49 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.portlets.admin</groupId>
|
|
|
|
<artifactId>rmp-common-library</artifactId>
|
2013-09-13 12:08:13 +02:00
|
|
|
<version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
|
2013-10-07 12:56:48 +02:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.resources.discovery</groupId>
|
|
|
|
<artifactId>ic-client</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2015-04-14 12:54:44 +02:00
|
|
|
<dependency>
|
2013-10-07 12:56:48 +02:00
|
|
|
<groupId>org.gcube.resources</groupId>
|
|
|
|
<artifactId>registry-publisher</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<scope>provided</scope>
|
2012-12-28 18:53:49 +01:00
|
|
|
</dependency>
|
2012-12-28 01:01:32 +01:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.*</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
2015-04-14 12:54:44 +02:00
|
|
|
<source>1.7</source>
|
|
|
|
<target>1.7</target>
|
2012-12-28 01:01:32 +01:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>2.12</version>
|
|
|
|
<configuration>
|
|
|
|
<skipTests>true</skipTests>
|
|
|
|
</configuration>
|
|
|
|
</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>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>${distroDirectory}/descriptor.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>fully.qualified.MainClass</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>servicearchive</id>
|
|
|
|
<phase>install</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!-- GWT Maven Plugin -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>gwt-maven-plugin</artifactId>
|
2013-09-19 18:20:34 +02:00
|
|
|
<version>${gwtVersion}</version>
|
2012-12-28 01:01:32 +01:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.gwt</groupId>
|
|
|
|
<artifactId>gwt-user</artifactId>
|
|
|
|
<version>${gwtVersion}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.gwt</groupId>
|
|
|
|
<artifactId>gwt-dev</artifactId>
|
|
|
|
<version>${gwtVersion}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2013-09-19 18:20:34 +02:00
|
|
|
|
2012-12-28 01:01:32 +01:00
|
|
|
<!-- JS is only needed in the package phase, this speeds up testing -->
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>resources</goal>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<!-- Plugin configuration. There are many available options, see gwt-maven-plugin
|
|
|
|
documentation at codehaus.org -->
|
|
|
|
<configuration>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|