Thanks Marc. What you suggested is for using jacoco agent, something like this, right?
<jacoco:dump address="172.29.12.183" port="20488" includes="..." destfile="${jacocoExecPath}/A.exec" reset="false" append="false"/>
Later I asked the mvn plugin scenario (for unit test): for unit test we use the mvn command line and jacoco-maven-plugin in pom.xml file. We do defined '<excludes>' in pom.xml, but it seemed to only affect the 'report' part; the generated .exec files were not affected. How can we include or exclude when dumping .exec files? I looked at the doc and seems prepare-agent can do this... is that true? If ture, where can I find some examples?
Do you have hints or examples for this scenario?
Thanks!
--huafeng