Skip to content

Commit 65c8369

Browse files
committed
Try to get unit test report generated
1 parent 533421e commit 65c8369

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

create-test-report.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
mvn surefire-report:report

pom.xml

+25
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,20 @@
140140
</execution>
141141
</executions>
142142
</plugin>
143+
<plugin>
144+
<groupId>org.apache.maven.plugins</groupId>
145+
<artifactId>maven-surefire-report-plugin</artifactId>
146+
<version>2.11</version>
147+
<executions>
148+
<execution>
149+
<phase>test</phase>
150+
<goals>
151+
<goal>report-only</goal>
152+
</goals>
153+
</execution>
154+
</executions>
155+
</plugin>
156+
143157
<plugin>
144158
<groupId>org.apache.maven.plugins</groupId>
145159
<artifactId>maven-javadoc-plugin</artifactId>
@@ -215,6 +229,17 @@ com.fasterxml.jackson.databind.util,
215229
</plugin>
216230
</plugins>
217231
</build>
232+
233+
<reporting>
234+
<plugins>
235+
<plugin>
236+
<groupId>org.apache.maven.plugins</groupId>
237+
<artifactId>maven-surefire-report-plugin</artifactId>
238+
<version>2.11</version>
239+
</plugin>
240+
</plugins>
241+
</reporting>
242+
218243
<profiles>
219244
<profile>
220245
<id>release-sign-artifacts</id>

0 commit comments

Comments
 (0)