Hello all,
is it possible to perform coverage of a static void main(String[] args) and 
generate an XML or HTML report directly from the maven plugin?

I'm able to launch from Eclipse a generic java application with "Coverage 
as...", I've also been able to launch from the command line the -javaagent, 
and I've used the generated jacoco.exec in plugin, and from these two 
sessions I can generate the XML or HTML report.

But I would like to automate the generation of the coverage report with my 
maven build:
as far as I've seen, there is only documentation for performing the 
analysis during junit tests (suerefire plugin) or integration tests 
(failsafe plugin).

Ideally, I would like launch the command "mvn exec:java ..." and I want to 
collect the coverage report of this execution.
What am I missing?

Thank you very much!
Cristiano

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/89fbda2b-f6e5-41b5-ae0d-9b970fffdbe9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to