[Bug 417164] Re: latest plexus packages breaks Maven

japi eljapi at gmail.com
Tue Oct 20 17:52:16 UTC 2009


Id love to learn how to package stuff for Debian. Any Website where i could
learn or some pointers you can give me?

On Tue, Oct 20, 2009 at 12:33 PM, Ludovic Claude <ludovic.claude at laposte.net
> wrote:

> For people who have Maven2 broken, please install it from my PPA.
> https://launchpad.net/~ludovicc/+ppa-packages
>
> To make a long story short, I did the packaging of Maven 2.2.1 - more than
> 100 updated packages, put it first in Debian, then I had no time to update
> Ubuntu.
> Sorry for the mess, but if there are more people who can help to package
> Java software for Debian and Ubuntu (it's easy!), let me know, I will teach
> you and the next release will shine. There is a Ubuntu Java team (
> https://launchpad.net/~ubuntu-java) and a Debian Java Packaging team (
> http://java.debian.net/), please consider joining them.
>
> Ludovic
>
> --
> latest plexus packages breaks Maven
> https://bugs.launchpad.net/bugs/417164
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “maven2” package in Ubuntu: Confirmed
> Status in “plexus-container-default” package in Ubuntu: Triaged
> Status in “maven2” package in Debian: Fix Released
>
> Bug description:
> after a recent update, Maven no longer works.  running it produces this
> error:
>
> $ mvn
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/codehaus/plexus/component/repository/exception/ComponentLifecycleException
>        at java.lang.Class.getDeclaredMethods0(Native Method)
>        at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>        at java.lang.Class.privateGetPublicMethods(Class.java:2547)
>        at java.lang.Class.getMethods(Class.java:1410)
>        at
> org.codehaus.classworlds.Launcher.getEnhancedMainMethod(Launcher.java:195)
>        at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:294)
>        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: java.lang.ClassNotFoundException:
> org.codehaus.plexus.component.repository.exception.ComponentLifecycleException
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>        at
> org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
>        at
> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
>        at
> org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>        ... 9 more
>
> this may have to do with issue 412839 or issue 414561.  completing issue
> 416312 (upgrade maven to 2.2.1) might be an easy way to fix this...
>

-- 
latest plexus packages breaks Maven
https://bugs.launchpad.net/bugs/417164
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


More information about the universe-bugs mailing list