Skip to content

Commit 66f6242

Browse files
committed
add maven plugins to run junit5 test with maven
1 parent 48ae2ab commit 66f6242

File tree

2 files changed

+32
-8
lines changed

2 files changed

+32
-8
lines changed

Diff for: .idea/workspace.xml

+9-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: pom.xml

+23
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,31 @@
1717
</dependencies>
1818

1919
<properties>
20+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2021
<maven.compiler.source>11</maven.compiler.source>
2122
<maven.compiler.target>11</maven.compiler.target>
2223
</properties>
2324

25+
<build>
26+
<pluginManagement>
27+
<plugins>
28+
<plugin>
29+
<groupId>org.apache.maven.plugins</groupId>
30+
<artifactId>maven-compiler-plugin</artifactId>
31+
<version>3.9.0</version>
32+
<configuration>
33+
<source>11</source>
34+
<target>11</target>
35+
</configuration>
36+
</plugin>
37+
<plugin>
38+
<groupId>org.apache.maven.plugins</groupId>
39+
<artifactId>maven-surefire-plugin</artifactId>
40+
<version>2.22.2</version>
41+
</plugin>
42+
43+
</plugins>
44+
</pluginManagement>
45+
</build>
46+
2447
</project>

0 commit comments

Comments
 (0)