pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thad Humphries <thad.humphr...@gmail.com>
Subject Maven javadoc:javadoc errors with Java 8
Date Wed, 22 Jun 2016 19:58:57 GMT
When I tried to build the JavaDocs for PDFBox 2.1.0-SNAPSHOT (taken from
SVN yesterday) with Java 8, `mvn javadoc:javadoc` failed with numerous
errors. To correct this, I had to turn off the doclint by modifying
parent/pom.xml as follows:

$ svn diff parent/pom.xml
Index: parent/pom.xml
===================================================================
--- parent/pom.xml (revision 1749587)
+++ parent/pom.xml (working copy)
@@ -160,6 +160,7 @@
                     </links>
                     <encoding>UTF-8</encoding>
                     <notimestamp>true</notimestamp>
+                    <additionalparam>-Xdoclint:none</additionalparam>
                 </configuration>
             </plugin>
             <plugin>

(Tip taken from
http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html)

-- 
"Hell hath no limits, nor is circumscrib'd In one self-place; but where we
are is hell, And where hell is, there must we ever be" --Christopher
Marlowe, *Doctor Faustus* (v. 121-24)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message