geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <d...@iq80.com>
Subject Re: M2 branch merged with trunk but has a build failure
Date Thu, 25 Jan 2007 18:01:29 GMT
I had this same problem but it went away after a rebuild.

The problem is in the assembler maven plugin which uses the real  
maven repository code to access the m2 repo, and this integration has  
some strange bug.

-dain

On Jan 25, 2007, at 12:14 AM, Prasad Kashyap wrote:

> I merged the M2 branch with the latest changes from Dain, Blevins  
> and Jencks.
>
> I think the merge went pretty well considering I was doing it for the
> first time. However, the M2 build fails in the assemblies with the
> error shown below.
>
> I spent quite some time trying to resolve this but in vain :-(
>
> At this point, we have either of the following 2 options
> 1) simply revert my commits and try a merge again
> 2) fix this.
>
> [DEBUG] Resolving artifact:
> org.apache.geronimo.configs:openejb:car:2.0-M2-SNAPSHOT
> [DEBUG] openejb: using locally installed snapshot
> [INFO] Installing module:
> org.apache.geronimo.configs/openejb/2.0-M2-SNAPSHOT/car
> [DEBUG] Installing module:
> org.apache.geronimo.configs/openejb/2.0-M2-SNAPSHOT/car (8705 bytes)
> [DEBUG] Installing module dependencies for artifact:
> org.apache.geronimo.configs/openejb/2.0-M2-SNAPSHOT/car
> [DEBUG] Skipping artifact; already installed:
> org.apache.geronimo.configs/transaction-jta11/2.0-M2-SNAPSHOT/car
> [DEBUG] Skipping artifact; already installed:
> org.apache.geronimo.configs/webservices-common/2.0-M2-SNAPSHOT/car
> [DEBUG] Resolving artifact:
> org.apache.geronimo.modules:geronimo-openejb:jar:2.0-M2-SNAPSHOT
> [DEBUG] geronimo-openejb: using locally installed snapshot
> [INFO] Installing dependency:
> org.apache.geronimo.modules/geronimo-openejb/2.0-M2-SNAPSHOT/jar
> [DEBUG] Copying dependency:
> org.apache.geronimo.modules/geronimo-openejb/2.0-M2-SNAPSHOT/jar
> (28439 bytes)
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [ERROR] BUILD ERROR
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Unable to resolve dependency
> org.apache.geronimo.specs/geronimo-ejb_3.0_spec//jar
>
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to
> resolve dependency
> org.apache.geronimo.specs/geronimo-ejb_3.0_spec//jar
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
> (DefaultLifecycleExecutor.java:559)
> 	at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLif 
> ecycle(DefaultLifecycleExecutor.java:475)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
> (DefaultLifecycleExecutor.java:454)
> 	at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand 
> leFailures(DefaultLifecycleExecutor.java:306)
> 	at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment 
> s(DefaultLifecycleExecutor.java:273)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute 
> (DefaultLifecycleExecutor.java:140)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java: 
> 315)
> 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> 	at org.codehaus.classworlds.Launcher.mainWithExitCode 
> (Launcher.java:430)
> 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to
> resolve dependency
> org.apache.geronimo.specs/geronimo-ejb_3.0_spec//jar
> 	at org.apache.geronimo.genesis.MojoSupport.execute 
> (MojoSupport.java:137)
> 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo 
> (DefaultPluginManager.java:412)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
> (DefaultLifecycleExecutor.java:534)
> 	... 16 more
> Caused by:  
> org.apache.geronimo.kernel.repository.MissingDependencyException:
> Unable to resolve dependency
> org.apache.geronimo.specs/geronimo-ejb_3.0_spec//jar
> 	at  
> org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveI 
> nClassLoader(DefaultArtifactResolver.java:123)
> 	at  
> org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveI 
> nClassLoader(DefaultArtifactResolver.java:94)
> 	at  
> org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveI 
> nClassLoader(DefaultArtifactResolver.java:86)
> 	at  
> org.apache.geronimo.mavenplugins.car.InstallModulesMojo.installDepende 
> ncies(InstallModulesMojo.java:373)
> 	at  
> org.apache.geronimo.mavenplugins.car.InstallModulesMojo.installDepende 
> ncy(InstallModulesMojo.java:361)
> 	at org.apache.geronimo.mavenplugins.car.InstallModulesMojo.install 
> (InstallModulesMojo.java:205)
> 	at  
> org.apache.geronimo.mavenplugins.car.InstallModulesMojo.installDepende 
> ncies(InstallModulesMojo.java:378)
> 	at  
> org.apache.geronimo.mavenplugins.car.InstallModulesMojo.installModuleD 
> ependencies(InstallModulesMojo.java:296)
> 	at  
> org.apache.geronimo.mavenplugins.car.InstallModulesMojo.installModule( 
> InstallModulesMojo.java:270)
> 	at org.apache.geronimo.mavenplugins.car.InstallModulesMojo.install 
> (InstallModulesMojo.java:203)
> 	at  
> org.apache.geronimo.mavenplugins.car.InstallModulesMojo.installDepende 
> ncies(InstallModulesMojo.java:378)
> 	at  
> org.apache.geronimo.mavenplugins.car.InstallModulesMojo.installModuleD 
> ependencies(InstallModulesMojo.java:296)
> 	at  
> org.apache.geronimo.mavenplugins.car.InstallModulesMojo.installModule( 
> InstallModulesMojo.java:270)
> 	at org.apache.geronimo.mavenplugins.car.InstallModulesMojo.install 
> (InstallModulesMojo.java:203)
> 	at  
> org.apache.geronimo.mavenplugins.car.InstallModulesMojo.doExecute 
> (InstallModulesMojo.java:158)
> 	at org.apache.geronimo.genesis.MojoSupport.execute 
> (MojoSupport.java:122)
> 	... 18 more
>
>
> Cheers
> Prasad


Mime
View raw message