489 lines
12 KiB
XML
489 lines
12 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">
|
|
|
|
<parent>
|
|
<artifactId>maven-parent</artifactId>
|
|
<groupId>org.gcube.tools</groupId>
|
|
<version>1.0.0</version>
|
|
<relativePath />
|
|
</parent>
|
|
|
|
<!-- POM file generated with GWT webAppCreator -->
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>org.gcube.portlets.admin</groupId>
|
|
<artifactId>accounting-manager</artifactId>
|
|
<version>1.6.0-SNAPSHOT</version>
|
|
<packaging>war</packaging>
|
|
|
|
|
|
<name>accounting-manager</name>
|
|
<description>accounting-manager manages accounting informations</description>
|
|
|
|
<scm>
|
|
<url>https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/admin/accounting-manager</url>
|
|
</scm>
|
|
|
|
|
|
<developers>
|
|
<developer>
|
|
<name>Giancarlo Panichi</name>
|
|
<email>g.panichi@isti.cnr.it</email>
|
|
<organization>CNR Pisa, Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo"</organization>
|
|
<roles>
|
|
<role>architect</role>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
</developers>
|
|
|
|
|
|
<properties>
|
|
|
|
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
|
|
<distroDirectory>distro</distroDirectory>
|
|
<configDirectory>config</configDirectory>
|
|
|
|
<!-- GWT configuration -->
|
|
<gwtVersion>2.6.1</gwtVersion>
|
|
<gwtLogVersion>3.3.2</gwtLogVersion>
|
|
<gxtVersion>3.1.1</gxtVersion>
|
|
<!-- <gxt2Version>2.6.1</gxt2Version> -->
|
|
|
|
|
|
<KEYS>${env.KEYS}</KEYS>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
</properties>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>localRun</id>
|
|
<dependencies>
|
|
<!-- Authorization -->
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>common-authorization</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>authorization-client</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
|
|
<!-- Storage -->
|
|
<dependency>
|
|
<groupId>org.gcube.contentmanagement</groupId>
|
|
<artifactId>storage-manager-core</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.contentmanagement</groupId>
|
|
<artifactId>storage-manager-wrapper</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<!-- Home Library -->
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>home-library</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>home-library-jcr</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>home-library-model</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<!-- Logger -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<!-- Accounting -->
|
|
<dependency>
|
|
<groupId>org.gcube.accounting</groupId>
|
|
<artifactId>accounting-lib</artifactId>
|
|
<version>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<dependencies>
|
|
|
|
<!-- GWT -->
|
|
<dependency>
|
|
<groupId>com.google.gwt</groupId>
|
|
<artifactId>gwt-user</artifactId>
|
|
<version>${gwtVersion}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.gwt</groupId>
|
|
<artifactId>gwt-servlet</artifactId>
|
|
<version>${gwtVersion}</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- GXT 3 -->
|
|
<dependency>
|
|
<groupId>com.sencha.gxt</groupId>
|
|
<artifactId>gxt</artifactId>
|
|
<version>${gxtVersion}</version>
|
|
</dependency>
|
|
|
|
<!-- Accounting Manager Theme -->
|
|
<dependency>
|
|
<groupId>org.gcube.portlets.admin</groupId>
|
|
<artifactId>accounting-manager-theme</artifactId>
|
|
<version>[0.0.1-SNAPSHOT,
|
|
2.0.0-SNAPSHOT)</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.google.gwt</groupId>
|
|
<artifactId>gwt-dev</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>com.sencha.gxt</groupId>
|
|
<artifactId>gxt-chart</artifactId>
|
|
<version>${gxtVersion}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.highcharts4gwt</groupId>
|
|
<artifactId>highcharts</artifactId>
|
|
<version>0.0.7</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- Portlet -->
|
|
<dependency>
|
|
<groupId>javax.portlet</groupId>
|
|
<artifactId>portlet-api</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- PORTAL -->
|
|
<dependency>
|
|
<groupId>org.gcube.core</groupId>
|
|
<artifactId>common-scope-maps</artifactId>
|
|
<!-- <version>[1.0.2-SNAPSHOT,2.0.0-SNAPSHOT)</version> -->
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.common.portal</groupId>
|
|
<artifactId>portal-manager</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.dvos</groupId>
|
|
<artifactId>usermanagement-core</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.portal</groupId>
|
|
<artifactId>client-context-library</artifactId>
|
|
<version>[1.0.0-SNAPSHOT,)</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<!-- Authorization -->
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>common-authorization</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>authorization-client</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Social -->
|
|
<dependency>
|
|
<groupId>org.gcube.portal</groupId>
|
|
<artifactId>social-networking-library</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.applicationsupportlayer</groupId>
|
|
<artifactId>aslsocial</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Common Encryption -->
|
|
<dependency>
|
|
<groupId>org.gcube.core</groupId>
|
|
<artifactId>common-encryption</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
|
|
<!-- Storage -->
|
|
<dependency>
|
|
<groupId>org.gcube.contentmanagement</groupId>
|
|
<artifactId>storage-manager-core</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.contentmanagement</groupId>
|
|
<artifactId>storage-manager-wrapper</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Home Library -->
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>home-library</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-model</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Accounting Lib -->
|
|
<dependency>
|
|
<groupId>org.gcube.accounting</groupId>
|
|
<artifactId>accounting-lib</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Accounting Analytics -->
|
|
<dependency>
|
|
<groupId>org.gcube.accounting</groupId>
|
|
<artifactId>accounting-analytics</artifactId>
|
|
<version>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
|
|
</dependency>
|
|
|
|
<!-- Document Store Lib -->
|
|
<dependency>
|
|
<groupId>org.gcube.data.publishing</groupId>
|
|
<artifactId>document-store-lib</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
|
|
<!-- Accounting Persistence-CouchBase -->
|
|
<dependency>
|
|
<groupId>org.gcube.accounting</groupId>
|
|
<artifactId>accounting-analytics-persistence-couchbase</artifactId>
|
|
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
|
</dependency>
|
|
|
|
<!-- Apache Commons CSV -->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-csv</artifactId>
|
|
<version>1.4</version>
|
|
</dependency>
|
|
|
|
<!-- JSON -->
|
|
<dependency>
|
|
<groupId>org.json</groupId>
|
|
<artifactId>json</artifactId>
|
|
<version>20160212</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/javax.cache/cache-api -->
|
|
<dependency>
|
|
<groupId>javax.cache</groupId>
|
|
<artifactId>cache-api</artifactId>
|
|
<version>1.0.0</version>
|
|
</dependency>
|
|
|
|
<!-- ehcache -->
|
|
<dependency>
|
|
<groupId>org.ehcache</groupId>
|
|
<artifactId>ehcache</artifactId>
|
|
<version>3.1.3</version>
|
|
</dependency>
|
|
|
|
<!-- LOGGING -->
|
|
<dependency>
|
|
<groupId>com.allen-sauer.gwt.log</groupId>
|
|
<artifactId>gwt-log</artifactId>
|
|
<version>${gwtLogVersion}</version>
|
|
</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>
|
|
|
|
|
|
<!-- JUnit TEST -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.8.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<!-- Generate compiled stuff in the folder used for developing mode -->
|
|
<outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<includes>
|
|
<include>**/*.*</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
|
|
<plugins>
|
|
<!-- GWT Maven Plugin -->
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>gwt-maven-plugin</artifactId>
|
|
<version>${gwtVersion}</version>
|
|
<executions>
|
|
<execution>
|
|
<configuration>
|
|
<extraJvmArgs>-Xmx1024M -Xss1024k -Dgwt.compiler.localWorkers=1</extraJvmArgs>
|
|
|
|
</configuration>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
<goal>test</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<runTarget>AccountingManager.html</runTarget>
|
|
<hostedWebapp>${webappDirectory}</hostedWebapp>
|
|
<module>org.gcube.portlets.admin.accountingmanager.accountingman</module>
|
|
<!-- <compileSourcesArtifacts> <artifact>com.github.highcharts4gwt:highcharts</artifact>
|
|
</compileSourcesArtifacts> -->
|
|
</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>
|
|
<warName>${project.build.finalName}</warName>
|
|
|
|
<!-- Include static jar into WEB-INF/lib -->
|
|
<!-- <webResources> <resource> <directory>lib</directory> <includes>
|
|
<include>*.jar</include> </includes> <targetPath>WEB-INF/lib</targetPath>
|
|
</resource> </webResources> -->
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Maven Surefire Plugin for Test -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.16</version>
|
|
<configuration>
|
|
<skipTests>false</skipTests>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.maven.surefire</groupId>
|
|
<artifactId>surefire-junit47</artifactId>
|
|
<version>2.16</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<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>
|
|
|
|
<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>
|
|
|
|
|
|
</project>
|