I have a multi-modul project with one test modul that tests three others. I have already set up the cobertura instrumentation, merging and reporting with maven antrun-plugin described here: cobertura on maven multi module project but I don't override the normal classes with the instrumented ones but store them in a instrumented-classes folder in every modul. In the post-integration-test phase I merge the cobertura.ser files and generate a report in the pom.xml of the test modul which is executed last.
How can I configure tycho-surefire to use the instrumented classes instead of the normal? Otherwise I get always 0% coverage...
I didn't find an easy solution, the cobertura:aggregate goal doesn't work