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=c53381...
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=b79d0c4b85f4c6a94c0...
Hope this helps, Mat
hi thanks for the tip i used <arg value="-Xdoclint:none"/> in ant build files
it seems that many of my packages fail to build because of groovy (1.8/2.x)
[INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.108 s [INFO] Finished at: 2015-06-17T09:57:11+00:00 [INFO] Final Memory: 14M/144M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (compile) on project GMetrics: An Ant BuildException has occured: Compilation Failed [ERROR] around Ant part ...<groovyc destdir="/builddir/build/BUILD/GMetrics-0.6/target/classes" srcdir="/builddir/build/BUILD/GMetrics-0.6/src/main" classpathref="maven.compile.classpath"/>... @ 8:165 in /builddir/build/BUILD/GMetrics-0.6/target/antrun/build-main.xml: Unrecognized option: --null [ERROR] -> [Help 1]
any ideas? thanks regards - gil
Il 17/06/2015 19:13, Mat Booth ha scritto:
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=c53381...
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=b79d0c4b85f4c6a94c0...
Hope this helps, Mat
-- Mat Booth http://fedoraproject.org/get-fedora
-- java-devel mailing list java-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/java-devel
Hi,
On 06/17/2015 08:04 PM, gil wrote:
hi thanks for the tip i used <arg value="-Xdoclint:none"/> in ant build files
it seems that many of my packages fail to build because of groovy (1.8/2.x) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.108 s [INFO] Finished at: 2015-06-17T09:57:11+00:00 [INFO] Final Memory: 14M/144M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (compile) on project GMetrics: An Ant BuildException has occured: Compilation Failed [ERROR] around Ant part ...<groovyc destdir="/builddir/build/BUILD/GMetrics-0.6/target/classes" srcdir="/builddir/build/BUILD/GMetrics-0.6/src/main" classpathref="maven.compile.classpath"/>... @ 8:165 in /builddir/build/BUILD/GMetrics-0.6/target/antrun/build-main.xml: Unrecognized option: --null [ERROR] -> [Help 1] any ideas?
My guess is that this is caused by recent update of apache-commons-cli to version 1.3. I tried to update it to 1.3.1 yesterday, but it still fails for me.
Michal
thanks regards
- gil
Il 17/06/2015 19:13, Mat Booth ha scritto:
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=c53381...
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=b79d0c4b85f4c6a94c0...
Hope this helps, Mat
-- Mat Booth http://fedoraproject.org/get-fedora
-- java-devel mailing list java-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/java-devel
-- java-devel mailing list java-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/java-devel
java-devel@lists.fedoraproject.org