1 Reply Latest reply: Jun 12, 2011 10:42 AM by Aslak Knutsen RSS

running maven site on a project with Arquillian tests

Samitha Jayathilaka Newbie

Is there a special procedure to get the mvn site reports when you have Arquillian tests?

The project i'm working on has several Arquillian tests. And I ran a maven site generation command with the following command:

mvn -Pjbossas-remote-6 site:site

but all the Arquillian tests fail with errors.

I get all the other reports without no hassle. But the corbertura report only has the test coverage of non Arquillian tests.


The surefire report says:

java.lang.NoClassDefFoundError: net/sourceforge/cobertura/coveragedata/HasBeenInstrumented

There are no errors on the jboss log. the test.war clearly deploys.


it's clear i can solve this issue with adding

to the shrinkwrap archive. But i'd like another solution if there is one.