File: maven-reporting-api-compatibility.patch

package info (click to toggle)
surefire 2.22.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,884 kB
  • sloc: java: 65,603; xml: 16,675; jsp: 5; sh: 3; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 631 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Fixes the compatibility with the version of Maven Reporting API in Debian
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/AbstractSurefireReportMojo.java
+++ b/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/AbstractSurefireReportMojo.java
@@ -139,7 +139,7 @@
     }
 
     @Override
-    public boolean canGenerateReport()
+    public boolean canGenerateReport() throws MavenReportException
     {
         return hasReportDirectories() && super.canGenerateReport();
     }