On 19 May 2011, at 08:38, Anders Hammar wrote: > And here's the svn repo: > https://svn.codehaus.org/plexus/plexus-containers/tags/plexus-containers-1.5.5/
FYI, if they're using Maven 3.0.3 then they'll be using the Guice-Plexus facade, so the file in question is: https://github.com/sonatype/sisu/blob/sisu-2.1.1/sisu-inject/guice-plexus/guice-plexus-shim/src/main/java/org/codehaus/plexus/component/configurator/converters/ComponentValueSetter.java HTH > All info is in the pom... > > /Anders > > On Thu, May 19, 2011 at 09:36, Anders Hammar <[email protected]> wrote: > >> Anything wrong with the sources jar at central? >> >> /Anders >> >> >> On Thu, May 19, 2011 at 08:01, rydnr <[email protected]> wrote: >> >>> Hi, >>> >>> While trying to make one of my maven plugins, I'm getting a npe with the >>> following stack trace: >>> >>> ERROR] Internal error: java.lang.NullPointerException -> [Help 1] >>> org.apache.maven.InternalErrorException: Internal error: >>> java.lang.NullPointerException >>> at >>> >>> org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128) >>> at >>> >>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95) >>> 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) >>> [/home/chous/dev/ventura24/svn/nlp-games/trunk] >>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) >>> [/home/chous/dev/ventura24/svn/nlp-games/trunk] >>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) >>> [/home/chous/dev/ventura24/svn/nlp-games/trunk] >>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> [/home/chous/dev/ventura24/svn/nlp-games/trunk] >>> at >>> >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> at >>> >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> 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: java.lang.NullPointerException >>> at >>> >>> org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.configure(ComponentValueSetter.java:331) >>> at >>> >>> org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:151) >>> at >>> >>> org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:56) >>> at >>> >>> org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:567) >>> at >>> >>> org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:529) >>> at >>> >>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:92) >>> 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) >>> >>> >>> However, I'm unable to find the correct plexus-container-default source >>> code. >>> No luck with sonatype svn repository either. Could anyone point me to the >>> correct place to find it? I mean, one in which >>> ComponentValueSetter.java:331 >>> actually exists. >>> >>> The problem is that the plugin works fine with maven 2.x, and I'm trying >>> to >>> find out which setting is not being found. >>> >>> Or any idea why it could be failing in maven-3.0.3... >>> >>> Thank you very much! >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
