I am using maven 3.0.4, JRE 1.7.0_09
.
When I use mvn clean install
all my tests passes and everything looks good - here is my surefire plugin confi
Further to this, the issue we had was to do with Cobertura and the version of Xalan/Xerces.
Looking at http://mojo.codehaus.org/cobertura-maven-plugin/dependencies.html, it can be seen that the cobertura plugin has Transitive Dependencies on Xalan 2.6.0 & Xerces at 2.6.2.
To combat this, I added:
xalan
xalan
2.7.1
test
xerces
xercesImpl
2.11.0
test
And the tests passed, both during the initial test phase with surefire and the cobertura phase.