mvnDebug cannot find classworlds-1.1.jar

Bug #574434 reported by Tycho Lamerigts
16
This bug affects 3 people
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/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

Revision history for this message
Tycho Lamerigts (tycho-lamerigts) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.