File: 01_link_to_system_javadocs.diff

package info (click to toggle)
checkstyle 8.36.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 32,964 kB
  • sloc: java: 234,352; xml: 75,743; javascript: 258; sh: 115; sql: 6; makefile: 5
file content (22 lines) | stat: -rw-r--r-- 734 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
Description: Link javadocs to default-jdk-doc
Author: Miguel Landaeta <miguel@miguel.cc>
Forwarded: no
Last-Update: 2011-07-19

--- a/pom.xml
+++ b/pom.xml
@@ -432,7 +432,13 @@
           <configuration>
             <source>${java.version}</source>
             <failOnError>true</failOnError>
-            <linksource>true</linksource>
+            <linksource>false</linksource>
+            <offlineLinks>
+              <offlineLink>
+                <url>file:///usr/share/doc/default-jdk-doc/api/</url>
+                <location>file:///usr/share/doc/default-jdk-doc/api/</location>
+              </offlineLink>
+            </offlineLinks>
             <tags>
               <tag>
                 <name>noinspection</name>