|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
1 | 2 | <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"> |
4 | 5 | <modelVersion>4.0.0</modelVersion>
|
5 | 6 | <groupId>com.thealgorithms</groupId>
|
6 | 7 | <artifactId>Java</artifactId>
|
|
29 | 30 | <dependencies>
|
30 | 31 | <dependency>
|
31 | 32 | <groupId>org.junit.jupiter</groupId>
|
32 |
| - <artifactId>junit-jupiter-api</artifactId> |
| 33 | + <artifactId>junit-jupiter</artifactId> |
33 | 34 | <version>5.11.2</version>
|
34 | 35 | <scope>test</scope>
|
35 | 36 | </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 | + |
36 | 44 | <dependency>
|
37 | 45 | <groupId>org.junit.jupiter</groupId>
|
38 |
| - <artifactId>junit-jupiter-engine</artifactId> |
| 46 | + <artifactId>junit-jupiter-api</artifactId> |
39 | 47 | <version>5.11.2</version>
|
40 | 48 | <scope>test</scope>
|
41 | 49 | </dependency>
|
42 | 50 | <dependency>
|
43 | 51 | <groupId>org.apache.commons</groupId>
|
44 | 52 | <artifactId>commons-lang3</artifactId>
|
45 |
| - <version>3.12.0</version> |
| 53 | + <version>3.17.0</version> |
46 | 54 | </dependency>
|
47 | 55 | <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> |
52 | 59 | </dependency>
|
53 | 60 | </dependencies>
|
54 | 61 |
|
55 | 62 | <build>
|
56 | 63 | <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> |
57 | 71 | <plugin>
|
58 | 72 | <groupId>org.apache.maven.plugins</groupId>
|
59 | 73 | <artifactId>maven-compiler-plugin</artifactId>
|
60 |
| - <version>3.10.1</version> |
| 74 | + <version>3.13.0</version> |
61 | 75 | <configuration>
|
62 | 76 | <source>21</source>
|
63 | 77 | <target>21</target>
|
64 | 78 | <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> |
66 | 85 | </compilerArgs>
|
67 | 86 | </configuration>
|
68 | 87 | </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> |
77 | 88 | <plugin>
|
78 | 89 | <groupId>org.jacoco</groupId>
|
79 | 90 | <artifactId>jacoco-maven-plugin</artifactId>
|
80 |
| - <version>0.8.8</version> |
| 91 | + <version>0.8.12</version> |
81 | 92 | <executions>
|
82 | 93 | <execution>
|
83 | 94 | <goals>
|
84 | 95 | <goal>prepare-agent</goal>
|
85 | 96 | </goals>
|
86 | 97 | </execution>
|
87 | 98 | <execution>
|
88 |
| - <id>report</id> |
| 99 | + <id>generate-code-coverage-report</id> |
89 | 100 | <phase>test</phase>
|
90 | 101 | <goals>
|
91 | 102 | <goal>report</goal>
|
|
96 | 107 | <plugin>
|
97 | 108 | <groupId>org.apache.maven.plugins</groupId>
|
98 | 109 | <artifactId>maven-checkstyle-plugin</artifactId>
|
99 |
| - <version>3.1.2</version> |
| 110 | + <version>3.5.0</version> |
100 | 111 | <configuration>
|
101 | 112 | <configLocation>checkstyle.xml</configLocation>
|
102 | 113 | <consoleOutput>true</consoleOutput>
|
|
105 | 116 | </configuration>
|
106 | 117 | <dependencies>
|
107 | 118 | <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> |
111 | 122 | </dependency>
|
112 | 123 | </dependencies>
|
113 | 124 | </plugin>
|
|
0 commit comments