Bug#542550: maven2: Crash after upgrading to latest plexus libs
Hi Ludovic, I'm on testing and just did a dist-upgrade to catch all the current package versions. Maven 2.2.0 is not in testing yet, it's still in unstable repo. So, if Maven is that sensitive to its dependencies, those should be nailed down in maven2 package, shouldn't they? -Stefan ext Ludovic Claude writes: > Hello Stefan, > > You need to upgrade Maven as well, the current version in the repository > is 2.2.0. Maven is very sensitive to the version of its dependencies. > > Ludovic > > Stefan Hübner a écrit : >> Package: maven2 >> Version: 2.0.9-2 >> Severity: grave >> Justification: renders package unusable >> >> I upgraded to the latest plexus libraries this morning. Now maven2 is >> unusable, as it fails right on start: >> >> sthub...@sthubner-1:~$ mvn -v >> 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 >> >> >> These are the libraries I've upgraded to: >> libplexus-classworlds-java 1.2+svn5720-1 >> libplexus-component-api-java 1.0+svn6316-1 >> libplexus-container-default-java 1.0-alpha-9-stable-1-2 >> libplexus-interactivity-api-java 1.0-alpha-6-2 >> libplexus-interpolation-java 1.7-2 >> libplexus-utils-java 1:1.5.6-3 >> libplexus-velocity-java 1.1.6-1 >> libplexus-classworlds-java 1.5.0-2 >> libplexus-component-api-java 1.0.0~alpha22-2 >> libplexus-container-default-java 1.0-alpha-9-stable-1-4 >> libplexus-containers-java 1.0~beta2-2 >> libplexus-i18n-java 1.0-beta-7+svn6675-3 >> libplexus-interactivity-api-java 1.0-alpha-6-4 >> libplexus-interpolation-java 1.11-2 >> libplexus-utils-java 1:1.5.15-2 >> libplexus-velocity-java 1.1.7-2 >> >> Thanks, >> Stefan >> >> -- System Information: >> Debian Release: squeeze/sid >> APT prefers testing >> APT policy: (500, 'testing') >> Architecture: i386 (i686) >> >> Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores) >> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) >> Shell: /bin/sh linked to /bin/dash >> >> Versions of packages maven2 depends on: >> ii libcommons-cli-java 1.2-2 API for working with the >> command l >> ii libdoxia-java1.1-3 a powerful content generation >> fram >> ii libjsch-java 0.1.41-2pure Java implementation of the >> SS >> ii libjtidy-java7+svn20070309-4 a Java port of HTML Tidy, a >> HTML s >> ii libplexus-interactivity- 1.0-alpha-6-4 interactivity API for the >> Plexus f >> ii libplexus-utils-java 1:1.5.15-2 utilities for the Plexus >> framework >> ii libwagon-java1.0-beta-2-4tools to manage Maven artifacts >> an >> ii libxalan2-java 2.7.1-2 XSL Transformations (XSLT) >> process >> >> maven2 recommends no packages. >> >> maven2 suggests no packages. >> >> -- no debconf information >> >> >> >> ___ >> pkg-java-maintainers mailing list >> pkg-java-maintain...@lists.alioth.debian.org >> http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers >> >> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#542550: maven2: Crash after upgrading to latest plexus libs
Hello Stefan, You need to upgrade Maven as well, the current version in the repository is 2.2.0. Maven is very sensitive to the version of its dependencies. Ludovic Stefan Hübner a écrit : > Package: maven2 > Version: 2.0.9-2 > Severity: grave > Justification: renders package unusable > > I upgraded to the latest plexus libraries this morning. Now maven2 is > unusable, as it fails right on start: > > sthub...@sthubner-1:~$ mvn -v > 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 > > > These are the libraries I've upgraded to: > libplexus-classworlds-java 1.2+svn5720-1 > libplexus-component-api-java 1.0+svn6316-1 > libplexus-container-default-java 1.0-alpha-9-stable-1-2 > libplexus-interactivity-api-java 1.0-alpha-6-2 > libplexus-interpolation-java 1.7-2 > libplexus-utils-java 1:1.5.6-3 > libplexus-velocity-java 1.1.6-1 > libplexus-classworlds-java 1.5.0-2 > libplexus-component-api-java 1.0.0~alpha22-2 > libplexus-container-default-java 1.0-alpha-9-stable-1-4 > libplexus-containers-java 1.0~beta2-2 > libplexus-i18n-java 1.0-beta-7+svn6675-3 > libplexus-interactivity-api-java 1.0-alpha-6-4 > libplexus-interpolation-java 1.11-2 > libplexus-utils-java 1:1.5.15-2 > libplexus-velocity-java 1.1.7-2 > > Thanks, > Stefan > > -- System Information: > Debian Release: squeeze/sid > APT prefers testing > APT policy: (500, 'testing') > Architecture: i386 (i686) > > Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages maven2 depends on: > ii libcommons-cli-java 1.2-2 API for working with the command > l > ii libdoxia-java1.1-3 a powerful content generation > fram > ii libjsch-java 0.1.41-2pure Java implementation of the > SS > ii libjtidy-java7+svn20070309-4 a Java port of HTML Tidy, a HTML > s > ii libplexus-interactivity- 1.0-alpha-6-4 interactivity API for the Plexus > f > ii libplexus-utils-java 1:1.5.15-2 utilities for the Plexus > framework > ii libwagon-java1.0-beta-2-4tools to manage Maven artifacts > an > ii libxalan2-java 2.7.1-2 XSL Transformations (XSLT) > process > > maven2 recommends no packages. > > maven2 suggests no packages. > > -- no debconf information > > > > ___ > pkg-java-maintainers mailing list > pkg-java-maintain...@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers > > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#542550: maven2: Crash after upgrading to latest plexus libs
Package: maven2 Version: 2.0.9-2 Severity: grave Justification: renders package unusable I upgraded to the latest plexus libraries this morning. Now maven2 is unusable, as it fails right on start: sthub...@sthubner-1:~$ mvn -v 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 These are the libraries I've upgraded to: libplexus-classworlds-java 1.2+svn5720-1 libplexus-component-api-java 1.0+svn6316-1 libplexus-container-default-java 1.0-alpha-9-stable-1-2 libplexus-interactivity-api-java 1.0-alpha-6-2 libplexus-interpolation-java 1.7-2 libplexus-utils-java 1:1.5.6-3 libplexus-velocity-java 1.1.6-1 libplexus-classworlds-java 1.5.0-2 libplexus-component-api-java 1.0.0~alpha22-2 libplexus-container-default-java 1.0-alpha-9-stable-1-4 libplexus-containers-java 1.0~beta2-2 libplexus-i18n-java 1.0-beta-7+svn6675-3 libplexus-interactivity-api-java 1.0-alpha-6-4 libplexus-interpolation-java 1.11-2 libplexus-utils-java 1:1.5.15-2 libplexus-velocity-java 1.1.7-2 Thanks, Stefan -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages maven2 depends on: ii libcommons-cli-java 1.2-2 API for working with the command l ii libdoxia-java1.1-3 a powerful content generation fram ii libjsch-java 0.1.41-2pure Java implementation of the SS ii libjtidy-java7+svn20070309-4 a Java port of HTML Tidy, a HTML s ii libplexus-interactivity- 1.0-alpha-6-4 interactivity API for the Plexus f ii libplexus-utils-java 1:1.5.15-2 utilities for the Plexus framework ii libwagon-java1.0-beta-2-4tools to manage Maven artifacts an ii libxalan2-java 2.7.1-2 XSL Transformations (XSLT) process maven2 recommends no packages. maven2 suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org