2023-10-25 23:53:55 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2022-11-07 00:28:34 +01:00
|
|
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2023-10-25 23:53:55 +02:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>kangaroo-and-rabbit</groupId>
|
|
|
|
<artifactId>archidata</artifactId>
|
2024-06-25 15:48:53 +02:00
|
|
|
<version>0.13.1-SNAPSHOT</version>
|
2022-11-26 00:24:03 +01:00
|
|
|
<properties>
|
2024-06-01 19:49:36 +02:00
|
|
|
<java.version>21</java.version>
|
2022-11-07 00:28:34 +01:00
|
|
|
<maven.compiler.version>3.1</maven.compiler.version>
|
2023-10-28 00:29:14 +02:00
|
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
|
|
<maven.compiler.target>21</maven.compiler.target>
|
2022-11-07 00:28:34 +01:00
|
|
|
<maven.dependency.version>3.1.1</maven.dependency.version>
|
2023-12-22 23:33:09 +01:00
|
|
|
<jersey.version>3.1.5</jersey.version>
|
2023-10-25 23:53:55 +02:00
|
|
|
<jaxb.version>2.3.1</jaxb.version>
|
|
|
|
<istack.version>4.1.1</istack.version>
|
2022-11-07 00:28:34 +01:00
|
|
|
</properties>
|
2022-11-26 00:24:03 +01:00
|
|
|
<repositories>
|
2023-10-25 23:53:55 +02:00
|
|
|
<repository>
|
|
|
|
<id>gitea</id>
|
|
|
|
<url>https://gitea.atria-soft.org/api/packages/kangaroo-and-rabbit/maven</url>
|
|
|
|
</repository>
|
2022-11-26 00:24:03 +01:00
|
|
|
</repositories>
|
|
|
|
<distributionManagement>
|
2023-10-25 23:53:55 +02:00
|
|
|
<repository>
|
|
|
|
<id>gitea</id>
|
|
|
|
<url>https://gitea.atria-soft.org/api/packages/kangaroo-and-rabbit/maven</url>
|
|
|
|
</repository>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>gitea</id>
|
|
|
|
<url>https://gitea.atria-soft.org/api/packages/kangaroo-and-rabbit/maven</url>
|
|
|
|
</snapshotRepository>
|
2022-11-26 00:24:03 +01:00
|
|
|
</distributionManagement>
|
2022-11-07 00:28:34 +01:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey</groupId>
|
|
|
|
<artifactId>jersey-bom</artifactId>
|
|
|
|
<version>${jersey.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
2023-04-30 22:44:32 +02:00
|
|
|
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
|
|
|
|
<dependency>
|
2023-10-25 23:53:55 +02:00
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
2024-05-12 08:40:18 +02:00
|
|
|
<version>2.1.0-alpha1</version>
|
2023-10-25 23:53:55 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
2024-05-12 08:40:18 +02:00
|
|
|
<version>2.1.0-alpha1</version>
|
2023-10-25 23:53:55 +02:00
|
|
|
<scope>test</scope>
|
2023-04-30 22:44:32 +02:00
|
|
|
</dependency>
|
2024-09-12 00:24:37 +02:00
|
|
|
<!-- Decode webP images -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.twelvemonkeys.imageio</groupId>
|
|
|
|
<artifactId>imageio-webp</artifactId>
|
|
|
|
<version>3.11.0</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- Decode JPEG image -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.twelvemonkeys.imageio</groupId>
|
|
|
|
<artifactId>imageio-jpeg</artifactId>
|
|
|
|
<version>3.11.0</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- Encode file in webp -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.gotson</groupId>
|
|
|
|
<artifactId>webp-imageio</artifactId>
|
|
|
|
<version>0.2.2</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- Detect type of a file with mime type -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.tika</groupId>
|
|
|
|
<artifactId>tika-core</artifactId>
|
|
|
|
<version>2.7.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
2022-11-07 00:28:34 +01:00
|
|
|
<!-- https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-multipart -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
|
|
<artifactId>jersey-media-multipart</artifactId>
|
|
|
|
</dependency>
|
2023-02-17 19:00:32 +01:00
|
|
|
<dependency>
|
2024-01-06 09:07:03 +01:00
|
|
|
<groupId>org.glassfish.jersey.core</groupId>
|
|
|
|
<artifactId>jersey-client</artifactId>
|
2023-02-17 19:00:32 +01:00
|
|
|
</dependency>
|
2022-11-07 00:28:34 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.inject</groupId>
|
|
|
|
<artifactId>jersey-hk2</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.containers</groupId>
|
|
|
|
<artifactId>jersey-container-grizzly2-http</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
<version>${jaxb.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2024-01-06 09:07:03 +01:00
|
|
|
<groupId>org.glassfish.jaxb</groupId>
|
|
|
|
<artifactId>jaxb-runtime</artifactId>
|
2024-05-12 08:40:18 +02:00
|
|
|
<version>4.0.5</version>
|
2023-02-02 00:03:06 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2024-01-06 09:07:03 +01:00
|
|
|
<groupId>jakarta.ws.rs</groupId>
|
|
|
|
<artifactId>jakarta.ws.rs-api</artifactId>
|
2024-05-12 08:40:18 +02:00
|
|
|
<version>4.0.0</version>
|
2022-11-07 00:28:34 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-impl</artifactId>
|
|
|
|
<version>${jaxb.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.istack</groupId>
|
|
|
|
<artifactId>istack-commons-runtime</artifactId>
|
|
|
|
<version>${istack.version}</version>
|
|
|
|
</dependency>
|
2024-09-12 00:24:37 +02:00
|
|
|
<!-- continu to be needed ??? -->
|
2022-11-07 00:28:34 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.test-framework.providers</groupId>
|
|
|
|
<artifactId>jersey-test-framework-provider-grizzly2</artifactId>
|
2024-01-06 09:07:03 +01:00
|
|
|
<scope>test</scope>
|
2022-11-07 00:28:34 +01:00
|
|
|
</dependency>
|
2024-09-12 00:24:37 +02:00
|
|
|
<!-- Serialize and un-serialize request in JSON-->
|
2022-11-07 00:28:34 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
|
|
<artifactId>jersey-media-json-jackson</artifactId>
|
|
|
|
</dependency>
|
2023-02-02 00:03:06 +01:00
|
|
|
<dependency>
|
2024-01-06 09:07:03 +01:00
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
2024-05-12 08:40:18 +02:00
|
|
|
<version>2.17.1</version>
|
2024-02-03 18:46:30 +01:00
|
|
|
</dependency>
|
2024-09-12 00:24:37 +02:00
|
|
|
<!-- encode output in CSV -->
|
2024-02-03 18:46:30 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
|
|
<artifactId>jackson-dataformat-csv</artifactId>
|
2024-05-12 08:40:18 +02:00
|
|
|
<version>2.17.1</version>
|
2024-01-06 09:07:03 +01:00
|
|
|
</dependency>
|
2024-02-26 19:37:51 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
|
|
<artifactId>jackson-datatype-jsr310</artifactId>
|
2024-05-12 08:40:18 +02:00
|
|
|
<version>2.17.1</version>
|
2024-02-26 19:37:51 +01:00
|
|
|
</dependency>
|
2024-01-06 09:07:03 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>jakarta.servlet</groupId>
|
|
|
|
<artifactId>jakarta.servlet-api</artifactId>
|
2024-05-12 08:40:18 +02:00
|
|
|
<version>6.1.0-M2</version>
|
2024-01-06 09:07:03 +01:00
|
|
|
<scope>provided</scope>
|
2023-02-02 00:03:06 +01:00
|
|
|
</dependency>
|
2024-01-06 09:07:03 +01:00
|
|
|
<!-- Interface for My-sql & sqlite DB -->
|
2023-02-02 00:03:06 +01:00
|
|
|
<dependency>
|
2024-01-06 09:07:03 +01:00
|
|
|
<groupId>com.mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
2024-05-12 08:40:18 +02:00
|
|
|
<version>8.4.0</version>
|
2024-01-06 09:07:03 +01:00
|
|
|
</dependency>
|
2022-11-07 00:28:34 +01:00
|
|
|
<dependency>
|
2024-01-06 09:07:03 +01:00
|
|
|
<groupId>org.xerial</groupId>
|
|
|
|
<artifactId>sqlite-jdbc</artifactId>
|
2024-06-02 21:30:36 +02:00
|
|
|
<version>3.46.0.0</version>
|
2024-01-06 09:07:03 +01:00
|
|
|
</dependency>
|
|
|
|
<!-- Interface for JWT token -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.nimbusds</groupId>
|
|
|
|
<artifactId>nimbus-jose-jwt</artifactId>
|
2024-06-02 21:30:36 +02:00
|
|
|
<version>9.39.3</version>
|
2023-10-14 12:18:36 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>jakarta.persistence</groupId>
|
|
|
|
<artifactId>jakarta.persistence-api</artifactId>
|
2024-05-21 23:46:22 +02:00
|
|
|
<version>3.2.0</version>
|
2023-10-14 12:18:36 +02:00
|
|
|
</dependency>
|
2024-01-06 09:07:03 +01:00
|
|
|
<!-- Swagger dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.swagger.core.v3</groupId>
|
|
|
|
<artifactId>swagger-jaxrs2-jakarta</artifactId>
|
2024-05-21 23:46:22 +02:00
|
|
|
<version>2.2.22</version>
|
2024-01-06 09:07:03 +01:00
|
|
|
</dependency>
|
2024-06-02 21:23:03 +02:00
|
|
|
<!-- spotbug tooling -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.spotbugs</groupId>
|
|
|
|
<artifactId>spotbugs-annotations</artifactId>
|
2024-06-02 21:30:36 +02:00
|
|
|
<version>4.8.5</version>
|
2024-06-02 21:23:03 +02:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2023-10-25 23:53:55 +02:00
|
|
|
<!--
|
|
|
|
************************************************************
|
|
|
|
** TEST dependency **
|
|
|
|
************************************************************
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-api</artifactId>
|
2024-05-21 23:46:22 +02:00
|
|
|
<version>5.11.0-M2</version>
|
2023-10-25 23:53:55 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2024-01-06 09:07:03 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
2024-05-21 23:46:22 +02:00
|
|
|
<version>5.11.0-M2</version>
|
2024-06-01 19:49:36 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.revelc.code.formatter</groupId>
|
|
|
|
<artifactId>formatter-maven-plugin</artifactId>
|
2024-06-02 21:30:36 +02:00
|
|
|
<version>2.24.0</version>
|
2024-01-17 20:19:10 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2024-06-01 19:49:36 +02:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<version>3.3.1</version>
|
2024-01-06 09:07:03 +01:00
|
|
|
</dependency>
|
2024-06-01 19:49:36 +02:00
|
|
|
</dependencies>
|
2022-11-07 00:28:34 +01:00
|
|
|
<build>
|
|
|
|
<sourceDirectory>src</sourceDirectory>
|
2024-03-13 00:38:28 +01:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${basedir}/src/resources</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2022-11-07 00:28:34 +01:00
|
|
|
<testSourceDirectory>test/src</testSourceDirectory>
|
2023-10-25 23:53:55 +02:00
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>${basedir}/test/resources</directory>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
2022-11-07 00:28:34 +01:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven.compiler.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
<target>${maven.compiler.target}</target>
|
|
|
|
<!--<encoding>${project.build.sourceEncoding}</encoding>-->
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!-- Create the source bundle -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2024-01-04 23:51:04 +01:00
|
|
|
<version>3.3.0</version>
|
2022-11-07 00:28:34 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2024-01-04 23:51:04 +01:00
|
|
|
<!-- For dependabot plugin -->
|
|
|
|
<plugin>
|
2024-01-04 23:58:44 +01:00
|
|
|
<groupId>org.apache.servicemix.tooling</groupId>
|
|
|
|
<artifactId>depends-maven-plugin</artifactId>
|
|
|
|
<version>1.5.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate-depends-file</id>
|
|
|
|
<goals>
|
|
|
|
<goal>generate-depends-file</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-11-07 00:28:34 +01:00
|
|
|
<!-- junit results -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>3.0.0-M5</version>
|
|
|
|
</plugin>
|
2024-01-06 09:07:03 +01:00
|
|
|
<plugin>
|
2022-11-07 00:28:34 +01:00
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>fully.qualified.MainClass</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
<descriptorRefs>
|
|
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
|
</descriptorRefs>
|
|
|
|
</configuration>
|
2024-01-06 09:07:03 +01:00
|
|
|
</plugin>
|
2022-11-07 00:28:34 +01:00
|
|
|
<!-- Java-doc generation for stand-alone site -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>3.2.0</version>
|
|
|
|
<configuration>
|
|
|
|
<show>private</show>
|
|
|
|
<nohelp>true</nohelp>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2023-11-13 21:38:07 +01:00
|
|
|
<!-- Check the style of the code -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2024-06-01 19:49:36 +02:00
|
|
|
<version>3.3.1</version>
|
2023-11-13 21:38:07 +01:00
|
|
|
<configuration>
|
|
|
|
<configLocation>CheckStyle.xml</configLocation>
|
|
|
|
<consoleOutput>true</consoleOutput>
|
|
|
|
<failOnViolation>true</failOnViolation>
|
|
|
|
<failsOnError>true</failsOnError>
|
|
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>net.revelc.code.formatter</groupId>
|
|
|
|
<artifactId>formatter-maven-plugin</artifactId>
|
2024-06-01 19:49:36 +02:00
|
|
|
<version>2.23.0</version>
|
2023-11-13 21:38:07 +01:00
|
|
|
<configuration>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
<lineEnding>LF</lineEnding>
|
|
|
|
<configFile>Formatter.xml</configFile>
|
|
|
|
<directories>
|
|
|
|
<directory>src/</directory>
|
|
|
|
<directory>test/src</directory>
|
|
|
|
</directories>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.java</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>module-info.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>validate</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2024-06-01 19:49:36 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.spotbugs</groupId>
|
|
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
|
|
<version>4.8.5.0</version>
|
|
|
|
<configuration>
|
|
|
|
<includeFilterFile>spotbugs-security-include.xml</includeFilterFile>
|
|
|
|
<excludeFilterFile>spotbugs-security-exclude.xml</excludeFilterFile>
|
|
|
|
<!--<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.h3xstream.findsecbugs</groupId>
|
|
|
|
<artifactId>findsecbugs-plugin</artifactId>
|
|
|
|
<version>1.12.0</version>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
-->
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2022-11-07 00:28:34 +01:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<!-- Generate Java-docs As Part Of Project Reports -->
|
|
|
|
<reporting>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>3.2.0</version>
|
|
|
|
<configuration>
|
|
|
|
<show>public</show>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
2023-02-01 20:21:11 +01:00
|
|
|
</project>
|