[fedora-java] Java package FTBFS from mass rebuild

Mat Booth fedora at matbooth.co.uk
Wed Jun 17 17:13:55 UTC 2015


Hi all,

In case you haven't seen, mass rebuild happened today!

Many java package failures that I have fixed so far are due to strict
javadoc linting being enabled in openJDK.

For maven builds, it is recommended to to disable maven-javadoc-plugin and
let xmvn deal with building javadocs on its own. Add this in your %prep
section:

%pom_remove_plugin :maven-javadoc-plugin

Example change:
http://pkgs.fedoraproject.org/cgit/java-uuid-generator.git/commit/?id=c533810a893ddfae56b2cb124a0f4fd3a07726ca

For ant builds, you can disable javadoc linting by patching the build.xml
to pass the following parameter to the javadoc task:

additionalparam="-Xdoclint:none"

Example change:
http://pkgs.fedoraproject.org/cgit/hsqldb.git/commit/?id=b79d0c4b85f4c6a94c03f72599aaf7c2b798c2f0

Hope this helps,
Mat

-- 
Mat Booth
http://fedoraproject.org/get-fedora
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/java-devel/attachments/20150617/b3567065/attachment.html>


More information about the java-devel mailing list