Thank you. It worked. one more thing I would like to say. In the link http://docs.cloudstack.apache.org/en/master/developer_guide.html#building-packages they refer us to use java 1.6 - it failed, so I installed java 1.7 and I was successfull with your commands Thanks again rajani.
On Mon, Aug 18, 2014 at 12:12 PM, Rajani Karuturi <raj...@apache.org> wrote: > $ git pull --rebase should get you the latest commit > $ git log -1 should show you the latest commit info. check if you are on > the latest. > > also, make sure you do mvn clean install. If the issues persists remove the > .m2 repo ($USER_HOME/.m2/repository) and try again > > I suggest reading https://www.atlassian.com/git/tutorial/git-basics and > http://git-scm.com/book/en/Getting-Started-Git-Basics > > > ~Rajani > > > On Thu, Aug 14, 2014 at 8:48 PM, sandeep khandekar < > cloudstack.sand...@gmail.com> wrote: > > > [INFO] Apache CloudStack Developer Tools ................. SUCCESS > [0.130s] > > [INFO] Apache CloudStack apidocs ......................... FAILURE > > [12.574s] > > [INFO] Apache CloudStack marvin .......................... SKIPPED > > [INFO] Apache CloudStack cloudmonkey cli ................. SKIPPED > > [INFO] Apache CloudStack DevCloud ........................ SKIPPED > > [INFO] Apache CloudStack DevCloud-KVM .................... SKIPPED > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 8:35.766s > > [INFO] Finished at: Thu Aug 14 20:40:42 IST 2014 > > [INFO] Final Memory: 50M/363M > > [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 > > root@cloudstack:/home/cloudstack/cloudstack# git status > > # On branch 4.2 > > nothing to commit (working directory clean) > > > > How to fix this error? How to navigate to the latest commit and fix it? > > commands please(new to git) learning slowly. > > Thankyou > > > > > > On Thu, Aug 14, 2014 at 9:25 AM, Rajani Karuturi <raj...@apache.org> > > wrote: > > > > > $ git checkout master && git pull --rebase > > > and then continue with the mvn build. > > > > > > Please go through this document to understand git branches, how to move > > > between them. > > > http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging > > > > > > > > > > > > On Wed, Aug 13, 2014 at 6:44 PM, sandeep khandekar < > > > cloudstack.sand...@gmail.com> wrote: > > > > > > > root@cloudstack:/home/cloudstack/cloudstack# git remote update && > git > > > > status > > > > Fetching origin > > > > # On branch 4.2 > > > > nothing to commit (working directory clean > > > > > > > > This is the o/p I got what to do now? > > > > > > > > > > > > > > > > On Tue, Aug 12, 2014 at 1:51 PM, Rajani Karuturi <raj...@apache.org> > > > > wrote: > > > > > > > > > assuming you did a git clone of the repo, doing "git remote update > && > > > git > > > > > status" should tell you. > > > > > > > > > > > > > > > On Tue, Aug 12, 2014 at 12:55 PM, sandeep khandekar < > > > > > cloudstack.sand...@gmail.com> wrote: > > > > > > > > > > > How can I check I am on master and on latest commit? > > > > > > How to fix these apidoc dependency issues? > > > > > > > > > > > > > > > > > > Thankyou > > > > > > > > > > > > > > > > > > On Tue, Aug 12, 2014 at 9:25 AM, Rajani Karuturi < > > raj...@apache.org> > > > > > > wrote: > > > > > > > > > > > > > This is the latest commit I see for cloud-apidocs > > > > > > > > > > > > > > commit 5ddd0cff32c6ea417f31daa82f88b02f0a440c36 > > > > > > > Author: Hugo Trippaers <htrippa...@schubergphilis.com> > > > > > > > AuthorDate: Thu Jul 31 12:05:25 2014 +0200 > > > > > > > Commit: Hugo Trippaers <htrippa...@schubergphilis.com> > > > > > > > CommitDate: Thu Jul 31 12:06:54 2014 +0200 > > > > > > > > > > > > > > Fix dependency issue in apidoc, depends on server as that > is > > > > where > > > > > > > ApiXmlDocWriter lives > > > > > > > > > > > > > > > > > > > > > Can you check if you are on master and on latest commit? > > > > > > > > > > > > > > > > > > > > > On Mon, Aug 11, 2014 at 8:53 PM, sandeep khandekar < > > > > > > > cloudstack.sand...@gmail.com> wrote: > > > > > > > > > > > > > > > Dear cloud stackers, > > > > > > > > I was building cloudstack I got the following error during > > build > > > > > > > > everything was success, but cloudapidocs i got the error - > can > > > > anyone > > > > > > > tell > > > > > > > > me why I got these error. > > > > > > > > > > > > > > > > [WARNING] The POM for > > org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 > > > > is > > > > > > > > missing, no dependency information available > > > > > > > > [WARNING] Failed to retrieve plugin descriptor for > > > > > > > > org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin > > > > > > > > org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its > > > dependencies > > > > > > could > > > > > > > > not be resolved: Failed to read artifact descriptor for > > > > > > > > org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 > > > > > > > > Downloading: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml > > > > > > > > Downloading: > > > > > > > > > > > > > > > > > > > > http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml > > > > > > > > Downloaded: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml > > > > > > > > (13 KB at 14.6 KB/sec) > > > > > > > > Downloaded: > > > > > > > > > > > > > > > > > > > > http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml > > > > > > > > (20 KB at 18.5 KB/sec) > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > [INFO] Reactor Summary: > > > > > > > > [INFO] > > > > > > > > [INFO] Apache CloudStack ................................. > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Utils ........................... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack API ............................. > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Framework ....................... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Framework - REST ................ > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Framework - IPC ................. > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Cloud Engine .................... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Cloud Engine API ................ > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Cloud Engine Internal Components API > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Cloud Engine Schema Component ... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Core ............................ > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Agents .......................... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Framework - Jobs ................ > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Framework - Event Notification .. > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Server .......................... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Usage Server .................... > > > SKIPPED > > > > > > > > [INFO] Apache XenSource XAPI ............................. > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Cloud Engine Compute Component .. > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Cloud Engine Orchestration Component > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack SystemVM Patches ................ > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Cloud Services .................. > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Secondary Storage Service ....... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Engine Storage Component ........ > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Engine Storage Volume Component . > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Engine Storage Image Component .. > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Engine Storage Data Motion Component > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Engine Storage Cache Component .. > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Engine Storage Snapshot Component > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Cloud Engine API ................ > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Cloud Engine Service ............ > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin POM ...................... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - API Rate Limit ......... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - API Discovery .......... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - ACL Static Role Based .. > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Host Anti-Affinity > Processor > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Explicit Dedication > Processor > > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - User Concentrated Pod > > > Deployment > > > > > > > Planner > > > > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - User Dispersing Deployment > > > > Planner > > > > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Implicit Dedication Planner > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - HA Planner ............. > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Host Allocator Random .. > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Dedicated Resources .... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Open vSwitch ........... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Hypervisor Xen ......... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Hypervisor KVM ......... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - RabbitMQ Event Bus ..... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Hypervisor Baremetal ... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Hypervisor UCS ......... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Network Elastic Load > Balancer > > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Network Nicira NVP ..... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - BigSwitch Virtual Network > > > Segment > > > > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Midokura Midonet ....... > > > SKIPPED > > > > > > > > [INFO] Apache Cloudstack Plugin - Stratosphere SSP ....... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Storage Allocator Random > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - User Authenticator LDAP > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - User Authenticator MD5 . > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - User Authenticator Plain > Text > > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - User Authenticator SHA256 > > > Salted > > > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Dns Notifier Example ... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Storage Image S3 ....... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Storage Image Swift > provider > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Storage Image default > > provider > > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Storage Image sample > provider > > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Storage Volume SolidFire > > > Provider > > > > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Storage Volume default > > provider > > > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Storage Volume sample > > provider > > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - SNMP Alerts ............ > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Syslog Alerts .......... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Plugin - Network Internal Load > > Balancer > > > > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Test ............................ > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Console Proxy Service ........... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Console Proxy ................... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Client UI ....................... > > > SKIPPED > > > > > > > > [INFO] Apache CloudStack Console Proxy Plugin ............ > > > SKIPPED > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > [INFO] BUILD FAILURE > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > [INFO] Total time: 3.907s > > > > > > > > [INFO] Finished at: Mon Aug 11 20:49:28 IST 2014 > > > > > > > > [INFO] Final Memory: 20M/170M > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > [ERROR] No plugin found for prefix 'cloud-apidoc' in the > > current > > > > > > project > > > > > > > > and in the plugin groups [org.apache.maven.plugins, > > > > > org.codehaus.mojo] > > > > > > > > available from the repositories [local > (/root/.m2/repository), > > > > > central > > > > > > ( > > > > > > > > http://repo.maven.apache.org/maven2)] -> [Help 1] > > > > > > > > > org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: > > > No > > > > > > plugin > > > > > > > > found for prefix 'cloud-apidoc' in the current project and in > > the > > > > > > plugin > > > > > > > > groups [org.apache.maven.plugins, org.codehaus.mojo] > available > > > from > > > > > the > > > > > > > > repositories [local (/root/.m2/repository), central ( > > > > > > > > http://repo.maven.apache.org/maven2)] > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:94) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:262) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:222) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:98) > > > > > > > > at > > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) > > > > > > > > at > > > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) > > > > > > > > at > org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) > > > > > > > > at > org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) > > > > > > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) > > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > Method) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > > > > > > > at java.lang.reflect.Method.invoke(Method.java:622) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) > > > > > > > > [ERROR] > > > > > > > > [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/NoPluginFoundForPrefixException > > > > > > > > > > > > > > > > THankyou > > > > > > > > > > > > > > > > -- > > > > > > > > SANDEEP KHANDEKAR > > > > > > > > Assistant Professor > > > > > > > > Department of Computer science and engineering > > > > > > > > Sreenidhi Institute of science and Technology > > > > > > > > Hyderabad > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > ~Rajani > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > SANDEEP KHANDEKAR > > > > > > Assistant Professor > > > > > > Department of Computer science and engineering > > > > > > Sreenidhi Institute of science and Technology > > > > > > Hyderabad > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > ~Rajani > > > > > > > > > > > > > > > > > > > > > -- > > > > SANDEEP KHANDEKAR > > > > Assistant Professor > > > > Department of Computer science and engineering > > > > Sreenidhi Institute of science and Technology > > > > Hyderabad > > > > > > > > > > > > > > > > -- > > > ~Rajani > > > > > > > > > > > -- > > SANDEEP KHANDEKAR > > Assistant Professor > > Department of Computer science and engineering > > Sreenidhi Institute of science and Technology > > Hyderabad > > > -- SANDEEP KHANDEKAR Assistant Professor Department of Computer science and engineering Sreenidhi Institute of science and Technology Hyderabad