Hi All,

API doc build failure in 4.4; I am getting below error, anyone noticed this 
issue ?


+ mvn -Pdeveloper -Dnoredist -pl :cloud-apidoc clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack apidocs 4.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-apidoc ---
[INFO] Deleting 
/root/jenkins/build/workspace/ASF_Repo-Marvin-Build/tools/apidoc (includes = 
[target, dist], excludes = [])
[INFO]
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-apidoc ---
[INFO] Starting audit...
Audit done.

[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-apidoc 
---
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-apidoc ---
Exception in thread "main" java.lang.NoClassDefFoundError: 
com/cloud/api/doc/ApiXmlDocWriter
Caused by: java.lang.ClassNotFoundException: com.cloud.api.doc.ApiXmlDocWriter
               at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
               at java.security.AccessController.doPrivileged(Native Method)
               at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
               at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
               at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
               at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: com.cloud.api.doc.ApiXmlDocWriter. Program will 
exit.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.293s
[INFO] Finished at: Tue Apr 01 14:31:29 PDT 2014
[INFO] Final Memory: 35M/195M
[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.


Regards,
Rayees

Reply via email to