Skip to content

Commit 9c1f40f

Browse files
authored
Update pom.xml
1 parent 2f1a6ff commit 9c1f40f

File tree

1 file changed

+145
-87
lines changed

1 file changed

+145
-87
lines changed

pom.xml

+145-87
Original file line numberDiff line numberDiff line change
@@ -1,88 +1,146 @@
11
<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">
4-
<modelVersion>4.0.0</modelVersion>
5-
<groupId>com.thealgorithms</groupId>
6-
<artifactId>Java</artifactId>
7-
<version>1.0-SNAPSHOT</version>
8-
<dependencies>
9-
<dependency>
10-
<groupId>org.junit.jupiter</groupId>
11-
<artifactId>junit-jupiter-api</artifactId>
12-
<version>5.11.2</version>
13-
<scope>test</scope>
14-
</dependency>
15-
<dependency>
16-
<groupId>org.junit.jupiter</groupId>
17-
<artifactId>junit-jupiter-engine</artifactId>
18-
<version>5.11.2</version>
19-
<scope>test</scope>
20-
</dependency>
21-
<dependency>
22-
<groupId>org.apache.commons</groupId>
23-
<artifactId>commons-lang3</artifactId>
24-
<version>3.12.0</version>
25-
</dependency>
26-
<dependency>
27-
<groupId>org.assertj</groupId>
28-
<artifactId>assertj-core</artifactId>
29-
<version>3.21.0</version>
30-
<scope>test</scope>
31-
</dependency>
32-
</dependencies>
33-
<build>
34-
<plugins>
35-
<plugin>
36-
<groupId>org.apache.maven.plugins</groupId>
37-
<artifactId>maven-compiler-plugin</artifactId>
38-
<version>3.10.1</version>
39-
<configuration>
40-
<source>21</source>
41-
<target>21</target>
42-
<compilerArgs>
43-
<arg>-Xlint:unchecked</arg>
44-
</compilerArgs>
45-
</configuration>
46-
</plugin>
47-
<plugin>
48-
<groupId>org.apache.maven.plugins</groupId>
49-
<artifactId>maven-surefire-plugin</artifactId>
50-
<version>3.5.1</version>
51-
<configuration>
52-
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
53-
</configuration>
54-
</plugin>
55-
<plugin>
56-
<groupId>org.jacoco</groupId>
57-
<artifactId>jacoco-maven-plugin</artifactId>
58-
<version>0.8.8</version>
59-
<executions>
60-
<execution>
61-
<goals>
62-
<goal>prepare-agent</goal>
63-
</goals>
64-
</execution>
65-
<execution>
66-
<id>report</id>
67-
<phase>test</phase>
68-
<goals>
69-
<goal>report</goal>
70-
</goals>
71-
</execution>
72-
</executions>
73-
</plugin>
74-
<plugin>
75-
<groupId>org.apache.maven.plugins</groupId>
76-
<artifactId>maven-checkstyle-plugin</artifactId>
77-
<version>3.1.2</version>
78-
<dependencies>
79-
<dependency>
80-
<groupId>com.puppycrawl.tools</groupId>
81-
<artifactId>checkstyle</artifactId>
82-
<version>10.18.2</version>
83-
</dependency>
84-
</dependencies>
85-
</plugin>
86-
</plugins>
87-
</build>
88-
</project>
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">
4+
<modelVersion>4.0.0</modelVersion>
5+
<packaging>jar</packaging>
6+
7+
<properties>
8+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
9+
<maven.compiler.source>21</maven.compiler.source>
10+
<maven.compiler.target>21</maven.compiler.target>
11+
<assertj.version>3.26.3</assertj.version>
12+
</properties>
13+
14+
<dependencyManagement>
15+
<dependencies>
16+
<dependency>
17+
<groupId>org.junit</groupId>
18+
<artifactId>junit-bom</artifactId>
19+
<version>5.11.2</version>
20+
<type>pom</type>
21+
<scope>import</scope>
22+
</dependency>
23+
</dependencies>
24+
</dependencyManagement>
25+
26+
<dependencies>
27+
<dependency>
28+
<groupId>org.junit.jupiter</groupId>
29+
<artifactId>junit-jupiter-api</artifactId>
30+
<version>5.11.2</version>
31+
<scope>test</scope>
32+
</dependency>
33+
<dependency>
34+
<groupId>org.junit.jupiter</groupId>
35+
<artifactId>junit-jupiter-engine</artifactId>
36+
<version>5.11.2</version>
37+
<scope>test</scope>
38+
</dependency>
39+
<dependency>
40+
<groupId>org.apache.commons</groupId>
41+
<artifactId>commons-lang3</artifactId>
42+
<version>3.12.0</version>
43+
</dependency>
44+
<dependency>
45+
<groupId>org.assertj</groupId>
46+
<artifactId>assertj-core</artifactId>
47+
<version>${assertj.version}</version>
48+
<scope>test</scope>
49+
</dependency>
50+
<dependency>
51+
<groupId>org.apache.commons</groupId>
52+
<artifactId>commons-collections4</artifactId>
53+
<version>4.4</version>
54+
</dependency>
55+
</dependencies>
56+
57+
<build>
58+
<plugins>
59+
<plugin>
60+
<groupId>org.apache.maven.plugins</groupId>
61+
<artifactId>maven-compiler-plugin</artifactId>
62+
<version>3.10.1</version>
63+
<configuration>
64+
<source>21</source>
65+
<target>21</target>
66+
<compilerArgs>
67+
<arg>-Xlint:unchecked</arg>
68+
</compilerArgs>
69+
</configuration>
70+
</plugin>
71+
<plugin>
72+
<groupId>org.apache.maven.plugins</groupId>
73+
<artifactId>maven-surefire-plugin</artifactId>
74+
<version>3.5.1</version>
75+
<configuration>
76+
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
77+
</configuration>
78+
</plugin>
79+
<plugin>
80+
<groupId>org.jacoco</groupId>
81+
<artifactId>jacoco-maven-plugin</artifactId>
82+
<version>0.8.8</version>
83+
<executions>
84+
<execution>
85+
<goals>
86+
<goal>prepare-agent</goal>
87+
</goals>
88+
</execution>
89+
<execution>
90+
<id>report</id>
91+
<phase>test</phase>
92+
<goals>
93+
<goal>report</goal>
94+
</goals>
95+
</execution>
96+
</executions>
97+
</plugin>
98+
<plugin>
99+
<groupId>org.apache.maven.plugins</groupId>
100+
<artifactId>maven-checkstyle-plugin</artifactId>
101+
<version>3.1.2</version>
102+
<configuration>
103+
<configLocation>checkstyle.xml</configLocation>
104+
<consoleOutput>true</consoleOutput>
105+
<includeTestSourceDirectory>true</includeTestSourceDirectory>
106+
<violationSeverity>warning</violationSeverity>
107+
</configuration>
108+
<dependencies>
109+
<dependency>
110+
<groupId>com.puppycrawl.tools</groupId>
111+
<artifactId>checkstyle</artifactId>
112+
<version>10.18.2</version>
113+
</dependency>
114+
</dependencies>
115+
</plugin>
116+
<plugin>
117+
<groupId>com.github.spotbugs</groupId>
118+
<artifactId>spotbugs-maven-plugin</artifactId>
119+
<version>4.8.6.4</version>
120+
<configuration>
121+
<excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
122+
<includeTests>true</includeTests>
123+
<plugins>
124+
<plugin>
125+
<groupId>com.mebigfatguy.fb-contrib</groupId>
126+
<artifactId>fb-contrib</artifactId>
127+
<version>7.6.5</version>
128+
</plugin>
129+
<plugin>
130+
<groupId>com.h3xstream.findsecbugs</groupId>
131+
<artifactId>findsecbugs-plugin</artifactId>
132+
<version>1.13.0</version>
133+
</plugin>
134+
</plugins>
135+
</configuration>
136+
</plugin>
137+
<plugin>
138+
<groupId>org.apache.maven.plugins</groupId>
139+
<artifactId>maven-pmd-plugin</artifactId>
140+
<version>3.25.0</version>
141+
<configuration>
142+
<printFailingErrors>true</printFailingErrors>
143+
<includeTests>true</includeTests>
144+
<linkXRef>false</linkXRef>
145+
<excludeFromFailureFile>pmd-exclude.properties</excludeFromFailureFile>
146+
</configuration>

0 commit comments

Comments
 (0)