Details
-
Improvement
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
Description
Cannot release main on java 8.
mvn release:prepare passes fine
mvn release:perform fails on maven javadoc plugin
I could reproduce that twice in a row.
Then I switched to Java 7 and could release:perform successfully.
[INFO] Generating /Users/mika/Work/magnolia/checkout/magnolia_main/target/checkout/magnolia-core/target/apidocs/overview-summary.html... [INFO] Generating /Users/mika/Work/magnolia/checkout/magnolia_main/target/checkout/magnolia-core/target/apidocs/help-doc.html... [INFO] 100 errors [INFO] 100 warnings [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Reactor Summary: [INFO] [INFO] [INFO] [INFO] Magnolia Main Project (Parent) ..................... SUCCESS [ 3.709 s] [INFO] [INFO] Magnolia Core ...................................... FAILURE [02:02 min] [INFO] [INFO] Magnolia Configuration Framework ................... SKIPPED [INFO] [INFO] Magnolia JAAS ...................................... SKIPPED [INFO] [INFO] Magnolia Internationalization Framework ............ SKIPPED [INFO] [INFO] Magnolia Rendering ................................. SKIPPED [INFO] [INFO] Magnolia Templating ................................ SKIPPED [INFO] [INFO] Magnolia Templating for JSP ........................ SKIPPED [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] BUILD FAILURE [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Total time: 02:06 min [INFO] [INFO] Finished at: 2015-03-13T08:55:08+01:00 [INFO] [INFO] Final Memory: 53M/197M [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.1:jar (attach-javadocs) on project magnolia-core: MavenReportException: Error while creating archive: [INFO] [ERROR] Exit code: 1 - /Users/mika/Work/magnolia/checkout/magnolia_main/target/checkout/magnolia-core/src/main/java/info/magnolia/audit/AuditLoggingManager.java:93: warning: no @return [INFO] [ERROR] public boolean isAuditLoggingActive() { [INFO] [ERROR] ^ [INFO] [ERROR] /Users/mika/Work/magnolia/checkout/magnolia_main/target/checkout/magnolia-core/src/main/java/info/magnolia/audit/AuditLoggingUtil.java:68: warning: no @param for action [INFO] [ERROR] public static void log(String action, String workspaceName, ItemType nodeType, String nodePath) { [INFO] [ERROR] ^ (...) [INFO] [ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/Home/jre/../bin/javadoc @options @packages [INFO] [ERROR] [INFO] [ERROR] Refer to the generated Javadoc files in '/Users/mika/Work/magnolia/checkout/magnolia_main/target/checkout/magnolia-core/target/apidocs' dir. [INFO] [ERROR] -> [Help 1] [INFO] [ERROR] [INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [INFO] [ERROR] [INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles: [INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [INFO] [ERROR] [INFO] [ERROR] After correcting the problems, you can resume the build with the command [INFO] [ERROR] mvn <goals> -rf :magnolia-core
Checklists
Acceptance criteria