Hey Guys,
I have another question about JaCoCo.
Why is JaCoCo plugin setting argLine to empty when the plugin execution is
skipped? Why simply does nothing? i.e., do not change argLine.
I come with this question after setup a simple Maven project. In this
project I have a Java agent configured in the argLine directly in
properties section:
```
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<argLine>-javaagent:lib/my-custom-agent.jar
-Doutput.file=target/output.bin</argLine>
</properties>
```
JaCoCo plugin prepend its own configuration in the argLine and Surefire
runs everything perfectly. But when JaCoCo plugin is skipped, the argLine
is set to empty and my custom agent do not run.
I know, I can easily fix this issue by configuring the Surefire plugin. But
there is some technical reason for this behavior?
Thanks in advance
Roberto
--
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/26e73216-6b59-4b2f-9740-622721efd665%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.