[slf4j-dev] "mvn test" on a non-Sun JVM

Thorbjørn Ravn Andersen ravn at runjva.com
Sun Oct 12 14:37:47 CEST 2008


I did some research to see if I could run automated testing on a clean 
room JVM, but it turned out to be a bit harder than originally expected, 
as most prepackaged java stuff in one way or another pulls in OpenJDK.

The most important result was that GNU Classpath is missing JAXP-classes 
needed to run Hudson (which was I was looking for running), and that the 
maven plugins expect quite a bit of Sunnish file layout.  I was 
incapable of making the compile:compiler target look in ecj.jar instead 
of tools.jar (which wasn't there so it failed), so that required adding 
a <fork>true</fork> to pom.xml.  Then the sure-fire reporting failed to 
locate a java program so it could not report whether any tests had 
failed (which caused the build to fail).

So for now, I am putting this away.  Might come back to it later :)

/Thorbjørn



More information about the slf4j-dev mailing list