geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcos Mendez <mar...@jitisoft.com>
Subject geronimo/maven/car-maven-plugin 3: bean deployer error
Date Tue, 20 Nov 2012 20:33:24 GMT

I have a simple pom.. some deps..  Am I missing something? need to create a geronimo-plugin.xml
perhaps?

   <build>
        <plugins>
            <plugin>
                <groupId>org.apache.geronimo.buildsupport</groupId>
                <artifactId>car-maven-plugin</artifactId>
                <version>${geronimoVersion}</version>
                <extensions>true</extensions>
                <configuration>
                    <!--<osiApproved>false</osiApproved>-->
                    <deploymentConfigs>
                        <!-- gbean deployer is default.  For jee apps include all deployers
your app needs, see properties -->
                        <deploymentConfig>${gbeanDeployer}</deploymentConfig>
                        <!--<deploymentConfig>${j2eeDeployer}</deploymentConfig>-->
                        <!--<deploymentConfig>${jetty6Deployer}</deploymentConfig>-->
                        <!--<deploymentConfig>${jasperDeployer}</deploymentConfig>-->
                        <!--<deploymentConfig>${jpaDeployer}</deploymentConfig>-->
                    </deploymentConfigs>

                    -->
                    <!-- Normally you can use the maven dependencies unaltered.  If you
need to specify import scope
                    you can list the dependencies here as you want them in the plan.xml -->
                    <useMavenDependencies>
                    <value>true</value>
                    <includeVersion>true</includeVersion>
                    </useMavenDependencies>
                    <dependencies>
			....

[ERROR] Could not load deployer configuration: org.apache.geronimo.framework/geronimo-gbean-deployer/3.0.0/car
org.apache.geronimo.framework/geronimo-gbean-deployer/3.0.0/car: ADD
org.apache.geronimo.framework/geronimo-gbean-deployer/3.0.0/car: READING
org.apache.geronimo.framework/geronimo-gbean-deployer/3.0.0/car: FAILED: org.apache.geronimo.framework/geronimo-gbean-deployer/3.0.0/car
(configId: org.apache.geronimo.framework/geronimo-gbean-deployer/3.0.0/car)
FINISHED

org.apache.geronimo.kernel.config.LifecycleException: load of org.apache.geronimo.framework/geronimo-gbean-deployer/3.0.0/car
failed
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:316)
	at org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:318)
	at org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:229)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	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:319)
	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: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.geronimo.kernel.config.NoSuchConfigException: org.apache.geronimo.framework/geronimo-gbean-deployer/3.0.0/car
(configId: org.apache.geronimo.framework/geronimo-gbean-deployer/3.0.0/car) (configId: org.apache.geronimo.framework/geronimo-gbean-deployer/3.0.0/car)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.locateBundle(SimpleConfigurationManager.java:630)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:308)
Mime
View raw message