Benjamin Bentmann wrote:
Sonatype's Hudson instance just started re-building
... and happily failed at running the ITs. The bottom line of the build
Exception in thread "main" java.lang.NoClassDefFoundError:
/home/j2ee-hudson/apache-maven-2/1-SNAPSHOT/boot/plexus-classworlds-1/2-alpha-13/jar
indicates a relation with my change.
I believe I tracked this down to some problematic setup: It appears the
bootstrapping is not deleting the previous Maven distribution, i.e.
never deletes files but only adds/updates files. Hence, the contents of
M2_HOME/boot will be
- plexus-classworlds-1.2-alpha-12.jar (from before) and
- plexus-classworlds-1.2-alpha-13.jar (by my change)
Then the line
-classpath "${M2_HOME}"/boot/plexus-classworlds-*.jar \
from the Unix shell scripts will pick up both these JARs but separates
them with a space, making the later JAR to be interpreted as the main
class for the JVM.
Benjamin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]