Skip to content

Commit 475d59a

Browse files
author
Ranjith
committed
fix: merge build plugins and add JUnit support
1 parent a3c83d3 commit 475d59a

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,24 @@
1515
<properties>
1616
<maven.compiler.source>17</maven.compiler.source>
1717
<maven.compiler.target>17</maven.compiler.target>
18+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1819
</properties>
1920

21+
<!-- Test dependencies -->
22+
<dependencies>
23+
<dependency>
24+
<groupId>org.junit.jupiter</groupId>
25+
<artifactId>junit-jupiter</artifactId>
26+
<version>5.10.1</version>
27+
<scope>test</scope>
28+
</dependency>
29+
</dependencies>
30+
31+
<!-- Build configuration -->
2032
<build>
2133
<plugins>
34+
35+
<!-- Create runnable JAR -->
2236
<plugin>
2337
<groupId>org.apache.maven.plugins</groupId>
2438
<artifactId>maven-jar-plugin</artifactId>
@@ -31,6 +45,14 @@
3145
</archive>
3246
</configuration>
3347
</plugin>
48+
49+
<!-- Enable JUnit 5 tests -->
50+
<plugin>
51+
<groupId>org.apache.maven.plugins</groupId>
52+
<artifactId>maven-surefire-plugin</artifactId>
53+
<version>3.2.5</version>
54+
</plugin>
55+
3456
</plugins>
3557
</build>
3658

0 commit comments

Comments
 (0)