Skip to content

Commit 9f937aa

Browse files
committedMay 21, 2024·
Skip empty surefire and pmd reports
1 parent 928c6c0 commit 9f937aa

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
 

‎pom.xml

+16
Original file line numberDiff line numberDiff line change
@@ -710,10 +710,26 @@ limitations under the License.
710710
<plugin>
711711
<groupId>org.apache.maven.plugins</groupId>
712712
<artifactId>maven-surefire-report-plugin</artifactId>
713+
<configuration>
714+
<alwaysGenerateSurefireReport>false</alwaysGenerateSurefireReport>
715+
<alwaysGenerateFailsafeReport>false</alwaysGenerateFailsafeReport>
716+
</configuration>
713717
</plugin>
714718
<plugin>
715719
<groupId>org.apache.maven.plugins</groupId>
716720
<artifactId>maven-pmd-plugin</artifactId>
721+
<configuration>
722+
<skipEmptyReport>true</skipEmptyReport>
723+
</configuration>
724+
<reportSets>
725+
<reportSet>
726+
<id>default</id>
727+
<reports>
728+
<report>cpd</report>
729+
<report>pmd</report>
730+
</reports>
731+
</reportSet>
732+
</reportSets>
717733
</plugin>
718734
<plugin>
719735
<groupId>org.codehaus.mojo</groupId>

0 commit comments

Comments
 (0)
Please sign in to comment.