What is the correct syntax for includes in maven pom for generating report

48 views
Skip to first unread message

leoy...@gmail.com

unread,
Apr 2, 2015, 1:41:27 PM4/2/15
to jac...@googlegroups.com
Hi all,
I am having problem to get includes working in my jacoco pom.xml. I searched around and found this issue: https://github.com/jacoco/jacoco/issues/34 . It said includes should have syntax as Java Name.
So I will expect this will work:
<includes>
<include>com.**</include>
</includes>

But it doesn't work.

It only works if if I put the whole thing is *:
<includes>
<include>*</include>
</includes>

Can someone give me an example to use includes to include all the class under a package. Thanks for your help.


Leo

leoy...@gmail.com

unread,
Apr 2, 2015, 2:07:04 PM4/2/15
to jac...@googlegroups.com, leoy...@gmail.com
Note. I also tried:
<includes>
<include>com/**</include>
</includes>

But it also didn't work

Evgeny Mandrikov

unread,
Apr 3, 2015, 5:41:23 PM4/3/15
to jac...@googlegroups.com, leoy...@gmail.com
Hi,

If some scenario doesn't work for you - provide minimalistic reproducer of a problem. This may greatly speedup process of investigations.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages