Skip to content

Commit ae3b9d1

Browse files
authored
Update pom.xml
1 parent bed6b83 commit ae3b9d1

File tree

1 file changed

+9
-40
lines changed

1 file changed

+9
-40
lines changed

pom.xml

Lines changed: 9 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
56
<modelVersion>4.0.0</modelVersion>
67
<groupId>com.thealgorithms</groupId>
78
<artifactId>Java</artifactId>
@@ -12,15 +13,18 @@
1213
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1314
<maven.compiler.source>21</maven.compiler.source>
1415
<maven.compiler.target>21</maven.compiler.target>
15-
<assertj.version>3.26.3</assertj.version>
16+
<assertj.version>3.26.3</assertj.version> <!-- Update version if necessary -->
17+
<junit.version>5.11.2</junit.version>
18+
<commons-lang3.version>3.17.0</commons-lang3.version>
19+
<commons-collections4.version>4.5.0-M2</commons-collections4.version>
1620
</properties>
1721

1822
<dependencyManagement>
1923
<dependencies>
2024
<dependency>
2125
<groupId>org.junit</groupId>
2226
<artifactId>junit-bom</artifactId>
23-
<version>5.11.2</version>
27+
<version>${junit.version}</version>
2428
<type>pom</type>
2529
<scope>import</scope>
2630
</dependency>
@@ -31,7 +35,7 @@
3135
<dependency>
3236
<groupId>org.junit.jupiter</groupId>
3337
<artifactId>junit-jupiter</artifactId>
34-
<version>5.11.2</version>
38+
<version>${junit.version}</version>
3539
<scope>test</scope>
3640
</dependency>
3741
<dependency>
@@ -40,22 +44,15 @@
4044
<version>${assertj.version}</version>
4145
<scope>test</scope>
4246
</dependency>
43-
44-
<dependency>
45-
<groupId>org.junit.jupiter</groupId>
46-
<artifactId>junit-jupiter-api</artifactId>
47-
<version>5.11.2</version>
48-
<scope>test</scope>
49-
</dependency>
5047
<dependency>
5148
<groupId>org.apache.commons</groupId>
5249
<artifactId>commons-lang3</artifactId>
53-
<version>3.17.0</version>
50+
<version>${commons-lang3.version}</version>
5451
</dependency>
5552
<dependency>
5653
<groupId>org.apache.commons</groupId>
5754
<artifactId>commons-collections4</artifactId>
58-
<version>4.5.0-M2</version>
55+
<version>${commons-collections4.version}</version>
5956
</dependency>
6057
</dependencies>
6158

@@ -64,9 +61,6 @@
6461
<plugin>
6562
<artifactId>maven-surefire-plugin</artifactId>
6663
<version>3.5.1</version>
67-
<configuration>
68-
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
69-
</configuration>
7064
</plugin>
7165
<plugin>
7266
<groupId>org.apache.maven.plugins</groupId>
@@ -77,10 +71,6 @@
7771
<target>21</target>
7872
<compilerArgs>
7973
<arg>-Xlint:all</arg>
80-
<arg>-Xlint:-auxiliaryclass</arg>
81-
<arg>-Xlint:-rawtypes</arg>
82-
<arg>-Xlint:-unchecked</arg>
83-
<arg>-Xlint:-lossy-conversions</arg>
8474
<arg>-Werror</arg>
8575
</compilerArgs>
8676
</configuration>
@@ -114,13 +104,6 @@
114104
<includeTestSourceDirectory>true</includeTestSourceDirectory>
115105
<violationSeverity>warning</violationSeverity>
116106
</configuration>
117-
<dependencies>
118-
<dependency>
119-
<groupId>com.puppycrawl.tools</groupId>
120-
<artifactId>checkstyle</artifactId>
121-
<version>10.18.2</version>
122-
</dependency>
123-
</dependencies>
124107
</plugin>
125108
<plugin>
126109
<groupId>com.github.spotbugs</groupId>
@@ -129,18 +112,6 @@
129112
<configuration>
130113
<excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
131114
<includeTests>true</includeTests>
132-
<plugins>
133-
<plugin>
134-
<groupId>com.mebigfatguy.fb-contrib</groupId>
135-
<artifactId>fb-contrib</artifactId>
136-
<version>7.6.5</version>
137-
</plugin>
138-
<plugin>
139-
<groupId>com.h3xstream.findsecbugs</groupId>
140-
<artifactId>findsecbugs-plugin</artifactId>
141-
<version>1.13.0</version>
142-
</plugin>
143-
</plugins>
144115
</configuration>
145116
</plugin>
146117
<plugin>
@@ -150,8 +121,6 @@
150121
<configuration>
151122
<printFailingErrors>true</printFailingErrors>
152123
<includeTests>true</includeTests>
153-
<linkXRef>false</linkXRef>
154-
<excludeFromFailureFile>pmd-exclude.properties</excludeFromFailureFile>
155124
</configuration>
156125
</plugin>
157126
</plugins>

0 commit comments

Comments
 (0)