Hi All, Anyone know, how to build API doc build in 4.2 ?
I tried with below command, but its failed + mvn -P developer -pl tools/apidoc clean install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache CloudStack apidocs 4.2.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-apidoc --- [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.431s [INFO] Finished at: Mon Aug 19 10:51:46 PDT 2013 [INFO] Final Memory: 20M/143M [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] Regards, Rayees