Your message dated Sun, 4 Mar 2018 18:57:07 +0100
with message-id <20180304175707.xtejmg73gwwnw...@sk2.org>
and subject line Re: Bug#891661: maven: missing Depends on libcommons-cli-java
has caused the Debian Bug report #891661,
regarding maven: missing Depends on libcommons-cli-java
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
891661: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891661
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: maven
Version: 3.5.2-1
Severity: grave
Justification: renders package unusable
When trying to call, say, “mvn clean” without libcommons-cli-java
installed, it errors out:
-----cutting here may damage your screen surface-----
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/cli/ParseException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at
org.codehaus.plexus.classworlds.launcher.Launcher.getEnhancedMainMethod(Launcher.java:172)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:268)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.cli.ParseException
at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
... 10 more
-----cutting here may damage your screen surface-----
Installing that library fixes it, so it’s just a missing Depends.
-- System Information:
Debian Release: buster/sid
APT prefers buildd-unstable
APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.15.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)
Versions of packages maven depends on:
ii default-jre-headless [java7-runtime-headless] 2:1.8-59
ii libjansi-java 1.16-1
ii libmaven3-core-java 3.5.2-1
ii libwagon-file-java 3.0.0-2
ii libwagon-http-shaded-java 3.0.0-2
ii openjdk-8-jre-headless [java7-runtime-headless] 8u151-b12-1
maven recommends no packages.
maven suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Package: maven
Version: 3.5.2-2
On Tue, Feb 27, 2018 at 08:46:23PM +0100, Thorsten Glaser wrote:
> When trying to call, say, “mvn clean” without libcommons-cli-java
> installed, it errors out:
>
[...]
>
> Installing that library fixes it, so it’s just a missing Depends.
Thanks for reporting this Thorsten, the dependency is present in
version 3.5.2-2 (via libmaven3-core-java).
Regards,
Stephen
signature.asc
Description: PGP signature
--- End Message ---