2023-04-30 23:54:47 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2020-10-02 21:57:48 +02: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-04-30 23:54:47 +02:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>org.kar</groupId>
|
|
|
|
<artifactId>karso</artifactId>
|
2023-11-27 22:29:16 +01:00
|
|
|
<version>0.5.0</version>
|
2023-04-30 23:54:47 +02:00
|
|
|
<properties>
|
2020-10-02 21:57:48 +02:00
|
|
|
<maven.compiler.version>3.1</maven.compiler.version>
|
2024-02-25 19:05:06 +01:00
|
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
|
|
<maven.compiler.target>21</maven.compiler.target>
|
2020-10-02 21:57:48 +02:00
|
|
|
<maven.dependency.version>3.1.1</maven.dependency.version>
|
|
|
|
</properties>
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>gitea</id>
|
|
|
|
<url>https://gitea.atria-soft.org/api/packages/kangaroo-and-rabbit/maven</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>kangaroo-and-rabbit</groupId>
|
|
|
|
<artifactId>archidata</artifactId>
|
2024-05-09 00:13:35 +02:00
|
|
|
<version>0.8.6</version>
|
2020-10-02 21:57:48 +02:00
|
|
|
</dependency>
|
2023-04-30 23:54:47 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
2023-11-27 22:29:16 +01:00
|
|
|
<version>2.0.9</version>
|
2023-04-30 23:54:47 +02:00
|
|
|
</dependency>
|
2024-05-09 00:13:35 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
|
|
<artifactId>jackson-datatype-jsr310</artifactId>
|
|
|
|
<version>2.16.1</version>
|
|
|
|
</dependency>
|
2023-10-25 23:54:40 +02:00
|
|
|
<!--
|
|
|
|
************************************************************
|
|
|
|
** TEST dependency **
|
|
|
|
************************************************************
|
|
|
|
-->
|
2023-04-30 23:54:47 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-api</artifactId>
|
2023-11-27 22:29:16 +01:00
|
|
|
<version>5.10.1</version>
|
2023-04-30 23:54:47 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2024-05-09 00:13:35 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
2023-11-27 22:29:16 +01:00
|
|
|
<version>5.10.1</version>
|
2024-05-09 00:13:35 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-10-02 21:57:48 +02:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<sourceDirectory>src</sourceDirectory>
|
|
|
|
<testSourceDirectory>test/src</testSourceDirectory>
|
2023-04-30 23:54:47 +02:00
|
|
|
<directory>${project.basedir}/out/maven/</directory>
|
2023-05-28 22:18:09 +02:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/resources</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2023-10-25 23:54:40 +02:00
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>${basedir}/test/resources</directory>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
2020-10-02 21:57:48 +02: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>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2023-04-30 23:54:47 +02:00
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<version>1.4.0</version>
|
|
|
|
<configuration>
|
|
|
|
<mainClass>org.kar.karso.WebLauncher</mainClass>
|
|
|
|
</configuration>
|
2020-10-02 21:57:48 +02:00
|
|
|
</plugin>
|
|
|
|
<!-- Create the source bundle -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<version>3.2.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!-- junit results -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>3.0.0-M5</version>
|
|
|
|
</plugin>
|
2023-04-30 23:54:47 +02:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>fully.qualified.MainClass</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
<descriptorRefs>
|
|
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
|
</descriptorRefs>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2020-10-02 21:57:48 +02:00
|
|
|
<!-- Create coverage -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
2023-04-30 23:54:47 +02:00
|
|
|
<version>0.8.10</version>
|
2020-10-02 21:57:48 +02:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2023-04-30 23:54:47 +02:00
|
|
|
<id>prepare-agent</id>
|
2020-10-02 21:57:48 +02:00
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>report</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>report</goal>
|
2023-11-11 10:49:15 +01:00
|
|
|
</goals>
|
2023-04-30 23:54:47 +02:00
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>jacoco-check</id>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
2020-10-02 21:57:48 +02:00
|
|
|
</goals>
|
2023-04-30 23:54:47 +02:00
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<rule>
|
|
|
|
<element>PACKAGE</element>
|
|
|
|
<limits>
|
|
|
|
<limit>
|
|
|
|
<counter>LINE</counter>
|
|
|
|
<value>COVEREDRATIO</value>
|
|
|
|
<minimum>0.50</minimum>
|
|
|
|
</limit>
|
|
|
|
</limits>
|
|
|
|
</rule>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
2020-10-02 21:57:48 +02:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!-- 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-11 10:49:15 +01:00
|
|
|
<!-- Check the style of the code -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2024-05-09 00:17:50 +02:00
|
|
|
<version>3.3.1</version>
|
2023-11-11 10:49:15 +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-05-09 00:17:50 +02:00
|
|
|
<version>2.23.0</version>
|
2023-11-11 10:49:15 +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-05-09 00:17:50 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>exec-application</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>java</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<mainClass>org.kar.karso.WebLauncher</mainClass>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2020-10-02 21:57:48 +02: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-11-11 10:49:15 +01:00
|
|
|
</project>
|