I'm using cobertura (2.0.3) to generate code coverage report in maven build. The issue is that a few test fails only in the coverage report run. The cobertura-maven-plugin is version 2.6.
The tests are using EasyMock (version 3.0 or 3.3 - both issue observed). But somehow the Cobertura plugin is removing the cglib and obgenesis from the classpath of the test run. This reproduces only on our jenkins machine. It is running jdk-1.7.0_51 and maven-3.0.3.
The removed dependencies are the only two above (cglib-nodep-2.2.jar and objenesis-1.2.jar). There are a few added, like asm-4.1 and jetty-6.1.24 that I'm not sure where do they come from. But I suppose this are cobertura dependencies.