[
https://issues.apache.org/jira/browse/MJAVADOC-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15960515#comment-15960515
]
Ceki Gülcü edited comment on MJAVADOC-479 at 4/7/17 9:07 AM:
-------------------------------------------------------------
Output of "mvn site:site -X > output.txt" added as an attachment.
Upgrading the site plugin from 3.3 to 3.6 did not seem to help.
was (Author: [email protected]):
Output of "mvn site:site -X > output.txt"
> module-info.java error: too many module declarations found
> -----------------------------------------------------------
>
> Key: MJAVADOC-479
> URL: https://issues.apache.org/jira/browse/MJAVADOC-479
> Project: Maven Javadoc Plugin
> Issue Type: Bug
> Components: javadoc
> Affects Versions: 2.10.4
> Environment: Java HotSpot(TM) 64-Bit Server VM warning: ignoring
> option MaxPermSize=128m; support was removed in 8.0
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> 2015-11-10T17:41:47+01:00)
> Maven home: C:\java\maven-3.3.9
> Java version: 1.8.0_121, vendor: Oracle Corporation
> Java home: C:\java\jdk1.8.0_121\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "dos"
> Reporter: Ceki Gülcü
> Priority: Blocker
> Attachments: output.txt
>
>
> While attempting to release [SLF4J
> 1.8.0-alpha0|https://github.com/qos-ch/slf4j/tree/1_8_0-SNAPSHOT], the "mvn
> site:site" command failed with the following error.
> {code}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-site-plugin:3.3:site (default-cli) on project
> slf4j-parent: Error during page generation
> : Error rendering Maven report:
> [ERROR] Exit code: 1 -
> C:\home\ceki\slf4j\slf4j-simple\src\main\java\module-info.java:1: error: too
> many module declarations found
> [ERROR] module org.slf4j.simple {
> [ERROR] ^
> [ERROR] C:\home\ceki\slf4j\slf4j-nop\src\main\java\module-info.java:1: error:
> too many module declarations found
> [ERROR] module org.slf4j.nop {
> [ERROR] ^
> [ERROR] C:\home\ceki\slf4j\slf4j-jdk14\src\main\java\module-info.java:1:
> error: too many module declarations found
> [ERROR] module org.slf4j.jul {
> [ERROR] ^
> [ERROR] C:\home\ceki\slf4j\jcl-over-slf4j\src\main\java\module-info.java:1:
> error: too many module declarations found
> [ERROR] module org.slf4j.jcl_over_slf4j {
> [ERROR] ^
> [ERROR] C:\home\ceki\slf4j\log4j-over-slf4j\src\main\java\module-info.java:1:
> error: too many module declarations found
> [ERROR] module org.slf4j.log4j_over_slf4j {
> [ERROR] ^
> [ERROR]
> [ERROR] Command line was: C:\java\jdk-9EA162\bin\javadoc.exe @options
> @packages @argfile
> [ERROR]
> [ERROR] Refer to the generated Javadoc files in
> 'C:\home\ceki\slf4j\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]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)