Public bug reported:

Binary package hint: maven2

/usr/bin/mvnDebug is a shell script that searches for classworlds-*.jar
in $M2_HOME. This fails because

- the maven2 package does not set M2_HOME to any value
- the maven2 package has renamed classworlds-1.1.jar to classworlds.jar, 
located in /usr/share/maven2/boot

As a result, there is no easy way to get mvnDebug to work on Lucid.

The workaround  I did to get it to work is as follows, but a more robust
solution is probably in order:

- export M2_HOME=/usr/share/maven2
- ln -s /usr/share/maven2/boot/classworlds.jar 
/usr/share/maven2/boot/classworlds-1.1.jar

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: maven2 2.2.1-2
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Mon May  3 14:31:44 2010
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: maven2

** Affects: maven2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
mvnDebug cannot find classworlds-1.1.jar
https://bugs.launchpad.net/bugs/574434
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to