560 lines
15 KiB
XML
560 lines
15 KiB
XML
<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">
|
|
|
|
<parent>
|
|
<artifactId>maven-parent</artifactId>
|
|
<groupId>org.gcube.tools</groupId>
|
|
<version>1.1.0</version>
|
|
<relativePath />
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>org.gcube.data.access</groupId>
|
|
<artifactId>storagehub</artifactId>
|
|
<version>1.5.0-SNAPSHOT</version>
|
|
<name>storagehub</name>
|
|
|
|
<scm>
|
|
<connection>scm:git:https://code-repo.d4science.org/gCubeSystem/storagehub.git</connection>
|
|
<developerConnection>scm:git:https://code-repo.d4science.org/gCubeSystem/storagehub.git</developerConnection>
|
|
<url>https://code-repo.d4science.org/gCubeSystem/storagehub</url>
|
|
</scm>
|
|
|
|
|
|
<packaging>war</packaging>
|
|
|
|
<properties>
|
|
<webappDirectory>${project.basedir}/src/main/webapp/WEB-INF</webappDirectory>
|
|
<jackrabbit.version>2.21.13</jackrabbit.version>
|
|
<jackson.version>2.8.11</jackson.version>
|
|
<slf4j.version>1.7.4</slf4j.version>
|
|
<tika.version>2.6.0</tika.version>
|
|
<aspectj-plugin.version>1.14.0</aspectj-plugin.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>
|
|
<enunciate.version>2.14.0</enunciate.version>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.gcube.distribution</groupId>
|
|
<artifactId>gcube-smartgears-bom</artifactId>
|
|
<version>3.0.0-SNAPSHOT</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjrt</artifactId>
|
|
<version>1.8.2</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<!-- https://mvnrepository.com/artifact/org.apache.tika/tika-parsers -->
|
|
|
|
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjrt</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.core</groupId>
|
|
<artifactId>common-smartgears</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.core</groupId>
|
|
<artifactId>common-smartgears-app</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>authorization-control-library</artifactId>
|
|
</dependency>
|
|
|
|
<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>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>storagehub-model</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.data.access</groupId>
|
|
<artifactId>storagehub-script-utils</artifactId>
|
|
<version>[1.0.0-SNAPSHOT,2.0.0)</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.itextpdf</groupId>
|
|
<artifactId>itextpdf</artifactId>
|
|
<version>5.5.13.2</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on -->
|
|
<dependency>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
<version>1.62</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>gxJRS</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 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>2.19.3</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> -->
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.tika/tika-core -->
|
|
<dependency>
|
|
<groupId>org.apache.tika</groupId>
|
|
<artifactId>tika-core</artifactId>
|
|
<version>${tika.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.tika</groupId>
|
|
<artifactId>tika-parsers-standard-package</artifactId>
|
|
<version>${tika.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.tika</groupId>
|
|
<artifactId>tika-parser-microsoft-module</artifactId>
|
|
<version>${tika.version}</version>
|
|
</dependency>
|
|
|
|
<!-- needed to manage strange image types -->
|
|
<dependency>
|
|
<groupId>com.twelvemonkeys.imageio</groupId>
|
|
<artifactId>imageio-jpeg</artifactId>
|
|
<version>3.3.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.twelvemonkeys.imageio</groupId>
|
|
<artifactId>imageio-bmp</artifactId>
|
|
<version>3.3.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.twelvemonkeys.imageio</groupId>
|
|
<artifactId>imageio-core</artifactId>
|
|
<version>3.3.2</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- jersey & weld -->
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<version>3.0.1</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/javax.interceptor/javax.interceptor-api -->
|
|
<dependency>
|
|
<groupId>javax.interceptor</groupId>
|
|
<artifactId>javax.interceptor-api</artifactId>
|
|
<version>1.2.2</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/javax.enterprise/cdi-api -->
|
|
<dependency>
|
|
<groupId>javax.enterprise</groupId>
|
|
<artifactId>cdi-api</artifactId>
|
|
<version>2.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.ws.rs</groupId>
|
|
<artifactId>javax.ws.rs-api</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.containers</groupId>
|
|
<artifactId>jersey-container-servlet</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.containers</groupId>
|
|
<artifactId>jersey-container-servlet-core</artifactId>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.glassfish.jersey.inject/jersey-hk2 -->
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.inject</groupId>
|
|
<artifactId>jersey-hk2</artifactId>
|
|
<version>2.30.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.core</groupId>
|
|
<artifactId>jersey-server</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.ext.cdi</groupId>
|
|
<artifactId>jersey-cdi1x</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.ext.cdi</groupId>
|
|
<artifactId>jersey-cdi1x-servlet</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.weld.servlet</groupId>
|
|
<artifactId>weld-servlet-core</artifactId>
|
|
<version>3.1.0.Final</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.jboss/jandex -->
|
|
<dependency>
|
|
<groupId>org.jboss</groupId>
|
|
<artifactId>jandex</artifactId>
|
|
<version>2.2.2.Final</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<version>3.0.1</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.glassfish.jersey.core/jersey-common -->
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.core</groupId>
|
|
<artifactId>jersey-common</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
<artifactId>jersey-media-json-jackson</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
<artifactId>jersey-media-multipart</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>9.1-901.jdbc4</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>org.reflections</groupId>
|
|
<artifactId>reflections</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>16.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-compress</artifactId>
|
|
<version>1.17</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.tukaani</groupId>
|
|
<artifactId>xz</artifactId>
|
|
<version>1.5</version>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.test-framework.providers</groupId>
|
|
<artifactId>jersey-test-framework-provider-simple</artifactId>
|
|
<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>
|
|
|
|
|
|
<!-- 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>com.vlkan.rfos</groupId>
|
|
<artifactId>rotating-fos</artifactId>
|
|
<version>0.9.2</version>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jul-to-slf4j</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
|
|
<!-- enunciate deps -->
|
|
<dependency>
|
|
<groupId>com.webcohesion.enunciate</groupId>
|
|
<artifactId>enunciate-core-annotations</artifactId>
|
|
<version>${enunciate.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.webcohesion.enunciate</groupId>
|
|
<artifactId>enunciate-rt-util</artifactId>
|
|
<version>${enunciate.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
|
|
<!-- Storage dependencies -->
|
|
<dependency>
|
|
<groupId>org.gcube.contentmanagement</groupId>
|
|
<artifactId>storage-manager-core</artifactId>
|
|
<version>[4.0.0-SNAPSHOT,5.0.0-SNAPSHOT)</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.contentmanagement</groupId>
|
|
<artifactId>storage-manager-wrapper</artifactId>
|
|
<version>[4.0.0-SNAPSHOT,5.0.0-SNAPSHOT)</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/io.minio/minio -->
|
|
<dependency>
|
|
<groupId>io.minio</groupId>
|
|
<artifactId>minio</artifactId>
|
|
<version>8.3.3</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>storagehub-client-library</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.testcontainers</groupId>
|
|
<artifactId>testcontainers</artifactId>
|
|
<version>1.16.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/junit/junit -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.13.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
|
|
|
|
</dependencies>
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<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>
|
|
<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>${aspectj-plugin.version}</version>
|
|
<configuration>
|
|
<complianceLevel>1.8</complianceLevel>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<aspectLibraries>
|
|
<aspectLibrary>
|
|
<groupId>org.gcube.common</groupId>
|
|
<artifactId>authorization-control-library</artifactId>
|
|
</aspectLibrary>
|
|
</aspectLibraries>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>aspectj-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<configuration>
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Enunciate Maven plugin -->
|
|
<plugin>
|
|
<groupId>com.webcohesion.enunciate</groupId>
|
|
<artifactId>enunciate-maven-plugin</artifactId>
|
|
<version>${enunciate.version}</version>
|
|
<configuration>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>assemble</id>
|
|
<goals>
|
|
<goal>assemble</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- Copy Enunciate Documentation from your-application/docs to your-application.war -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-enunciate-docs</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>target</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<targetPath>${project.build.directory}/${project.artifactId}-${project.version}/api-docs</targetPath>
|
|
<directory>${project.build.directory}/api-docs</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |