You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Sina Kashipazha <es...@yahoo.co.uk.INVALID> on 2020/06/08 20:33:53 UTC

apidocs build failure

Hi,

I have trouble building apidocs on mac (see below). Any idea?

Kind Regards,
Sina

[INFO] Apache CloudStack apidocs .......................... FAILURE [ 31.185 s]
[INFO] Apache CloudStack marvin ........................... SKIPPED
[INFO] Apache CloudStack DevCloud4 ........................ SKIPPED
[INFO] Apache CloudStack DevCloud-KVM ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22:03 h
[INFO] Finished at: 2020-06-08T21:01:37+02:00
[INFO] Final Memory: 132M/450M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (compile) on project cloud-apidoc: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :cloud-apidoc


Re: apidocs build failure

Posted by Rohit Yadav <ro...@shapeblue.com>.
Hi Sina,

Are you seeing this on latest master? You can debug what's causing failure by either running the mvn command for -pl tools/apidocs, or run the command manually:
https://github.com/apache/cloudstack/blob/master/tools/apidoc/pom.xml#L63

It could a jdk/java issue, you may install jenv and add jdk8 or jdk11 installed (depending on which branch you're on, for 4.14 and master use jdk11 for example).


Regards,

Rohit Yadav

Software Architect, ShapeBlue

https://www.shapeblue.com

________________________________
From: Sina Kashipazha <es...@yahoo.co.uk.INVALID>
Sent: Tuesday, June 9, 2020 02:03
To: dev@cloudstack.apache.org <de...@cloudstack.apache.org>
Subject: apidocs build failure

Hi,

I have trouble building apidocs on mac (see below). Any idea?

Kind Regards,
Sina

[INFO] Apache CloudStack apidocs .......................... FAILURE [ 31.185 s]
[INFO] Apache CloudStack marvin ........................... SKIPPED
[INFO] Apache CloudStack DevCloud4 ........................ SKIPPED
[INFO] Apache CloudStack DevCloud-KVM ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22:03 h
[INFO] Finished at: 2020-06-08T21:01:37+02:00
[INFO] Final Memory: 132M/450M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (compile) on project cloud-apidoc: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :cloud-apidoc


rohit.yadav@shapeblue.comĀ 
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue