You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jason Dillon (JIRA)" <ji...@apache.org> on 2007/12/14 06:07:43 UTC

[jira] Created: (GERONIMO-3705) Maven 2.0.8 causes build problems

Maven 2.0.8 causes build problems
---------------------------------

                 Key: GERONIMO-3705
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3705
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: buildsystem
    Affects Versions: 2.1
            Reporter: Jason Dillon
            Assignee: Jason Dillon
            Priority: Critical




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-3705) Maven 2.0.8 causes build problems

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks updated GERONIMO-3705:
-----------------------------------

    Fix Version/s: 2.2
                   2.1.x
                   2.1.1

Bruce Snyder reported a very similar problem on a servicemix related project using maven 2.0.7.  If this change fixes his problem I think we should apply this change to 2.1.1.

> Maven 2.0.8 causes build problems
> ---------------------------------
>
>                 Key: GERONIMO-3705
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3705
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 2.1
>            Reporter: Jason Dillon
>            Assignee: David Jencks
>            Priority: Critical
>             Fix For: 2.1.1, 2.1.x, 2.2
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-3705) Maven 2.0.8 causes build problems

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589450#action_12589450 ] 

David Jencks commented on GERONIMO-3705:
----------------------------------------

Fixed in branches/2.1 (2.1.2-SNAPSHOT) rev 648584.
trunk rev 648603

> Maven 2.0.8 causes build problems
> ---------------------------------
>
>                 Key: GERONIMO-3705
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3705
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 2.1
>            Reporter: Jason Dillon
>            Assignee: David Jencks
>            Priority: Critical
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-3705) Maven 2.0.8 causes build problems

Posted by "Joe Bohn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bohn updated GERONIMO-3705:
-------------------------------

    Fix Version/s: 2.1.2

added 2.1.2 as a fixed version

> Maven 2.0.8 causes build problems
> ---------------------------------
>
>                 Key: GERONIMO-3705
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3705
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 2.1
>            Reporter: Jason Dillon
>            Assignee: David Jencks
>            Priority: Critical
>             Fix For: 2.1.1, 2.1.2, 2.1.x, 2.2
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-3705) Maven 2.0.8 causes build problems

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589433#action_12589433 ] 

David Jencks commented on GERONIMO-3705:
----------------------------------------

Problem seems to be the car-maven-plugin use of DependencyHelper leaves out a whole lotta dependencies.  I think this can also occur even with maven 2.0.7, servicemix seems to be encountering a similar problem.  It's pretty easy to have our plugins use the ArtifactCollector more directly which allows building with maven 2.0.9.... about to check about servicemix.

> Maven 2.0.8 causes build problems
> ---------------------------------
>
>                 Key: GERONIMO-3705
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3705
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 2.1
>            Reporter: Jason Dillon
>            Assignee: David Jencks
>            Priority: Critical
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GERONIMO-3705) Maven 2.0.8 causes build problems

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks closed GERONIMO-3705.
----------------------------------

    Resolution: Fixed

Fixed 2.1.1 rev 648987

> Maven 2.0.8 causes build problems
> ---------------------------------
>
>                 Key: GERONIMO-3705
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3705
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 2.1
>            Reporter: Jason Dillon
>            Assignee: David Jencks
>            Priority: Critical
>             Fix For: 2.1.1, 2.1.x, 2.2
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-3705) Maven 2.0.8 causes build problems

Posted by "Joe Bohn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bohn updated GERONIMO-3705:
-------------------------------

    Fix Version/s:     (was: 2.1.2)
                       (was: 2.1.x)

> Maven 2.0.8 causes build problems
> ---------------------------------
>
>                 Key: GERONIMO-3705
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3705
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 2.1
>            Reporter: Jason Dillon
>            Assignee: David Jencks
>            Priority: Critical
>             Fix For: 2.1.1, 2.2
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-3705) Maven 2.0.8 causes build problems

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589434#action_12589434 ] 

David Jencks commented on GERONIMO-3705:
----------------------------------------

Here's the servicemix trace, the one from geronimo looked similar:

 	
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to create configuration for deployment
 
Unable to resolve dependency org.apache.xbean/xbean-naming//jar
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to create configuration for deployment
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
        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 create configuration for deployment
        at org.apache.geronimo.genesis.MojoSupport.execute(MojoSupport.java:137)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        ... 16 more
Caused by: org.apache.geronimo.common.DeploymentException: Unable to create configuration for deployment
        at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:121)
        at org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentContext.java:101)
        at org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentContext.java:81)
        at org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:205)
        at org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:177)
        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:820)
        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$$21e3cf17.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:855)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
        at org.apache.geronimo.mavenplugins.car.PackageMojo.invokeDeployer(PackageMojo.java:665)
        at org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:486)
        at org.apache.geronimo.mavenplugins.car.PackageMojo.doExecute(PackageMojo.java:298)
        at org.apache.geronimo.genesis.MojoSupport.execute(MojoSupport.java:122)
        ... 18 more
Caused by: org.apache.geronimo.kernel.config.LifecycleException: load of org.apache.servicemix.geronimo/servicemix/3.3.0-fuse-SNAPSHOT/car failed
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:322)
        at org.apache.geronimo.deployment.DeploymentConfigurationManager.loadConfiguration(DeploymentConfigurationManager.java:115)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:281)
        at org.apache.geronimo.deployment.DeploymentConfigurationManager.loadConfiguration(DeploymentConfigurationManager.java:111)
        at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:118)
        ... 42 more
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean org.apache.geronimo.configs/rmi-naming/1.2-beta/car
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.load(SimpleConfigurationManager.java:347)
        at org.apache.geronimo.deployment.DeploymentConfigurationManager.load(DeploymentConfigurationManager.java:119)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:307)
        ... 46 more
Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException: Unable to resolve dependency org.apache.xbean/xbean-naming//jar
        at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:123)
        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:820)
        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$$cc98849c.resolveInClassLoader(<generated>)
        at org.apache.geronimo.kernel.config.ConfigurationResolver.resolveDependency(ConfigurationResolver.java:159)
        at org.apache.geronimo.kernel.config.ConfigurationResolver.resolveTransitiveDependencies(ConfigurationResolver.java:130)
        at org.apache.geronimo.kernel.config.ConfigurationResolver.resolveTransitiveDependencies(ConfigurationResolver.java:137)
        at org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:233)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.load(SimpleConfigurationManager.java:343)
        ... 48 more


> Maven 2.0.8 causes build problems
> ---------------------------------
>
>                 Key: GERONIMO-3705
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3705
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 2.1
>            Reporter: Jason Dillon
>            Assignee: David Jencks
>            Priority: Critical
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GERONIMO-3705) Maven 2.0.8 causes build problems

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks reassigned GERONIMO-3705:
--------------------------------------

    Assignee: David Jencks  (was: Jason Dillon)

> Maven 2.0.8 causes build problems
> ---------------------------------
>
>                 Key: GERONIMO-3705
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3705
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 2.1
>            Reporter: Jason Dillon
>            Assignee: David Jencks
>            Priority: Critical
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.