While you can do what Marc proposed, recommended way of JaCoCo usage/integration - is agent, mainly because of its simplicity in understanding by end-users, especially compared to ClassLoaders.
Moreover On Friday, December 14, 2018 at 2:16:06 PM UTC+1, sormu...@gmail.com wrote: > > At the moment, the new Maven Plugin executes tests "in-process" -- > IMO execution of tests inside of Maven process is a bad idea in general. Not only agents can't be used, but also impossible to specify any other JVM options without affecting Maven - think about "-Xmx", "-D", etc. So my advice will be to support out-of-Maven-process execution early. After that support of JaCoCo IMO will be much simpler to develop and maintain for you, and most importantly simpler to understand for end-users who are already familiar with usage of JaCoCo with maven-surefire-plugin. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/d1ac0754-73e2-4572-b0d6-ba93529b8474%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.