Skip to content

Commit 14d0882

Browse files
aslakknutsenbartoszmajsak
authored andcommitted
Add aggregated Surefire report configuration
Can be executed by either running just the reporter after a test run as been done via: mvn surefire-report:report-only Or report and test in one go via: mvn surefire-report:report A third option is: mvn site fixes javaee-samples#113
1 parent ea534ab commit 14d0882

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

pom.xml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,15 @@
306306
</execution>
307307
</executions>
308308
</plugin>
309+
<plugin>
310+
<groupId>org.apache.maven.plugins</groupId>
311+
<artifactId>maven-surefire-report-plugin</artifactId>
312+
<version>2.17</version>
313+
<configuration>
314+
<aggregate>true</aggregate>
315+
<linkXRef>true</linkXRef>
316+
</configuration>
317+
</plugin>
309318
<plugin>
310319
<groupId>org.apache.maven.plugins</groupId>
311320
<artifactId>maven-war-plugin</artifactId>
@@ -354,8 +363,12 @@
354363
<plugins>
355364
<plugin>
356365
<groupId>org.apache.maven.plugins</groupId>
357-
<artifactId>maven-surefire-plugin</artifactId>
366+
<artifactId>maven-surefire-report-plugin</artifactId>
358367
<version>2.17</version>
368+
<configuration>
369+
<aggregate>true</aggregate>
370+
<linkXRef>true</linkXRef>
371+
</configuration>
359372
</plugin>
360373
</plugins>
361374
</reporting>

0 commit comments

Comments
 (0)