File: 01-plexus-utils-compatibility.patch

package info (click to toggle)
maven-plugin-tools 3.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,548 kB
  • sloc: javascript: 16,495; java: 13,795; xml: 8,168; sh: 3; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 615 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 plexus-utils in Debian
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginHelpGenerator.java
+++ b/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginHelpGenerator.java
@@ -91,7 +91,7 @@
                 w.write( helpClassSources );
             }
         }
-        catch ( IOException e )
+        catch ( Exception e )
         {
             throw new GeneratorException( e.getMessage(), e );
         }