By using the excludes parameter of the report plugin. See documentation:

https://www.jacoco.org/jacoco/trunk/doc/report-mojo.html 

For example:

    <excludes>
        <exclude>my/unwanted/package/*</exclude>
    </excludes>

Cheers,
-marc 

On 2018-09-14 04:30, [email protected] wrote:

> How to exclude packages while using jacoco maven plugin.
> 
> Thanks in advance. 
> 
> -Raj 
> 
> -- 
> 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/a9625cb8-2427-4fbc-8251-71e44087209f%40googlegroups.com
>  [1].
> For more options, visit https://groups.google.com/d/optout.

 

Links:
------
[1]
https://groups.google.com/d/msgid/jacoco/a9625cb8-2427-4fbc-8251-71e44087209f%40googlegroups.com?utm_medium=email&amp;utm_source=footer

-- 
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/922b2b94148bab9286d85b289beaab70%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to