I got a maven root project, under which there are many independent modules (e.g. module_A, module_B, etc.).
One of these module is my integration-tests module, and it uses (as maven dependencies) ALL the external modules.
I wish jacoco maven plugin to extend its code coverage to every single class in the above external modules. HOWEVER, it seems like its default behavior doesn’t allow this, as it can't access the external sources.
I managed to overcome this with a quick-n'-dirty use of maven-antrun-plugin, Jacoco report Ant Task, and antcontrib (see
http://intellectualcramps.wordpress.com/2012/03/22/jacoco-tycho-and-coverage-reports/)... It does the job - but it's not good enough.
Does jacoco maven plugin has its own feature for doing so, without using ant?
Thanks!
Tom
--
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.