2024-02-06 16:26:56 +01:00
|
|
|
<project xmlns="https://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.gcube.tools</groupId>
|
|
|
|
<artifactId>maven-parent</artifactId>
|
|
|
|
<version>1.2.0</version>
|
|
|
|
</parent>
|
2024-02-16 18:05:14 +01:00
|
|
|
<groupId>org.gcube.idm</groupId>
|
2024-02-06 16:26:56 +01:00
|
|
|
<artifactId>identity-manager</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
<packaging>war</packaging>
|
2024-02-13 14:50:45 +01:00
|
|
|
<name>identity-manager</name>
|
2024-02-06 16:26:56 +01:00
|
|
|
<description>Identity Manager Smargears Service</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
|
|
<webappDirectory>
|
2024-02-13 14:50:45 +01:00
|
|
|
${project.basedir}${file.separator}gcube${file.separator}extra-resources${file.separator}WEB-INF</webappDirectory>
|
2024-02-06 16:26:56 +01:00
|
|
|
<enunciate.version>2.14.0</enunciate.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<scm>
|
|
|
|
<connection>
|
|
|
|
scm:git:https://code-repo.d4science.org/gCubeSystem/${project.artifactId}.git</connection>
|
|
|
|
<developerConnection>
|
|
|
|
scm:git:https://code-repo.d4science.org/gCubeSystem/${project.artifactId}.git</developerConnection>
|
|
|
|
<url>https://code-repo.d4science.org/gCubeSystem/${project.artifactId}</url>
|
|
|
|
</scm>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.distribution</groupId>
|
|
|
|
<artifactId>gcube-smartgears-bom</artifactId>
|
|
|
|
<version>3.0.1-SNAPSHOT</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2024-02-16 18:05:14 +01:00
|
|
|
|
2024-02-06 16:26:56 +01:00
|
|
|
<dependencies>
|
2024-02-16 18:05:14 +01:00
|
|
|
<!-- smartgears -->
|
2024-02-06 16:26:56 +01:00
|
|
|
<dependency>
|
2024-02-16 18:05:14 +01:00
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>common-smartgears</artifactId>
|
2024-02-06 16:26:56 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2024-02-16 18:05:14 +01:00
|
|
|
<groupId>org.gcube.core</groupId>
|
|
|
|
<artifactId>common-smartgears-app</artifactId>
|
2024-02-06 16:26:56 +01:00
|
|
|
</dependency>
|
2024-02-16 18:05:14 +01:00
|
|
|
<!-- jersey -->
|
2024-02-06 16:26:56 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
<artifactId>javax.ws.rs-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2024-02-16 18:05:14 +01:00
|
|
|
<groupId>org.glassfish.jersey.containers</groupId>
|
|
|
|
<artifactId>jersey-container-servlet</artifactId>
|
2024-02-06 16:26:56 +01:00
|
|
|
</dependency>
|
2024-02-07 10:11:38 +01:00
|
|
|
<dependency>
|
2024-02-16 18:05:14 +01:00
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<version>3.0.1</version>
|
2024-02-07 10:11:38 +01:00
|
|
|
</dependency>
|
2024-02-16 18:05:14 +01:00
|
|
|
<!-- add jackson as json provider -->
|
2024-02-07 10:11:38 +01:00
|
|
|
<dependency>
|
2024-02-16 18:05:14 +01:00
|
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
|
|
<artifactId>jersey-media-json-jackson</artifactId>
|
2024-02-07 10:11:38 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2024-02-16 18:05:14 +01:00
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
2024-02-07 10:11:38 +01:00
|
|
|
</dependency>
|
2024-02-06 16:26:56 +01:00
|
|
|
|
|
|
|
<!-- Required for Enunciate plugin -->
|
|
|
|
<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>
|
|
|
|
<!-- END Required for Enunciate plugin -->
|
|
|
|
|
|
|
|
<!-- Test libraries -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.11</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>
|
|
|
|
<plugins>
|
2024-02-26 10:01:47 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<version>2.3</version>
|
|
|
|
<configuration>
|
|
|
|
<warName>identity-manager</warName>
|
|
|
|
<outputDirectory>tomcat/webapps</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2024-02-08 10:24:25 +01:00
|
|
|
<!-- Sphinx plugin'
|
2024-02-07 16:49:54 +01:00
|
|
|
<plugin>
|
2024-02-06 16:26:56 +01:00
|
|
|
<groupId>kr.motd.maven</groupId>
|
|
|
|
<artifactId>sphinx-maven-plugin</artifactId>
|
|
|
|
<version>2.10.0</version>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>
|
|
|
|
${project.build.directory}/${project.artifactId}-${project.version}/docs</outputDirectory>
|
|
|
|
<builder>html</builder>
|
|
|
|
<configDirectory>${basedir}/docs</configDirectory>
|
|
|
|
<sourceDirectory>${basedir}/docs</sourceDirectory>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>generate</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2024-02-08 10:24:25 +01:00
|
|
|
</plugin> -->
|
2024-02-06 16:26:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
<!-- Enunciate Maven plugin -->
|
2024-02-07 16:49:54 +01:00
|
|
|
<plugin>
|
2024-02-06 16:26:56 +01:00
|
|
|
<groupId>com.webcohesion.enunciate</groupId>
|
|
|
|
<artifactId>enunciate-maven-plugin</artifactId>
|
|
|
|
<version>${enunciate.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>assemble</id>
|
|
|
|
<goals>
|
|
|
|
<goal>assemble</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2024-02-07 16:49:54 +01:00
|
|
|
</plugin>
|
2024-02-06 16:26:56 +01:00
|
|
|
<!-- Copy Enunciate Documentation from your-application/api-docs
|
|
|
|
into your 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>
|