308 lines
9.0 KiB
XML
308 lines
9.0 KiB
XML
<!-- <?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"> -->
|
|
|
|
<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>
|
|
<groupId>org.gcube.tools</groupId>
|
|
<artifactId>maven-parent</artifactId>
|
|
<version>1.0.0</version>
|
|
</parent>
|
|
|
|
<!-- POM file generated with GWT webAppCreator -->
|
|
<!-- <modelVersion>4.0.0</modelVersion> -->
|
|
|
|
|
|
<groupId>org.gcube.portlets.user</groupId>
|
|
<artifactId>databases-manager-portlet</artifactId>
|
|
<packaging>war</packaging>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
<name>DatabasesResourceManagerPortlet</name>
|
|
<description>Databases Resource Manager Portlet</description>
|
|
|
|
|
|
|
|
<properties>
|
|
<distroDirectory>distro</distroDirectory>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<!-- Convenience property to set the GWT version -->
|
|
<gwtVersion>2.5.1</gwtVersion>
|
|
<!-- GWT needs at least java 1.5 -->
|
|
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
|
|
<!-- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> -->
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<!-- Dependencies for the SM client library -->
|
|
<dependency>
|
|
<groupId>org.gcube.applicationsupportlayer</groupId>
|
|
<artifactId>aslcore</artifactId>
|
|
<!-- <version>[1.0.0-SNAPSHOT,5.0.0-SNAPSHOT)</version> -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.data.analysis</groupId>
|
|
<artifactId>statistical-manager-cl</artifactId>
|
|
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.core</groupId>
|
|
<artifactId>common-fw-clients</artifactId>
|
|
<!-- <version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version> -->
|
|
</dependency>
|
|
|
|
<!-- <dependency> -->
|
|
<!-- <groupId>org.gcube.core</groupId> -->
|
|
<!-- <artifactId>common-gcore-clients</artifactId> -->
|
|
<!-- <version>[1.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version> -->
|
|
<!-- </dependency> -->
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.contentmanagement</groupId>
|
|
<artifactId>storage-manager-wrapper</artifactId>
|
|
<!-- <version>[1.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version> -->
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.contentmanagement</groupId>
|
|
<artifactId>storage-manager-core</artifactId>
|
|
<!-- <version>[1.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version> -->
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- other dependencies -->
|
|
|
|
<dependency>
|
|
<groupId>xalan</groupId>
|
|
<artifactId>xalan</artifactId>
|
|
<version>2.6.0</version>
|
|
<!-- <scope>provided</scope> -->
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!-- <dependency> -->
|
|
<!-- <groupId>regexp</groupId> -->
|
|
<!-- <artifactId>regexp</artifactId> -->
|
|
<!-- <version>1.3</version> -->
|
|
<!-- </dependency> -->
|
|
<dependency>
|
|
<groupId>javax.portlet</groupId>
|
|
<artifactId>portlet-api</artifactId>
|
|
<!-- <version>[1.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version> -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.portal</groupId>
|
|
<artifactId>custom-portal-handler</artifactId>
|
|
<!-- <version>[1.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version> -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.core</groupId>
|
|
<artifactId>common-scope</artifactId>
|
|
<version>[1.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.core</groupId>
|
|
<artifactId>common-scope-maps</artifactId>
|
|
<version>[1.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- <dependency> -->
|
|
<!-- <groupId>log4j</groupId> -->
|
|
<!-- <artifactId>log4j</artifactId> -->
|
|
<!-- <version>[1.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version> -->
|
|
<!-- </dependency> -->
|
|
|
|
<!-- <dependency> -->
|
|
<!-- <groupId>org.gcube.applicationsupportlayer</groupId> -->
|
|
<!-- <artifactId>accesslogger</artifactId> -->
|
|
<!-- <version>[1.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version> -->
|
|
<!-- <scope>provided</scope> -->
|
|
<!-- </dependency> -->
|
|
|
|
<!-- <dependency> -->
|
|
<!-- <groupId>org.slf4j</groupId> -->
|
|
<!-- <artifactId>slf4j-log4j12</artifactId> -->
|
|
<!-- <version>1.6.1</version> -->
|
|
<!-- <scope>runtime</scope> -->
|
|
<!-- </dependency> -->
|
|
|
|
<!-- <dependency> -->
|
|
<!-- <groupId>org.slf4j</groupId> -->
|
|
<!-- <artifactId>slf4j-api</artifactId> -->
|
|
<!-- <scope>provided</scope> -->
|
|
<!-- </dependency> -->
|
|
<!-- <dependency> -->
|
|
<!-- <groupId>org.slf4j</groupId> -->
|
|
<!-- <artifactId>slf4j-log4j12</artifactId> -->
|
|
<!-- <scope>provided</scope> -->
|
|
<!-- </dependency> -->
|
|
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.gwt</groupId>
|
|
<artifactId>gwt-servlet</artifactId>
|
|
<!-- <version>${gwtVersion}</version> -->
|
|
<!-- <scope>runtime</scope> -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.gwt</groupId>
|
|
<artifactId>gwt-user</artifactId>
|
|
<!-- <version>${gwtVersion}</version> -->
|
|
<!-- <scope>provided</scope> -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.7</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.validation</groupId>
|
|
<artifactId>validation-api</artifactId>
|
|
<version>1.0.0.GA</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.validation</groupId>
|
|
<artifactId>validation-api</artifactId>
|
|
<version>1.0.0.GA</version>
|
|
<classifier>sources</classifier>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.extjs.gxt</groupId>
|
|
<artifactId>gxt</artifactId>
|
|
<version>2.2.5</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<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>
|
|
|
|
<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>
|
|
<version>2.5.1</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<!-- Plugin configuration. There are many available options, see gwt-maven-plugin
|
|
documentation at codehaus.org -->
|
|
<configuration>
|
|
<runTarget>DatabasesManager.html</runTarget>
|
|
<hostedWebapp>${webappDirectory}</hostedWebapp>
|
|
<!-- <i18nMessagesBundle>org.gcube.portlets.user.dbmanager.client.Messages</i18nMessagesBundle> -->
|
|
</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.7</source>
|
|
<target>1.7</target>
|
|
</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> -->
|
|
<!-- </configuration> -->
|
|
<!-- <executions> -->
|
|
<!-- <execution> -->
|
|
<!-- <id>servicearchive</id> -->
|
|
<!-- <phase>install</phase> -->
|
|
<!-- <goals> -->
|
|
<!-- <goal>single</goal> -->
|
|
<!-- </goals> -->
|
|
<!-- </execution> -->
|
|
<!-- </executions> -->
|
|
<!-- </plugin> -->
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |