Thanks, i will try with maven 3.


On Nov 24, 4:37 pm, Stuart McCulloch <[email protected]> wrote:
> On 24 November 2010 19:32, Stuart McCulloch <[email protected]> wrote:
>
> > On 24 November 2010 18:11, ale <[email protected]> wrote:
>
> >> Hello,
>
> >> When I try to install the latest snapshot I get the following
> >> exception.
>
> > what version of Maven are you using?
>
> ^ try using Maven 3 (if you're not already using it) as it looks like this
> is an issue specific to Maven 2:
>
>    http://www.mail-archive.com/[email protected]/msg81037.html
>
> where it overrides the transitive dependency to plexus-utils and replaces it
> with an incompatible version
>
> > x...@x:~/Java/google/guice-3.0-snapshot-20101120-src$ mvn -e -
> >> Dmaven.test.skip=true install
> >> ...
> >> (more maven stuff)
> >> ....
> >> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to
> >> JarJar: /Java/google/guice-3.0-snapshot-20101120-src/core/target/
> >> classes
> >>        at
>
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
> >> 719)
> >>        at
>
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:
> >> 556)
> >>        at
>
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:
> >> 535)
> >>        at
>
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:
> >> 387)
> >>        at
>
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:
> >> 348)
> >>        at
>
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
> >> 180)
> >>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> >>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> >>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> >>        at
> >> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:
> >> 60)
> >>        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:597)
> >>        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
> >> JarJar: /Java/google/guice-3.0-snapshot-20101120-src/core/target/
> >> classes
> >>        at com.tonicsystems.jarjar.JarJarMojo.execute(JarJarMojo.java:238)
> >>        at
>
> >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
> >> 490)
> >>        at
>
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
> >> 694)
> >>        ... 17 more
> >> Caused by: java.lang.NoSuchMethodError:
> >> org.codehaus.plexus.util.cli.Commandline.getShell()Lorg/codehaus/
> >> plexus/util/cli/shell/Shell;
> >>        at
>
> >> org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributeUtils.executeLs(PlexusIoResourceAttributeUtils.java:
> >> 261)
> >>        at
>
> >> org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributeUtils.getFileAttributesByPath(PlexusIoResourceAttributeUtils.java:
> >> 223)
> >>        at
>
> >> org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributeUtils.getFileAttributesByPath(PlexusIoResourceAttributeUtils.java:
> >> 189)
> >>        at
>
> >> org.codehaus.plexus.components.io.resources.PlexusIoFileResourceCollection.getResources(PlexusIoFileResourceCollection.java:
> >> 175)
> >>        at org.codehaus.plexus.archiver.AbstractArchiver
> >> $1.hasNext(AbstractArchiver.java:435)
> >>        at
>
> >> org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:
> >> 270)
> >>        at
>
> >> org.codehaus.plexus.archiver.zip.AbstractZipArchiver.execute(AbstractZipArchiver.java:
> >> 250)
> >>        at
>
> >> org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractArchiver.java:
> >> 871)
> >>        at com.tonicsystems.jarjar.JarJarMojo.execute(JarJarMojo.java:197)
> >>        ... 19 more
>
> >> Thanks.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "google-guice" group.
> >> To post to this group, send email to [email protected].
> >> To unsubscribe from this group, send email to
> >> [email protected]<google-guice%[email protected]>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/google-guice?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en.

Reply via email to