2021-11-12 14:59:36 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-12-09 03:38:19 +08:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2023-09-03 01:22:28 +08:00
|
|
|
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">
|
2021-11-12 14:59:36 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.thealgorithms</groupId>
|
|
|
|
<artifactId>Java</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<packaging>jar</packaging>
|
2022-04-10 22:11:05 +08:00
|
|
|
|
2021-11-12 14:59:36 +08:00
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2024-05-20 02:57:07 +08:00
|
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
|
|
<maven.compiler.target>21</maven.compiler.target>
|
2024-07-10 15:00:01 +08:00
|
|
|
<assertj.version>3.26.3</assertj.version>
|
2021-11-12 14:59:36 +08:00
|
|
|
</properties>
|
2021-12-09 03:38:19 +08:00
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit</groupId>
|
|
|
|
<artifactId>junit-bom</artifactId>
|
2024-08-15 14:23:37 +08:00
|
|
|
<version>5.11.0</version>
|
2021-12-09 03:38:19 +08:00
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter</artifactId>
|
2024-08-15 14:30:46 +08:00
|
|
|
<version>5.11.0</version>
|
2021-12-09 03:38:19 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2022-04-10 22:11:05 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<version>${assertj.version}</version>
|
2023-08-13 14:29:26 +08:00
|
|
|
<scope>test</scope>
|
2022-04-10 22:11:05 +08:00
|
|
|
</dependency>
|
2023-08-13 14:29:26 +08:00
|
|
|
|
2022-09-08 15:05:06 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-api</artifactId>
|
2024-08-15 06:20:47 +08:00
|
|
|
<version>5.11.0</version>
|
2022-10-10 02:04:02 +08:00
|
|
|
<scope>test</scope>
|
2022-09-08 15:05:06 +08:00
|
|
|
</dependency>
|
2023-07-26 21:52:46 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
2024-08-08 13:38:58 +08:00
|
|
|
<version>3.16.0</version>
|
2023-07-26 21:52:46 +08:00
|
|
|
</dependency>
|
2023-09-03 01:22:28 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-collections4</artifactId>
|
2024-06-19 13:18:53 +08:00
|
|
|
<version>4.5.0-M2</version>
|
2023-09-03 01:22:28 +08:00
|
|
|
</dependency>
|
2021-12-09 03:38:19 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2024-08-20 06:19:40 +08:00
|
|
|
<version>3.4.0</version>
|
2024-04-06 23:06:30 +08:00
|
|
|
<configuration>
|
|
|
|
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
|
|
|
|
</configuration>
|
2021-12-09 03:38:19 +08:00
|
|
|
</plugin>
|
2022-04-03 21:11:43 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2024-05-01 22:51:39 +08:00
|
|
|
<version>3.13.0</version>
|
2022-04-03 21:11:43 +08:00
|
|
|
<configuration>
|
2024-05-20 02:57:07 +08:00
|
|
|
<source>21</source>
|
|
|
|
<target>21</target>
|
2024-05-19 20:36:16 +08:00
|
|
|
<compilerArgs>
|
|
|
|
<arg>-Xlint:all</arg>
|
|
|
|
<arg>-Xlint:-auxiliaryclass</arg>
|
|
|
|
<arg>-Xlint:-rawtypes</arg>
|
|
|
|
<arg>-Xlint:-unchecked</arg>
|
2024-05-20 02:57:07 +08:00
|
|
|
<arg>-Xlint:-lossy-conversions</arg>
|
2024-05-19 20:36:16 +08:00
|
|
|
<arg>-Werror</arg>
|
|
|
|
</compilerArgs>
|
2022-04-03 21:11:43 +08:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2024-04-06 23:06:30 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
<version>0.8.12</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>generate-code-coverage-report</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>report</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2024-04-24 20:22:42 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2024-08-23 06:42:44 +08:00
|
|
|
<version>3.5.0</version>
|
2024-04-24 20:22:42 +08:00
|
|
|
<configuration>
|
|
|
|
<configLocation>checkstyle.xml</configLocation>
|
|
|
|
<consoleOutput>true</consoleOutput>
|
|
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
|
|
<violationSeverity>warning</violationSeverity>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
|
|
<artifactId>checkstyle</artifactId>
|
2024-08-27 06:01:27 +08:00
|
|
|
<version>10.18.0</version>
|
2024-04-24 20:22:42 +08:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2024-04-28 16:31:11 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.spotbugs</groupId>
|
|
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
2024-07-09 15:01:00 +08:00
|
|
|
<version>4.8.6.2</version>
|
2024-04-28 16:31:11 +08:00
|
|
|
<configuration>
|
|
|
|
<excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
|
|
|
|
<includeTests>true</includeTests>
|
2024-05-04 23:57:59 +08:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.mebigfatguy.fb-contrib</groupId>
|
|
|
|
<artifactId>fb-contrib</artifactId>
|
|
|
|
<version>7.6.4</version>
|
|
|
|
</plugin>
|
2024-05-08 02:29:11 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.h3xstream.findsecbugs</groupId>
|
|
|
|
<artifactId>findsecbugs-plugin</artifactId>
|
|
|
|
<version>1.13.0</version>
|
|
|
|
</plugin>
|
2024-05-04 23:57:59 +08:00
|
|
|
</plugins>
|
2024-04-28 16:31:11 +08:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2024-05-11 20:31:11 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
2024-07-16 16:57:28 +08:00
|
|
|
<version>3.24.0</version>
|
2024-05-11 20:31:11 +08:00
|
|
|
<configuration>
|
|
|
|
<printFailingErrors>true</printFailingErrors>
|
|
|
|
<includeTests>true</includeTests>
|
|
|
|
<linkXRef>false</linkXRef>
|
|
|
|
<excludeFromFailureFile>pmd-exclude.properties</excludeFromFailureFile>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2021-12-09 03:38:19 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2024-04-06 23:06:30 +08:00
|
|
|
</project>
|