[
https://issues.apache.org/jira/browse/WHISKER-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philipp Ottlinger updated WHISKER-13:
-------------------------------------
Description:
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.
was:
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.
> 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: Philipp Ottlinger
>
> 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)