mvnDebug cannot find classworlds-1.1.jar
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maven2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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/
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=
- ln -s /usr/share/
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: maven2 2.2.1-2
ProcVersionSign
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Mon May 3 14:31:44 2010
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: maven2