Skip to content

Commit ff314e7

Browse files
committed
maven surefire test reporting
1 parent d8a26ec commit ff314e7

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

pom.xml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
<maven.compiler.target>${java.version}</maven.compiler.target>
4242
<junit-platform.version>5.8.2</junit-platform.version>
4343
<assertj-core.version>3.22.0</assertj-core.version>
44+
<maven-testing.version>2.22.0</maven-testing.version>
4445
</properties>
4546

4647
<dependencies>
@@ -90,12 +91,12 @@
9091
<plugin>
9192
<groupId>org.apache.maven.plugins</groupId>
9293
<artifactId>maven-surefire-plugin</artifactId>
93-
<version>2.22.0</version>
94+
<version>${maven-testing.version}</version>
9495
</plugin>
9596
<plugin>
9697
<groupId>org.apache.maven.plugins</groupId>
9798
<artifactId>maven-failsafe-plugin</artifactId>
98-
<version>2.22.0</version>
99+
<version>${maven-testing.version}</version>
99100
<executions>
100101
<execution>
101102
<goals>
@@ -105,7 +106,21 @@
105106
</execution>
106107
</executions>
107108
</plugin>
109+
<plugin>
110+
<groupId>org.apache.maven.plugins</groupId>
111+
<artifactId>maven-site-plugin</artifactId>
112+
<version>3.7.1</version>
113+
</plugin>
108114
</plugins>
109115
</build>
116+
<reporting>
117+
<plugins>
118+
<plugin>
119+
<groupId>org.apache.maven.plugins</groupId>
120+
<artifactId>maven-surefire-report-plugin</artifactId>
121+
<version>${maven-testing.version}</version>
122+
</plugin>
123+
</plugins>
124+
</reporting>
110125

111126
</project>

0 commit comments

Comments
 (0)