geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@planet57.com>
Subject Re: m2 error: Unable to resolve dependency
Date Sat, 01 Jul 2006 23:03:17 GMT
I do not believe that their are m2 builds of openejb to get us the  
right SNAPSHOT versions we need... so if we need to openejb jars  
built from m2, then we need to get the CI build up using m2 and  
deploying so that G can use em.

--jason


On Jul 1, 2006, at 3:55 PM, David Jencks wrote:

> yikes the dependencies need a lot of work.... axis and axis  
> deployer don't need openejb
>
> Anyway I think the problem comes from using m1 built openejb jars  
> that have geronimo-dependency.xml files inside for the m1  
> groupIds.  I think the problem will go away if you build openejb  
> with m2.
>
> So, this points out that the m1 and m2 jars have different  
> contents.  I think the solution is to change the openejb groupId to  
> org.openejb in the m2 builds.
>
> thanks
> david jencks
>
> On Jul 1, 2006, at 1:47 PM, Jason Dillon wrote:
>
>> Any idea what this is about?
>>
>> <snip>
>> [INFO]  
>> --------------------------------------------------------------------- 
>> -------
>> [INFO] Building Geronimo Configs :: Axis Deployer
>> [INFO]    task-segment: [install]
>> [INFO]  
>> --------------------------------------------------------------------- 
>> -------
>> [INFO] [car:dependencies]
>> [WARNING] POM for 'openejb:openejb-core:pom:2.2-SNAPSHOT:compile'  
>> is invalid. It will be ignored for artifact resolution. Reason:  
>> Not a v4.0.0 POM.
>> [WARNING] POM for 'openejb:openejb-pkgen-builder:pom:2.2- 
>> SNAPSHOT:compile' is invalid. It will be ignored for artifact  
>> resolution. Reason: Not a v4.0.0 POM.
>> [INFO] [compiler:compile]
>> [INFO] No sources to compile
>> [INFO] [car:package]
>> -----------null
>> -----------org.apache.geronimo.configs/geronimo-gbean-deployer/1.2- 
>> SNAPSHOT/car?j2eeType=Deployer,name=Deployer
>> -----------[org.apache.geronimo.configs/geronimo-gbean-deployer/ 
>> 1.2-SNAPSHOT/car]
>> -----------lib/endorsed
>> -----------lib/ext
>> -----------null
>> -----------null
>> -----------null
>> -----------null
>> -----------null
>> -----------/Users/jason/ws/apache/geronimo/trunk/configs/axis- 
>> deployer/target/axis-deployer-1.2-SNAPSHOT.car
>> -----------/Users/jason/ws/apache/geronimo/trunk/configs/axis- 
>> deployer/target/plan/plan.xml
>> -----------/Users/jason/.m2/repository
>> -----------org.apache.geronimo.system.repository.Maven2Repository
>> -----------org.apache.geronimo.plugin.packaging.MavenConfigStore
>> -----------/Users/jason/ws/apache/geronimo/trunk/configs/axis- 
>> deployer/target/repository
>> -----------org.apache.geronimo.system.repository.Maven2Repository
>> ----------- 
>> org.apache.geronimo.system.configuration.RepositoryConfigurationStore
>> -----------/Users/jason/ws/apache/geronimo/trunk/configs/axis- 
>> deployer/../../etc/explicit_versions.properties
>> -----------WARN
>>
>>     Packaging configuration /Users/jason/ws/apache/geronimo/trunk/ 
>> configs/axis-deployer/target/plan/plan.xml
>>
>> java.lang.reflect.InvocationTargetException
>>         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:324)
>>         at  
>> org.apache.geronimo.plugin.packaging.PackageBuilderShellMojo.executeP 
>> ackageBuilderShell(PackageBuilderShellMojo.java:249)
>>         at  
>> org.apache.geronimo.plugin.packaging.PackageBuilderShellMojo.execute( 
>> PackageBuilderShellMojo.java:169)
>>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo 
>> (DefaultPluginManager.java:412)
>>         at  
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
>> (DefaultLifecycleExecutor.java:534)
>>         at  
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi 
>> fecycle(DefaultLifecycleExecutor.java:475)
>>         at  
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
>> (DefaultLifecycleExecutor.java:454)
>>         at  
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan 
>> dleFailures(DefaultLifecycleExecutor.java:306)
>>         at  
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen 
>> ts(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:324)
>>         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.geronimo.common.DeploymentException: Unable  
>> to create configuration for deployment
>>         at  
>> org.apache.geronimo.deployment.DeploymentContext.createTempConfigurat 
>> ion(DeploymentContext.java:117)
>>         at org.apache.geronimo.deployment.DeploymentContext.<init> 
>> (DeploymentContext.java:97)
>>         at org.apache.geronimo.deployment.DeploymentContext.<init> 
>> (DeploymentContext.java:79)
>>         at  
>> org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConf 
>> iguration(ServiceConfigBuilder.java:238)
>>         at  
>> org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConf 
>> iguration(ServiceConfigBuilder.java:211)
>>         at  
>> org.apache.geronimo.deployment.service.ServiceConfigBuilder$ 
>> $FastClassByCGLIB$$9f173be6.invoke(<generated>)
>>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>>         at  
>> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke 
>> (FastMethodInvoker.java:38)
>>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
>> (GBeanOperation.java:122)
>>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
>> (GBeanInstance.java:817)
>>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke 
>> (RawInvoker.java:57)
>>         at  
>> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke 
>> (RawOperationInvoker.java:35)
>>         at  
>> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept 
>> (ProxyMethodInterceptor.java:96)
>>         at org.apache.geronimo.deployment.ConfigurationBuilder$ 
>> $EnhancerByCGLIB$$b42195c4.buildConfiguration(<generated>)
>>         at org.apache.geronimo.deployment.Deployer.deploy 
>> (Deployer.java:302)
>>         at org.apache.geronimo.deployment.Deployer$ 
>> $FastClassByCGLIB$$734a235d.invoke(<generated>)
>>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>>         at  
>> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke 
>> (FastMethodInvoker.java:38)
>>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
>> (GBeanOperation.java:122)
>>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
>> (GBeanInstance.java:852)
>>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke 
>> (BasicKernel.java:239)
>>         at  
>> org.apache.geronimo.plugin.packaging.PackageBuilder.invokeDeployer 
>> (PackageBuilder.java:474)
>>         at  
>> org.apache.geronimo.plugin.packaging.PackageBuilder.execute 
>> (PackageBuilder.java:334)
>>         ... 24 more
>> Caused by: org.apache.geronimo.kernel.config.LifecycleException:  
>> load of org.apache.geronimo.configs/axis-deployer/1.2-SNAPSHOT/car  
>> failed
>>         at  
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf 
>> iguration(SimpleConfigurationManager.java:307)
>>         at  
>> org.apache.geronimo.deployment.DeploymentConfigurationManager.loadCon 
>> figuration(DeploymentConfigurationManager.java:115)
>>         at  
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf 
>> iguration(SimpleConfigurationManager.java:266)
>>         at  
>> org.apache.geronimo.deployment.DeploymentConfigurationManager.loadCon 
>> figuration(DeploymentConfigurationManager.java:111)
>>         at  
>> org.apache.geronimo.deployment.DeploymentContext.createTempConfigurat 
>> ion(DeploymentContext.java:114)
>>         ... 46 more
>> Caused by:  
>> org.apache.geronimo.kernel.config.InvalidConfigException: Error  
>> starting configuration gbean org.apache.geronimo.configs/axis- 
>> deployer/1.2-SNAPSHOT/car
>>         at  
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.load 
>> (SimpleConfigurationManager.java:332)
>>         at  
>> org.apache.geronimo.deployment.DeploymentConfigurationManager.load 
>> (DeploymentConfigurationManager.java:119)
>>         at  
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf 
>> iguration(SimpleConfigurationManager.java:292)
>>         ... 50 more
>> Caused by:  
>> org.apache.geronimo.kernel.repository.MissingDependencyException:  
>> Unable to resolve dependency activecluster/activecluster//jar
>>         at  
>> org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolve 
>> InClassLoader(DefaultArtifactResolver.java:119)
>>         at  
>> org.apache.geronimo.kernel.repository.DefaultArtifactResolver$ 
>> $FastClassByCGLIB$$e847b746.invoke(<generated>)
>>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>>         at  
>> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke 
>> (FastMethodInvoker.java:38)
>>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
>> (GBeanOperation.java:122)
>>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
>> (GBeanInstance.java:817)
>>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke 
>> (RawInvoker.java:57)
>>         at  
>> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke 
>> (RawOperationInvoker.java:35)
>>         at  
>> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept 
>> (ProxyMethodInterceptor.java:96)
>>         at org.apache.geronimo.kernel.repository.ArtifactResolver$ 
>> $EnhancerByCGLIB$$5ed64b49.resolveInClassLoader(<generated>)
>>         at  
>> org.apache.geronimo.kernel.config.ConfigurationResolver.resolveDepend 
>> ency(ConfigurationResolver.java:159)
>>         at  
>> org.apache.geronimo.kernel.config.ConfigurationResolver.resolveTransi 
>> tiveDependencies(ConfigurationResolver.java:130)
>>         at  
>> org.apache.geronimo.kernel.config.ConfigurationResolver.resolveTransi 
>> tiveDependencies(ConfigurationResolver.java:137)
>>         at org.apache.geronimo.kernel.config.Configuration.<init> 
>> (Configuration.java:233)
>>         at  
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.load 
>> (SimpleConfigurationManager.java:328)
>>         ... 52 more
>> ===========================================
>>
>> [INFO]  
>> --------------------------------------------------------------------- 
>> ---
>> [ERROR] BUILD ERROR
>> [INFO]  
>> --------------------------------------------------------------------- 
>> ---
>> [INFO] java.lang.reflect.InvocationTargetException
>>
>> Unable to resolve dependency activecluster/activecluster//jar
>> </snip>
>>
>> --jason
>


Mime
View raw message