2021-11-12 07:59:36 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-12-08 20:38:19 +01:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2023-09-02 22:52:28 +05:30
|
|
|
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 07:59:36 +01:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<groupId>com.thealgorithms</groupId>
|
|
|
|
|
<artifactId>Java</artifactId>
|
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
<packaging>jar</packaging>
|
2022-04-10 19:41:05 +05:30
|
|
|
|
2021-11-12 07:59:36 +01:00
|
|
|
<properties>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2024-05-19 20:57:07 +02:00
|
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>21</maven.compiler.target>
|
2026-01-27 00:46:45 +01:00
|
|
|
<assertj.version>3.27.7</assertj.version>
|
2021-11-12 07:59:36 +01:00
|
|
|
</properties>
|
2021-12-08 20:38:19 +01:00
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.junit</groupId>
|
|
|
|
|
<artifactId>junit-bom</artifactId>
|
2026-02-16 16:57:18 +01:00
|
|
|
<version>6.0.3</version>
|
2021-12-08 20:38:19 +01:00
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
|
<artifactId>junit-jupiter</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2022-04-10 19:41:05 +05:30
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
|
<version>${assertj.version}</version>
|
2023-08-13 09:29:26 +03:00
|
|
|
<scope>test</scope>
|
2022-04-10 19:41:05 +05:30
|
|
|
</dependency>
|
2024-10-14 12:27:55 +05:30
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
|
<artifactId>mockito-core</artifactId>
|
2026-03-11 23:12:37 +01:00
|
|
|
<version>5.23.0</version>
|
2024-10-14 12:27:55 +05:30
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2023-07-26 16:52:46 +03:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
2025-11-17 22:16:07 +01:00
|
|
|
<version>3.20.0</version>
|
2023-07-26 16:52:46 +03:00
|
|
|
</dependency>
|
2023-09-02 22:52:28 +05:30
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-collections4</artifactId>
|
2025-04-23 00:52:16 +03:00
|
|
|
<version>4.5.0</version>
|
2023-09-02 22:52:28 +05:30
|
|
|
</dependency>
|
2021-12-08 20:38:19 +01:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2026-02-23 22:55:11 +01:00
|
|
|
<version>3.5.5</version>
|
2024-04-06 17:06:30 +02:00
|
|
|
<configuration>
|
|
|
|
|
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
|
|
|
|
|
</configuration>
|
2021-12-08 20:38:19 +01:00
|
|
|
</plugin>
|
2022-04-03 18:41:43 +05:30
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2026-02-03 10:55:55 +01:00
|
|
|
<version>3.15.0</version>
|
2022-04-03 18:41:43 +05:30
|
|
|
<configuration>
|
2025-10-05 23:58:06 +05:30
|
|
|
<release>21</release>
|
2024-05-19 14:36:16 +02:00
|
|
|
<compilerArgs>
|
|
|
|
|
<arg>-Xlint:all</arg>
|
|
|
|
|
<arg>-Xlint:-auxiliaryclass</arg>
|
|
|
|
|
<arg>-Werror</arg>
|
|
|
|
|
</compilerArgs>
|
2022-04-03 18:41:43 +05:30
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2024-04-06 17:06:30 +02:00
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
2025-10-14 10:47:48 +02:00
|
|
|
<version>0.8.14</version>
|
2024-04-06 17:06:30 +02:00
|
|
|
<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 14:22:42 +02:00
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2024-10-26 19:17:48 +00:00
|
|
|
<version>3.6.0</version>
|
2024-04-24 14:22:42 +02: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>
|
2026-03-29 23:37:03 +02:00
|
|
|
<version>13.4.0</version>
|
2024-04-24 14:22:42 +02:00
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</plugin>
|
2024-04-28 10:31:11 +02:00
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.github.spotbugs</groupId>
|
|
|
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
2026-03-29 21:40:59 +00:00
|
|
|
<version>4.9.8.3</version>
|
2024-04-28 10:31:11 +02:00
|
|
|
<configuration>
|
|
|
|
|
<excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
|
|
|
|
|
<includeTests>true</includeTests>
|
2024-05-04 17:57:59 +02:00
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.mebigfatguy.fb-contrib</groupId>
|
|
|
|
|
<artifactId>fb-contrib</artifactId>
|
2026-01-20 12:38:12 +00:00
|
|
|
<version>7.7.4</version>
|
2024-05-04 17:57:59 +02:00
|
|
|
</plugin>
|
2024-05-07 20:29:11 +02:00
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.h3xstream.findsecbugs</groupId>
|
|
|
|
|
<artifactId>findsecbugs-plugin</artifactId>
|
2025-04-22 00:28:23 +03:00
|
|
|
<version>1.14.0</version>
|
2024-05-07 20:29:11 +02:00
|
|
|
</plugin>
|
2024-05-04 17:57:59 +02:00
|
|
|
</plugins>
|
2024-04-28 10:31:11 +02:00
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2024-05-11 14:31:11 +02:00
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
2025-10-11 00:47:53 +03:00
|
|
|
<version>3.28.0</version>
|
2024-05-11 14:31:11 +02:00
|
|
|
<configuration>
|
2025-06-11 15:52:58 +02:00
|
|
|
<rulesets>
|
|
|
|
|
<ruleset>/rulesets/java/maven-pmd-plugin-default.xml</ruleset>
|
2025-06-14 18:42:45 +02:00
|
|
|
<ruleset>/category/java/security.xml</ruleset>
|
2025-06-11 15:52:58 +02:00
|
|
|
<ruleset>file://${basedir}/pmd-custom_ruleset.xml</ruleset>
|
|
|
|
|
</rulesets>
|
2024-05-11 14:31:11 +02:00
|
|
|
<printFailingErrors>true</printFailingErrors>
|
|
|
|
|
<includeTests>true</includeTests>
|
|
|
|
|
<linkXRef>false</linkXRef>
|
|
|
|
|
<excludeFromFailureFile>pmd-exclude.properties</excludeFromFailureFile>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2021-12-08 20:38:19 +01:00
|
|
|
</plugins>
|
|
|
|
|
</build>
|
2025-11-05 23:11:08 +05:30
|
|
|
</project>
|