OK, progress...
I manually put in the correct deployer value for Geronimo 1.1.
Now we're back to the problem that the Geronimo 1.1 CARs are not in
the Maven 2 repo, so they aren't available for the build. I tried
pointing to the Maven 1 repo but they're not there either. Sigh.
Thanks,
Aaron
On 7/25/06, anita kulshreshtha <[EMAIL PROTECTED]> wrote:
I assume you are packaging this to be run on a full server. In that
case you need to use:
<deploymentConfigs>
<deploymentConfig>${gbeanDeployer}</deploymentConfig>
<deploymentConfig>${j2eeDeployer}</deploymentConfig>
<deploymentConfig>${jettyDeployer}</deploymentConfig>
<deploymentConfig>${clientDeployer}</deploymentConfig>
<deploymentConfig>${openejbDeployer}</deploymentConfig>
<deploymentConfig>${axisDeployer}</deploymentConfig>
</deploymentConfigs>
In the version on the trunk you could just say ${j2eeJettyServer}.
I am still trying to convince Jason that it is a good idea to spare the
users from the datalis of the deployers. WDYT?
Thanks
Anita
--- Aaron Mulder <[EMAIL PROTECTED]> wrote:
> So here's a different error I got when trying to use the
> car-maven-plugin for a Geronimo plugin build:
>
> ERROR [PackageBuilder]
> org.apache.geronimo.kernel.config.LifecycleException: load of
> org.apache.geronimo.configs/geronimo-gbean-deployer/null/car failed
> org.apache.geronimo.kernel.config.LifecycleException: load of
> org.apache.geronimo.configs/geronimo-gbean-deployer/null/car failed
> at
>
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:256)
> at
>
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:235)
> at
>
org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(KernelConfigurationManager.java:112)
> at
>
org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastClassByCGLIB$$b117102f.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.config.ConfigurationManager$$EnhancerByCGLIB$$a6847797.loadConfiguration(<generated>)
> at
>
org.apache.geronimo.plugin.car.PackageBuilder.execute(PackageBuilder.java:337)
> at
>
org.apache.geronimo.plugin.car.PackageMojo.executePackageBuilderShell(PackageMojo.java:262)
> at
>
org.apache.geronimo.plugin.car.PackageMojo.doExecute(PackageMojo.java:170)
> at
> org.apache.geronimo.plugin.MojoSupport.execute(MojoSupport.java:42)
> 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.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
> at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
> at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(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.kernel.config.NoSuchConfigException:
> org.apache.geronimo.configs/geronimo-gbean-deployer/null/car
> at
>
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfigurationData(SimpleConfigurationManager.java:439)
> at
>
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:253)
> ... 33 more
>
>
> Here's the relevant part of my POM:
>
>
> <dependencies>
> <!-- For build ordering -->
> <dependency>
> <groupId>gplugins</groupId>
> <artifactId>quartz-scheduler</artifactId>
> </dependency>
> </dependencies>
>
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.geronimo.plugins</groupId>
> <artifactId>car-maven-plugin</artifactId>
> <configuration>
>
>
<moduleFile>${settings.localRepository}/gplugins/quartz-scheduler/${pom.version}/quartz-scheduler-${pom.version}.jar</moduleFile>
> </configuration>
> </plugin>
> </plugins>
> </build>
>
>
> I'm not sure why the car-maven-plugin can't find the
> geronimo-gbean-deployer and what I'm supposed to put in my POM to fix
> it.
>
> Thanks,
> Aaron
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com