Skip to content

Commit c0ad91f

Browse files
authored
Update pom.xml
1 parent daf86c2 commit c0ad91f

File tree

1 file changed

+36
-25
lines changed

1 file changed

+36
-25
lines changed

pom.xml

Lines changed: 36 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
12
<project xmlns="http://maven.apache.org/POM/4.0.0"
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
45
<modelVersion>4.0.0</modelVersion>
56
<groupId>com.thealgorithms</groupId>
67
<artifactId>Java</artifactId>
@@ -29,63 +30,73 @@
2930
<dependencies>
3031
<dependency>
3132
<groupId>org.junit.jupiter</groupId>
32-
<artifactId>junit-jupiter-api</artifactId>
33+
<artifactId>junit-jupiter</artifactId>
3334
<version>5.11.2</version>
3435
<scope>test</scope>
3536
</dependency>
37+
<dependency>
38+
<groupId>org.assertj</groupId>
39+
<artifactId>assertj-core</artifactId>
40+
<version>${assertj.version}</version>
41+
<scope>test</scope>
42+
</dependency>
43+
3644
<dependency>
3745
<groupId>org.junit.jupiter</groupId>
38-
<artifactId>junit-jupiter-engine</artifactId>
46+
<artifactId>junit-jupiter-api</artifactId>
3947
<version>5.11.2</version>
4048
<scope>test</scope>
4149
</dependency>
4250
<dependency>
4351
<groupId>org.apache.commons</groupId>
4452
<artifactId>commons-lang3</artifactId>
45-
<version>3.12.0</version>
53+
<version>3.17.0</version>
4654
</dependency>
4755
<dependency>
48-
<groupId>org.assertj</groupId>
49-
<artifactId>assertj-core</artifactId>
50-
<version>${assertj.version}</version>
51-
<scope>test</scope>
56+
<groupId>org.apache.commons</groupId>
57+
<artifactId>commons-collections4</artifactId>
58+
<version>4.5.0-M2</version>
5259
</dependency>
5360
</dependencies>
5461

5562
<build>
5663
<plugins>
64+
<plugin>
65+
<artifactId>maven-surefire-plugin</artifactId>
66+
<version>3.5.1</version>
67+
<configuration>
68+
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
69+
</configuration>
70+
</plugin>
5771
<plugin>
5872
<groupId>org.apache.maven.plugins</groupId>
5973
<artifactId>maven-compiler-plugin</artifactId>
60-
<version>3.10.1</version>
74+
<version>3.13.0</version>
6175
<configuration>
6276
<source>21</source>
6377
<target>21</target>
6478
<compilerArgs>
65-
<arg>-Xlint:unchecked</arg>
79+
<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>
84+
<arg>-Werror</arg>
6685
</compilerArgs>
6786
</configuration>
6887
</plugin>
69-
<plugin>
70-
<groupId>org.apache.maven.plugins</groupId>
71-
<artifactId>maven-surefire-plugin</artifactId>
72-
<version>3.5.1</version>
73-
<configuration>
74-
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
75-
</configuration>
76-
</plugin>
7788
<plugin>
7889
<groupId>org.jacoco</groupId>
7990
<artifactId>jacoco-maven-plugin</artifactId>
80-
<version>0.8.8</version>
91+
<version>0.8.12</version>
8192
<executions>
8293
<execution>
8394
<goals>
8495
<goal>prepare-agent</goal>
8596
</goals>
8697
</execution>
8798
<execution>
88-
<id>report</id>
99+
<id>generate-code-coverage-report</id>
89100
<phase>test</phase>
90101
<goals>
91102
<goal>report</goal>
@@ -96,7 +107,7 @@
96107
<plugin>
97108
<groupId>org.apache.maven.plugins</groupId>
98109
<artifactId>maven-checkstyle-plugin</artifactId>
99-
<version>3.1.2</version>
110+
<version>3.5.0</version>
100111
<configuration>
101112
<configLocation>checkstyle.xml</configLocation>
102113
<consoleOutput>true</consoleOutput>
@@ -105,9 +116,9 @@
105116
</configuration>
106117
<dependencies>
107118
<dependency>
108-
<groupId>com.puppycrawl.tools</groupId>
109-
<artifactId>checkstyle</artifactId>
110-
<version>10.18.2</version>
119+
<groupId>com.puppycrawl.tools</groupId>
120+
<artifactId>checkstyle</artifactId>
121+
<version>10.18.2</version>
111122
</dependency>
112123
</dependencies>
113124
</plugin>

0 commit comments

Comments
 (0)