Skip to content

Commit 2821352

Browse files
committed
fix: Align JUnit 5 dependencies and update Maven Surefire Plugin for
compatibility - Unified JUnit 5 dependencies to version 5.11.3 - Updated maven-surefire-plugin to version 3.0.0-M5 for JUnit 5 support - Removed redundant `junit-platform-runner` - Ensured consistent versions across testing dependencies - Prepared build system for smooth testing with JUnit 5
1 parent c1582a6 commit 2821352

File tree

1 file changed

+25
-30
lines changed

1 file changed

+25
-30
lines changed

pom.xml

Lines changed: 25 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,89 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0"
22
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
45
<modelVersion>4.0.0</modelVersion>
56
<groupId>MeshLibCore</groupId>
67
<artifactId>MeshLibCore</artifactId>
78
<version>0.0.1-SNAPSHOT</version>
9+
10+
<!-- Build Configuration -->
811
<build>
912
<sourceDirectory>src/main/java</sourceDirectory>
1013
<testSourceDirectory>src/test/java</testSourceDirectory>
1114
<plugins>
1215
<plugin>
1316
<artifactId>maven-compiler-plugin</artifactId>
14-
<version>3.8.1</version>
17+
<version>3.13.0</version>
1518
<configuration>
1619
<release>15</release>
1720
</configuration>
1821
</plugin>
1922
<plugin>
2023
<groupId>org.apache.maven.plugins</groupId>
2124
<artifactId>maven-surefire-plugin</artifactId>
22-
<version>2.22.2</version>
25+
<version>3.0.0-M5</version> <!-- Updated to latest version
26+
compatible with JUnit 5 -->
2327
<configuration>
28+
<useModulePath>false</useModulePath>
2429
</configuration>
2530
</plugin>
2631
</plugins>
2732
</build>
33+
34+
<!-- Repository Configuration -->
2835
<repositories>
2936
<repository>
3037
<name>JoGL Distrib</name>
3138
<id>org.jogamp</id>
3239
<url>https://www.jogamp.org/deployment/maven/</url>
3340
</repository>
3441
</repositories>
35-
<distributionManagement>
36-
<repository>
37-
<id>github</id>
38-
<name>GitHub ArtifactForms Apache Maven Packages</name>
39-
<url>https://maven.pkg.github.com/ArtifactForms/MeshLibCore/master</url>
40-
<releases>
41-
<enabled>true</enabled>
42-
</releases>
43-
<snapshots>
44-
<enabled>true</enabled>
45-
</snapshots>
46-
</repository>
47-
</distributionManagement>
42+
43+
<!-- Dependencies -->
4844
<dependencies>
45+
<!-- Processing Core -->
4946
<dependency>
5047
<groupId>org.processing</groupId>
5148
<artifactId>core</artifactId>
5249
<version>4.3.1</version>
5350
</dependency>
51+
52+
<!-- JoGL Gluegen -->
5453
<dependency>
5554
<groupId>org.jogamp.gluegen</groupId>
5655
<artifactId>gluegen-rt-main</artifactId>
5756
<version>2.5.0</version>
5857
</dependency>
58+
59+
<!-- JoGL -->
5960
<dependency>
6061
<groupId>org.jogamp.jogl</groupId>
6162
<artifactId>jogl-all-main</artifactId>
6263
<version>2.5.0</version>
6364
</dependency>
64-
<dependency>
65-
<groupId>org.junit.platform</groupId>
66-
<artifactId>junit-platform-runner</artifactId>
67-
<version>1.2.0</version>
68-
<scope>test</scope>
69-
</dependency>
65+
66+
<!-- JUnit 5 Dependencies -->
7067
<dependency>
7168
<groupId>org.junit.jupiter</groupId>
72-
<artifactId>junit-jupiter-engine</artifactId>
73-
<version>5.4.0</version>
69+
<artifactId>junit-jupiter</artifactId>
70+
<version>5.11.3</version>
7471
<scope>test</scope>
7572
</dependency>
73+
7674
<dependency>
7775
<groupId>org.junit.jupiter</groupId>
7876
<artifactId>junit-jupiter-params</artifactId>
79-
<version>5.4.0</version>
80-
<scope>test</scope>
81-
</dependency>
82-
<dependency>
83-
<groupId>org.junit.jupiter</groupId>
84-
<artifactId>junit-jupiter-api</artifactId>
85-
<version>5.4.0</version>
77+
<version>5.11.3</version>
8678
<scope>test</scope>
8779
</dependency>
80+
81+
<!-- Jacoco for Code Coverage -->
8882
<dependency>
8983
<groupId>org.jacoco</groupId>
9084
<artifactId>jacoco-maven-plugin</artifactId>
9185
<version>0.8.10</version>
9286
</dependency>
9387
</dependencies>
88+
9489
</project>

0 commit comments

Comments
 (0)