[Users] error while building oVirt-engine

Juan Hernandez jhernand at redhat.com
Tue Jan 22 14:25:28 UTC 2013


On 01/22/2013 02:08 PM, Arindam Choudhury wrote:
> Hi,
>
> I am following http://www.ovirt.org/Building_oVirt_engine tutorial to
> build oVirt-engine from source. when i do:
>
> $ mvn clean install -e

Are you running this from the top level directory of the source? If this 
is the first time you are building and you are running from a 
subdirectory (frontend/webadmin/modules) then some artifacts that are 
outside of that subdirectory will not be available and the build will fail.

>
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Extensions for GWT 3.2.0
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The POM for org.ovirt.engine.ui:genericapi:jar:3.2.0 is
> missing, no dependency information available
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] oVirt Modules - ui ................................ SUCCESS [0.013s]
> [INFO] Extensions for GWT ................................ FAILURE [0.014s]
> [INFO] UI Utils Compatibility (for UICommon) ............. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project gwt-extension: Could not
> resolve dependencies for project
> org.ovirt.engine.ui:gwt-extension:jar:3.2.0: Failure to find
> org.ovirt.engine.ui:genericapi:jar:3.2.0 in
> http://repo1.maven.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central
> has elapsed or updates are forced -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute goal on project gwt-extension: Could not resolve dependencies
> for project org.ovirt.engine.ui:gwt-extension:jar:3.2.0: Failure to find
> org.ovirt.engine.ui:genericapi:jar:3.2.0 in
> http://repo1.maven.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central
> 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:322)
>      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:158)
>      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:601)
>      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.ovirt.engine.ui:gwt-extension:jar:3.2.0: Failure to find
> org.ovirt.engine.ui:genericapi:jar:3.2.0 in
> http://repo1.maven.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central
> 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:
> Failure to find org.ovirt.engine.ui:genericapi:jar:3.2.0 in
> http://repo1.maven.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central
> 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:
> Failure to find org.ovirt.engine.ui:genericapi:jar:3.2.0 in
> http://repo1.maven.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central
> 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.ovirt.engine.ui:genericapi:jar:3.2.0 in
> http://repo1.maven.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central
> 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
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :gwt-extension
>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>


-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.



More information about the Users mailing list