You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Dennis Lundberg (JIRA)" <ji...@apache.org> on 2014/09/07 10:44:28 UTC

[jira] [Reopened] (WHISKER-13) Error during site generation with HelpMojo and Java8

     [ https://issues.apache.org/jira/browse/WHISKER-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg reopened WHISKER-13:
------------------------------------
      Assignee: Dennis Lundberg  (was: Philipp Ottlinger)

The work-around made the site build fail for Java 6 and 7.

> Error during site generation with HelpMojo and 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)