How to exclude packages while using jacoco maven plugin

46 views
Skip to first unread message

raj.se...@gmail.com

unread,
Sep 13, 2018, 10:30:55 PM9/13/18
to JaCoCo and EclEmma Users
How to exclude packages while using jacoco maven plugin.

Thanks in advance.

-Raj

Marc Hoffmann

unread,
Sep 14, 2018, 6:28:13 AM9/14/18
to jac...@googlegroups.com

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

--
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 jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/a9625cb8-2427-4fbc-8251-71e44087209f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


raj.se...@gmail.com

unread,
Nov 9, 2018, 7:53:01 AM11/9/18
to JaCoCo and EclEmma Users
Thanks
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages