2018-06-29 16:59:24 +02:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2018-05-17 12:51:56 +02:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.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.data.access</groupId>
|
|
|
|
<artifactId>storagehub</artifactId>
|
2019-04-04 18:14:55 +02:00
|
|
|
<version>1.0.5-SNAPSHOT</version>
|
2018-05-17 12:51:56 +02:00
|
|
|
<name>storagehub</name>
|
|
|
|
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
|
|
|
<properties>
|
2019-04-04 16:41:06 +02:00
|
|
|
<webappDirectory>${project.basedir}/src/main/webapp/WEB-INF</webappDirectory>
|
|
|
|
<distroDirectory>${project.basedir}/distro</distroDirectory>
|
2018-06-20 16:59:41 +02:00
|
|
|
<jackrabbit.version>2.16.0</jackrabbit.version>
|
2018-05-17 12:51:56 +02:00
|
|
|
<tomcat.version>7.0.40</tomcat.version>
|
|
|
|
<jetty.version>6.1.26</jetty.version>
|
|
|
|
<tika.version>1.7</tika.version>
|
|
|
|
<slf4j.api.version>1.6.6</slf4j.api.version>
|
|
|
|
<slf4j.version>1.7.4</slf4j.version> <!-- sync with logback version -->
|
|
|
|
<logback.version>1.0.12</logback.version>
|
|
|
|
|
|
|
|
<distroDirectory>${project.basedir}/distro</distroDirectory>
|
|
|
|
<description>REST web service for Jackrabbit</description>
|
|
|
|
<warname>storagehub</warname>
|
|
|
|
<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>
|
2019-01-16 17:44:50 +01:00
|
|
|
<artifactId>maven-smartgears-bom</artifactId>
|
2018-05-17 12:51:56 +02:00
|
|
|
<version>LATEST</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
2018-11-30 17:49:35 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
|
<artifactId>aspectjrt</artifactId>
|
|
|
|
<version>1.8.2</version>
|
|
|
|
</dependency>
|
2018-05-17 12:51:56 +02:00
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<dependencies>
|
2018-12-17 14:55:43 +01:00
|
|
|
|
2018-11-30 17:49:35 +01:00
|
|
|
<dependency>
|
2018-12-17 14:55:43 +01:00
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
|
<artifactId>aspectjrt</artifactId>
|
2018-11-30 17:49:35 +01:00
|
|
|
</dependency>
|
2018-12-17 14:55:43 +01:00
|
|
|
|
2018-07-05 16:26:08 +02:00
|
|
|
<dependency>
|
2018-10-25 16:33:23 +02:00
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>common-smartgears</artifactId>
|
2018-07-05 16:26:08 +02:00
|
|
|
</dependency>
|
2018-10-25 16:33:23 +02:00
|
|
|
|
2018-12-17 14:55:43 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>authorization-control-library</artifactId>
|
|
|
|
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
|
|
|
</dependency>
|
|
|
|
|
2018-05-17 12:51:56 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>common-authorization</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>common-encryption</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>common-scope-maps</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>common-scope</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2018-12-17 14:55:43 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>common-encryption</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2018-05-17 12:51:56 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
|
|
|
<artifactId>storagehub-model</artifactId>
|
2018-06-21 12:11:49 +02:00
|
|
|
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
2018-05-17 12:51:56 +02:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.itextpdf</groupId>
|
|
|
|
<artifactId>itextpdf</artifactId>
|
|
|
|
<version>5.5.6</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2018-10-25 16:33:23 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
2019-01-16 18:23:14 +01:00
|
|
|
<artifactId>gxJRS</artifactId>
|
|
|
|
<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
2018-11-30 17:49:35 +01:00
|
|
|
</dependency>
|
2018-10-25 16:33:23 +02:00
|
|
|
|
2018-05-17 12:51:56 +02:00
|
|
|
<!-- JCR dependencies -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.jcr</groupId>
|
|
|
|
<artifactId>jcr</artifactId>
|
|
|
|
<version>2.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.jackrabbit</groupId>
|
|
|
|
<artifactId>jackrabbit-api</artifactId>
|
|
|
|
<version>${jackrabbit.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.jackrabbit</groupId>
|
|
|
|
<artifactId>jackrabbit-core</artifactId>
|
|
|
|
<version>${jackrabbit.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.jackrabbit</groupId>
|
|
|
|
<artifactId>jackrabbit-jcr-server</artifactId>
|
|
|
|
<version>${jackrabbit.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- jersey -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
<artifactId>javax.ws.rs-api</artifactId>
|
|
|
|
<version>2.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.containers</groupId>
|
|
|
|
<artifactId>jersey-container-servlet</artifactId>
|
|
|
|
<version>2.13</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.containers.glassfish</groupId>
|
|
|
|
<artifactId>jersey-gf-cdi</artifactId>
|
|
|
|
<version>2.13</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.transaction</groupId>
|
|
|
|
<artifactId>javax.transaction-api</artifactId>
|
|
|
|
<version>1.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<version>3.0.1</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- weld -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.enterprise</groupId>
|
|
|
|
<artifactId>cdi-api</artifactId>
|
|
|
|
<version>1.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.weld.servlet</groupId>
|
|
|
|
<artifactId>weld-servlet</artifactId>
|
|
|
|
<version>2.2.10.Final</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss</groupId>
|
|
|
|
<artifactId>jandex</artifactId>
|
|
|
|
<version>1.2.2.Final</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.jaxrs</groupId>
|
|
|
|
<artifactId>jackson-jaxrs-json-provider</artifactId>
|
|
|
|
<version>2.3.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
|
|
<artifactId>jersey-media-json-jackson</artifactId>
|
|
|
|
<version>2.13</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
|
|
<artifactId>jersey-media-multipart</artifactId>
|
|
|
|
<version>2.13</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<version>9.1-901.jdbc4</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Storage dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.contentmanagement</groupId>
|
|
|
|
<artifactId>storage-manager-core</artifactId>
|
|
|
|
<version>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.contentmanagement</groupId>
|
|
|
|
<artifactId>storage-manager-wrapper</artifactId>
|
|
|
|
<version>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.reflections</groupId>
|
|
|
|
<artifactId>reflections</artifactId>
|
|
|
|
<version>0.9.10</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>16.0</version>
|
2018-10-25 16:33:23 +02:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-compress</artifactId>
|
|
|
|
<version>1.17</version>
|
|
|
|
</dependency>
|
2018-05-17 12:51:56 +02:00
|
|
|
|
2018-10-25 16:33:23 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.tukaani</groupId>
|
|
|
|
<artifactId>xz</artifactId>
|
|
|
|
<version>1.5</version>
|
2018-05-17 12:51:56 +02:00
|
|
|
</dependency>
|
|
|
|
|
2018-10-25 16:33:23 +02:00
|
|
|
|
2018-05-17 12:51:56 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.test-framework.providers</groupId>
|
|
|
|
<artifactId>jersey-test-framework-provider-simple</artifactId>
|
|
|
|
<version>2.13</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
<artifactId>derby</artifactId>
|
|
|
|
<version>10.8.2.2</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
<artifactId>derbyclient</artifactId>
|
|
|
|
<version>10.8.2.2</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.googlecode.jeeunit</groupId>
|
|
|
|
<artifactId>jeeunit</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
<version>2.7</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<version>1.0.13</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.10</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.mockito/mockito-all -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-all</artifactId>
|
|
|
|
<version>1.9.5</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jul-to-slf4j</artifactId>
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.weld.se</groupId>
|
|
|
|
<artifactId>weld-se</artifactId>
|
|
|
|
<version>2.2.10.Final</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.11</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<finalName>${artifactId}</finalName>
|
2018-11-30 17:49:35 +01:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<configuration>
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
<pluginExecutions>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>aspectj-maven-plugin</artifactId>
|
2018-12-17 14:55:43 +01:00
|
|
|
|
2018-11-30 17:49:35 +01:00
|
|
|
<versionRange>[1.0,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>test-compile</goal>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<execute />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>aspectj-maven-plugin</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
<configuration>
|
|
|
|
<complianceLevel>1.8</complianceLevel>
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
|
|
|
<aspectLibraries>
|
|
|
|
<aspectLibrary>
|
|
|
|
<groupId>org.gcube.common</groupId>
|
2018-12-17 14:55:43 +01:00
|
|
|
<artifactId>authorization-control-library</artifactId>
|
2018-11-30 17:49:35 +01:00
|
|
|
</aspectLibrary>
|
|
|
|
</aspectLibraries>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2018-05-17 12:51:56 +02:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2018-11-30 17:49:35 +01:00
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>aspectj-maven-plugin</artifactId>
|
2018-05-17 12:51:56 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
<configuration>
|
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-04-04 16:41:06 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-profile</id>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${webappDirectory}</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${distroDirectory}</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-05-17 12:51:56 +02:00
|
|
|
<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>
|
|
|
|
|
|
|
|
</project>
|