File: default-detectJavaApiLink-to-false.patch

package info (click to toggle)
maven-javadoc-plugin 3.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,176 kB
  • sloc: java: 16,707; xml: 9,530; jsp: 5; makefile: 2; sh: 1
file content (23 lines) | stat: -rw-r--r-- 1,058 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: set detectJavaApiLink default value to false
Author: tony mancill <tmancill@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919798
Comment: Also see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919831
Forwarded: not-needed

--- a/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
+++ b/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
@@ -564,11 +564,13 @@
      * (defined in <code>${project.build.plugins}</code> or in <code>${project.build.pluginManagement}</code>),
      * or try to compute it from the {@code javadocExecutable} version.
      *
+     * <p>For Debian, the default value is <code>false</code>.  See <a href="https://bugs.debian.org/919798">Debian bug 919798</a>.</p>
+     *
      * @see #links
      * @see #javaApiLinks
      * @since 2.6
      */
-    @Parameter( property = "detectJavaApiLink", defaultValue = "true" )
+    @Parameter( property = "detectJavaApiLink", defaultValue = "false" )
     private boolean detectJavaApiLink;
 
     /**