You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Thomas Schneider <th...@euskill.com> on 2013/07/01 13:56:40 UTC
database deploy problem
Hello,
I try to setup a Cloudstack developpement environement with devcloud
following the instruction on the wiki but I have two problems.
When I execute the following command I have an error:
mvn -P developer -pl developer,tools/devcloud -Ddeploydb
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache CloudStack Developer Mode .................. FAILURE [10.313s]
[INFO] Apache CloudStack DevCloud ........................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 13.993s
[INFO] Finished at: Mon Jul 01 13:24:03 CEST 2013
[INFO] Final Memory: 16M/38M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cloud-developer: Could not
resolve dependencies for project
org.apache.cloudstack:cloud-developer:pom:4.2.0-SNAPSHOT: The following
artifacts could not be resolved:
org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
Could not find artifact
org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
apache.snapshots (http://repository.apache.org/snapshots) -> [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/DependencyResolutionException
--
*Thomas Schneider*
Re: database deploy problem
Posted by "SuichII, Christopher" <Ch...@netapp.com>.
Ignore that….I was running mvn with sudo, so of course it couldn't find the artifact…
On Jul 10, 2013, at 9:36 AM, "SuichII, Christopher" <Ch...@netapp.com> wrote:
> Now I'm seeing this issue after pulling the latest and rebuilding.
>
> [ERROR] Failed to execute goal on project cloud-client-ui: Could not resolve dependencies for project org.apache.cloudstack:cloud-client-ui:war:4.2.0-SNAPSHOT: Could not find artifact org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT in apache.snapshots (http://repository.apache.org/snapshots) -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project cloud-client-ui: Could not resolve dependencies for project org.apache.cloudstack:cloud-client-ui:war:4.2.0-SNAPSHOT: Could not find artifact org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT in apache.snapshots (http://repository.apache.org/snapshots)
>
> after running "mvn -U -e -Dmaven.test.skip=true -P developer,systemvm clean install"
>
> Does anyone know why this is happening?
>
> Thanks,
> Chris
>
> On Jul 1, 2013, at 9:19 AM, Thomas Schneider <th...@euskill.com> wrote:
>
>> What I did:
>>
>> # git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git
>>
>> # cd cloudstack
>>
>> # mvn -P developer,systemvm clean install
>>
>> # mvn -P developer -pl developer,tools/devcloud -Ddeploydb
>>
>> then error:
>>
>> [INFO] Error stacktraces are turned on.
>> [INFO] Scanning for projects...
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Build Order:
>> [INFO]
>> [INFO] Apache CloudStack Developer Mode
>> [INFO] Apache CloudStack DevCloud
>> [INFO]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Apache CloudStack Developer Mode 4.2.0-SNAPSHOT
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache CloudStack Developer Mode .................. FAILURE [3.594s]
>> [INFO] Apache CloudStack DevCloud ........................ SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 7.951s
>> [INFO] Finished at: Mon Jul 01 15:16:56 CEST 2013
>> [INFO] Final Memory: 16M/38M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal on project cloud-developer: Could not
>> resolve dependencies for project
>> org.apache.cloudstack:cloud-developer:pom:4.2.0-SNAPSHOT: The following
>> artifacts could not be resolved:
>> org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
>> Failure to find org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
>> http://repository.apache.org/snapshots was cached in the local
>> repository, resolution will not be reattempted until the update interval
>> of apache.snapshots has elapsed or updates are forced -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>> execute goal on project cloud-developer: Could not resolve dependencies
>> for project org.apache.cloudstack:cloud-developer:pom:4.2.0-SNAPSHOT:
>> The following artifacts could not be resolved:
>> org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
>> Failure to find org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
>> http://repository.apache.org/snapshots was cached in the local
>> repository, resolution will not be reattempted until the update interval
>> of apache.snapshots has elapsed or updates are forced
>> at
>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>> 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:616)
>> 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)
>> Caused by: org.apache.maven.project.DependencyResolutionException: Could
>> not resolve dependencies for project
>> org.apache.cloudstack:cloud-developer:pom:4.2.0-SNAPSHOT: The following
>> artifacts could not be resolved:
>> org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
>> Failure to find org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
>> http://repository.apache.org/snapshots was cached in the local
>> repository, resolution will not be reattempted until the update interval
>> of apache.snapshots has elapsed or updates are forced
>> at
>> org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:189)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)
>> ... 22 more
>> Caused by: org.sonatype.aether.resolution.DependencyResolutionException:
>> The following artifacts could not be resolved:
>> org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
>> Failure to find org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
>> http://repository.apache.org/snapshots was cached in the local
>> repository, resolution will not be reattempted until the update interval
>> of apache.snapshots has elapsed or updates are forced
>> at
>> org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:375)
>> at
>> org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:183)
>> ... 23 more
>> Caused by: org.sonatype.aether.resolution.ArtifactResolutionException:
>> The following artifacts could not be resolved:
>> org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
>> Failure to find org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
>> http://repository.apache.org/snapshots was cached in the local
>> repository, resolution will not be reattempted until the update interval
>> of apache.snapshots has elapsed or updates are forced
>> at
>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
>> at
>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
>> at
>> org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:358)
>> ... 24 more
>> Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException:
>> Failure to find org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
>> http://repository.apache.org/snapshots was cached in the local
>> repository, resolution will not be reattempted until the update interval
>> of apache.snapshots has elapsed or updates are forced
>> at
>> org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:230)
>> at
>> org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:204)
>> at
>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:427)
>> ... 26 more
>> [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/DependencyResolutionException
>>
>>
>> Le 01/07/2013 14:14, Wei ZHOU a écrit :
>>> You need to run following command at first
>>>
>>> mvn -P developer,systemvm clean install
>>>
>>>
>>> 2013/7/1 Thomas Schneider <th...@euskill.com>
>>>
>>>> Hello,
>>>>
>>>> I try to setup a Cloudstack developpement environement with devcloud
>>>> following the instruction on the wiki but I have two problems.
>>>> When I execute the following command I have an error:
>>>>
>>>> mvn -P developer -pl developer,tools/devcloud -Ddeploydb
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Reactor Summary:
>>>> [INFO]
>>>> [INFO] Apache CloudStack Developer Mode .................. FAILURE
>>>> [10.313s]
>>>> [INFO] Apache CloudStack DevCloud ........................ SKIPPED
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 13.993s
>>>> [INFO] Finished at: Mon Jul 01 13:24:03 CEST 2013
>>>> [INFO] Final Memory: 16M/38M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] Failed to execute goal on project cloud-developer: Could not
>>>> resolve dependencies for project
>>>> org.apache.cloudstack:cloud-developer:pom:4.2.0-SNAPSHOT: The following
>>>> artifacts could not be resolved:
>>>> org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
>>>> org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
>>>> org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
>>>>
>>>> org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
>>>> org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
>>>> org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
>>>> org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
>>>> org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
>>>> Could not find artifact
>>>> org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
>>>> apache.snapshots (http://repository.apache.org/snapshots) -> [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/DependencyResolutionException
>>>>
>>>> --
>>>> *Thomas Schneider*
>>>>
>>
>>
>> --
>> *Thomas Schneider*
>>
>
Re: database deploy problem
Posted by "SuichII, Christopher" <Ch...@netapp.com>.
Now I'm seeing this issue after pulling the latest and rebuilding.
[ERROR] Failed to execute goal on project cloud-client-ui: Could not resolve dependencies for project org.apache.cloudstack:cloud-client-ui:war:4.2.0-SNAPSHOT: Could not find artifact org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT in apache.snapshots (http://repository.apache.org/snapshots) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project cloud-client-ui: Could not resolve dependencies for project org.apache.cloudstack:cloud-client-ui:war:4.2.0-SNAPSHOT: Could not find artifact org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT in apache.snapshots (http://repository.apache.org/snapshots)
after running "mvn -U -e -Dmaven.test.skip=true -P developer,systemvm clean install"
Does anyone know why this is happening?
Thanks,
Chris
On Jul 1, 2013, at 9:19 AM, Thomas Schneider <th...@euskill.com> wrote:
> What I did:
>
> # git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git
>
> # cd cloudstack
>
> # mvn -P developer,systemvm clean install
>
> # mvn -P developer -pl developer,tools/devcloud -Ddeploydb
>
> then error:
>
> [INFO] Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] Apache CloudStack Developer Mode
> [INFO] Apache CloudStack DevCloud
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache CloudStack Developer Mode 4.2.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache CloudStack Developer Mode .................. FAILURE [3.594s]
> [INFO] Apache CloudStack DevCloud ........................ SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 7.951s
> [INFO] Finished at: Mon Jul 01 15:16:56 CEST 2013
> [INFO] Final Memory: 16M/38M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project cloud-developer: Could not
> resolve dependencies for project
> org.apache.cloudstack:cloud-developer:pom:4.2.0-SNAPSHOT: The following
> artifacts could not be resolved:
> org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
> Failure to find org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
> http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval
> of apache.snapshots has elapsed or updates are forced -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute goal on project cloud-developer: Could not resolve dependencies
> for project org.apache.cloudstack:cloud-developer:pom:4.2.0-SNAPSHOT:
> The following artifacts could not be resolved:
> org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
> Failure to find org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
> http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval
> of apache.snapshots has elapsed or updates are forced
> at
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
> at
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> 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:616)
> 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)
> Caused by: org.apache.maven.project.DependencyResolutionException: Could
> not resolve dependencies for project
> org.apache.cloudstack:cloud-developer:pom:4.2.0-SNAPSHOT: The following
> artifacts could not be resolved:
> org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
> Failure to find org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
> http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval
> of apache.snapshots has elapsed or updates are forced
> at
> org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:189)
> at
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)
> ... 22 more
> Caused by: org.sonatype.aether.resolution.DependencyResolutionException:
> The following artifacts could not be resolved:
> org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
> Failure to find org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
> http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval
> of apache.snapshots has elapsed or updates are forced
> at
> org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:375)
> at
> org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:183)
> ... 23 more
> Caused by: org.sonatype.aether.resolution.ArtifactResolutionException:
> The following artifacts could not be resolved:
> org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
> Failure to find org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
> http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval
> of apache.snapshots has elapsed or updates are forced
> at
> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
> at
> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
> at
> org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:358)
> ... 24 more
> Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException:
> Failure to find org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
> http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval
> of apache.snapshots has elapsed or updates are forced
> at
> org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:230)
> at
> org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:204)
> at
> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:427)
> ... 26 more
> [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/DependencyResolutionException
>
>
> Le 01/07/2013 14:14, Wei ZHOU a écrit :
>> You need to run following command at first
>>
>> mvn -P developer,systemvm clean install
>>
>>
>> 2013/7/1 Thomas Schneider <th...@euskill.com>
>>
>>> Hello,
>>>
>>> I try to setup a Cloudstack developpement environement with devcloud
>>> following the instruction on the wiki but I have two problems.
>>> When I execute the following command I have an error:
>>>
>>> mvn -P developer -pl developer,tools/devcloud -Ddeploydb
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] Apache CloudStack Developer Mode .................. FAILURE
>>> [10.313s]
>>> [INFO] Apache CloudStack DevCloud ........................ SKIPPED
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 13.993s
>>> [INFO] Finished at: Mon Jul 01 13:24:03 CEST 2013
>>> [INFO] Final Memory: 16M/38M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal on project cloud-developer: Could not
>>> resolve dependencies for project
>>> org.apache.cloudstack:cloud-developer:pom:4.2.0-SNAPSHOT: The following
>>> artifacts could not be resolved:
>>> org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
>>> org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
>>> org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
>>>
>>> org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
>>> org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
>>> org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
>>> org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
>>> org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
>>> Could not find artifact
>>> org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
>>> apache.snapshots (http://repository.apache.org/snapshots) -> [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/DependencyResolutionException
>>>
>>> --
>>> *Thomas Schneider*
>>>
>
>
> --
> *Thomas Schneider*
>
Re: database deploy problem
Posted by Thomas Schneider <th...@euskill.com>.
What I did:
# git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git
# cd cloudstack
# mvn -P developer,systemvm clean install
# mvn -P developer -pl developer,tools/devcloud -Ddeploydb
then error:
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache CloudStack Developer Mode
[INFO] Apache CloudStack DevCloud
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache CloudStack Developer Mode 4.2.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache CloudStack Developer Mode .................. FAILURE [3.594s]
[INFO] Apache CloudStack DevCloud ........................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7.951s
[INFO] Finished at: Mon Jul 01 15:16:56 CEST 2013
[INFO] Final Memory: 16M/38M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cloud-developer: Could not
resolve dependencies for project
org.apache.cloudstack:cloud-developer:pom:4.2.0-SNAPSHOT: The following
artifacts could not be resolved:
org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
Failure to find org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval
of apache.snapshots has elapsed or updates are forced -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal on project cloud-developer: Could not resolve dependencies
for project org.apache.cloudstack:cloud-developer:pom:4.2.0-SNAPSHOT:
The following artifacts could not be resolved:
org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
Failure to find org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval
of apache.snapshots has elapsed or updates are forced
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
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:616)
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)
Caused by: org.apache.maven.project.DependencyResolutionException: Could
not resolve dependencies for project
org.apache.cloudstack:cloud-developer:pom:4.2.0-SNAPSHOT: The following
artifacts could not be resolved:
org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
Failure to find org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval
of apache.snapshots has elapsed or updates are forced
at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:189)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)
... 22 more
Caused by: org.sonatype.aether.resolution.DependencyResolutionException:
The following artifacts could not be resolved:
org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
Failure to find org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval
of apache.snapshots has elapsed or updates are forced
at
org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:375)
at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:183)
... 23 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException:
The following artifacts could not be resolved:
org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
Failure to find org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval
of apache.snapshots has elapsed or updates are forced
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
at
org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:358)
... 24 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException:
Failure to find org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval
of apache.snapshots has elapsed or updates are forced
at
org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:230)
at
org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:204)
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:427)
... 26 more
[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/DependencyResolutionException
Le 01/07/2013 14:14, Wei ZHOU a écrit :
> You need to run following command at first
>
> mvn -P developer,systemvm clean install
>
>
> 2013/7/1 Thomas Schneider <th...@euskill.com>
>
>> Hello,
>>
>> I try to setup a Cloudstack developpement environement with devcloud
>> following the instruction on the wiki but I have two problems.
>> When I execute the following command I have an error:
>>
>> mvn -P developer -pl developer,tools/devcloud -Ddeploydb
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache CloudStack Developer Mode .................. FAILURE
>> [10.313s]
>> [INFO] Apache CloudStack DevCloud ........................ SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 13.993s
>> [INFO] Finished at: Mon Jul 01 13:24:03 CEST 2013
>> [INFO] Final Memory: 16M/38M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal on project cloud-developer: Could not
>> resolve dependencies for project
>> org.apache.cloudstack:cloud-developer:pom:4.2.0-SNAPSHOT: The following
>> artifacts could not be resolved:
>> org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
>>
>> org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
>> org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
>> Could not find artifact
>> org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
>> apache.snapshots (http://repository.apache.org/snapshots) -> [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/DependencyResolutionException
>>
>> --
>> *Thomas Schneider*
>>
--
*Thomas Schneider*
Re: database deploy problem
Posted by Wei ZHOU <us...@gmail.com>.
You need to run following command at first
mvn -P developer,systemvm clean install
2013/7/1 Thomas Schneider <th...@euskill.com>
> Hello,
>
> I try to setup a Cloudstack developpement environement with devcloud
> following the instruction on the wiki but I have two problems.
> When I execute the following command I have an error:
>
> mvn -P developer -pl developer,tools/devcloud -Ddeploydb
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache CloudStack Developer Mode .................. FAILURE
> [10.313s]
> [INFO] Apache CloudStack DevCloud ........................ SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 13.993s
> [INFO] Finished at: Mon Jul 01 13:24:03 CEST 2013
> [INFO] Final Memory: 16M/38M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project cloud-developer: Could not
> resolve dependencies for project
> org.apache.cloudstack:cloud-developer:pom:4.2.0-SNAPSHOT: The following
> artifacts could not be resolved:
> org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-plugin-hypervisor-simulator:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-secondary-storage:jar:4.2.0-SNAPSHOT,
>
> org.apache.cloudstack:cloud-plugin-storage-image-simulator:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage-image:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage-volume:jar:4.2.0-SNAPSHOT,
> org.apache.cloudstack:cloud-engine-storage-snapshot:jar:4.2.0-SNAPSHOT:
> Could not find artifact
> org.apache.cloudstack:cloud-server:jar:4.2.0-SNAPSHOT in
> apache.snapshots (http://repository.apache.org/snapshots) -> [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/DependencyResolutionException
>
> --
> *Thomas Schneider*
>