[
https://jira.codehaus.org/browse/MSITE-701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=338034#comment-338034
]
Robert Scholte commented on MSITE-701:
--------------------------------------
Both cause of both failing ITs is the maven-javadoc-plugin. They still use 2.7,
however 2.9.1 doesn't fix the issue either.
They all have to do with invalid/incomplete doclet tags:
{code:title=new-configuration}
2 errors
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 44.270s
[INFO] Finished at: Fri Jan 03 13:32:00 CET 2014
[INFO] Final Memory: 28M/157M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.4-SNAPSHOT:site (default-cli) on
project new-configuration: Error during page generation: Error rendering Maven
report:
[ERROR] Exit code: 1 -
E:\java-workspace\apache-maven-plugins\maven-site-plugin\target\it\new-configuration\src\main\java\org\apache\maven\plugins\it\MyMojo.java:29:
error: unknown tag: goal
[ERROR] * @goal touch
[ERROR] ^
[ERROR]
E:\java-workspace\apache-maven-plugins\maven-site-plugin\target\it\new-configuration\src\main\java\org\apache\maven\plugins\it\MyMojo.java:31:
error: unknown tag: phase
[ERROR] * @phase process-sources
[ERROR] ^
[ERROR]
[ERROR] Command line was: "c:\Program
Files\Java\jdk1.8.0\jre\..\bin\javadoc.exe" @options @packages
{code}
{code:title=MSITE-506}
1 error
100 warnings
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 59.640s
[INFO] Finished at: Fri Jan 03 13:31:12 CET 2014
[INFO] Final Memory: 24M/147M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.4-SNAPSHOT:site (default-site) on
project testmaven3: Error during page generation: Error rendering Maven report:
[ERROR] Exit code: 1 -
E:\java-workspace\apache-maven-plugins\maven-site-plugin\target\it\MSITE-506\target\distro-javadoc-sources\junit-3.8.1-sources\junit\awtui\TestRunner.java:109:
warning: no @return
[ERROR] protected Menu createJUnitMenu() {
[ERROR] ^
...
[ERROR]
E:\java-workspace\apache-maven-plugins\maven-site-plugin\target\it\MSITE-506\target\distro-javadoc-sources\junit-3.8.1-sources\junit\runner\TestCollector.java:9:
error: reference not found
[ERROR] * @see TestSelector
[ERROR] ^
[ERROR]
[ERROR] Command line was: "c:\Program
Files\Java\jdk1.8.0\jre\..\bin\javadoc.exe" @options @packages
{code}
So it seems that javadoc has become a bit stricter. I quick look at the
{{--help}} shows no option for JDK7 behavior.
For the latter I can image this is marked as an error, so we should probably
fix the IT.
For the first we need doclettags for the plugin API, I don't think these exist.
> IT failures with Jdk 8 (EA)
> ---------------------------
>
> Key: MSITE-701
> URL: https://jira.codehaus.org/browse/MSITE-701
> Project: Maven Site Plugin
> Issue Type: Bug
> Affects Versions: 3.3
> Reporter: Herve Boutemy
>
> see
> https://builds.apache.org/view/M-R/view/Maven/job/maven-plugins-ITs-m3.1.x-with-maven-plugin-jdk-1.8/modules
> {noformat}[INFO] --- maven-invoker-plugin:1.8:verify (integration-test) @
> maven-site-plugin ---
> [INFO] -------------------------------------------------
> [INFO] Build Summary:
> [INFO] Passed: 47, Failed: 2, Errors: 0, Skipped: 0
> [INFO] -------------------------------------------------
> [ERROR] The following builds failed:
> [ERROR] * new-configuration/pom.xml
> [ERROR] * MSITE-506/pom.xml
> [INFO] -------------------------------------------------{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira