I need a wee bit of help. I would like to do something like this:
1. compile
2. cobertura instrument
3. emma instrument
4. run tests
5. cobertura report
6. emma report
7. junit report
8. xdoc
At the moment I'm just doing maven with goals cobertura, emma, junit and xdoc. If I'm right, the tests are being executed for every goal separately and I'm not sure if this is needed. I suppose tests could be ran just once (correct me if I'm wrong) and then I could just generate the appropriate reports. Still, I'm not sure how to do this from Maven (1.0.2). I'm close to just writing a batch that would do everything from the command line, but I'd like to know if there is some Maven approach to it.