[ https://issues.apache.org/jira/browse/WHISKER-13?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14124971#comment-14124971 ]
Dennis Lundberg edited comment on WHISKER-13 at 9/7/14 5:13 PM: ---------------------------------------------------------------- Added conditional versioning for Findbugs Maven Plugin in [r1623073|http://svn.apache.org/viewvc?view=revision&revision=1623073]. When using Java 6 and 7 we use version 2.5.5 of the plugin, and when running on Java 8+ we use version 3.0.0 instead. This works for me locally. Let us hope it makes Jenkins happy as well. was (Author: denn...@apache.org): Added conditional versioning for Findbugs Maven Plugin in [r1622908|http://svn.apache.org/viewvc?view=revision&revision=1622908]. When using Java 6 and 7 we use version 2.5.5 of the plugin, and when running on Java 8+ we use version 3.0.0 instead. This works for me locally. Let us hope it makes Jenkins happy as well. > Error during site generation with Java8 > --------------------------------------- > > Key: WHISKER-13 > URL: https://issues.apache.org/jira/browse/WHISKER-13 > Project: Apache Whisker > Issue Type: Bug > Affects Versions: 0.2 > Reporter: Philipp Ottlinger > Assignee: Dennis Lundberg > Fix For: 0.2 > > > The compiler complains that the generated HelpMojo produces invalid Javadoc. > This fails the site-builds. > It's not really clear why we get these build errors since > https://jira.codehaus.org/browse/MPLUGIN-244 > is solved in the version we are using (3.3) > Explore what needs to be updated since we do not see this problem in RAT. > The errors are: > {noformat} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-site-plugin:3.4:site (default-cli) on project > apache-whisker: Error generating maven-javadoc-plugin:2.9.1:aggregate: > [ERROR] Exit code: 1 - > /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:24: > error: self-closing element not allowed > [ERROR] * Display help information on apache-whisker-plugin4maven.<br/> > [ERROR] ^ > [ERROR] > /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:26: > warning: no description for @author > [ERROR] * @author > [ERROR] ^ > [ERROR] > /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:27: > warning: no description for @version > [ERROR] * @version > [ERROR] ^ > [ERROR] > [ERROR] Command line was: > /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin/javadoc > @options @packages > [ERROR] > [ERROR] Refer to the generated Javadoc files in > '/apache-whisker-trunk/target/site/apidocs' dir. > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > {noformat} > when > {noformat} > mvn -Prat site:site > {noformat} > is run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)