Hi Tom,

this is a open issue since long time: The JaCoCo Maven plug-in currently only supports code coverage for single modules.

Cheers,
-marc

On 2014-08-13 17:16, [email protected] wrote:
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.

--
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to