I'm using the Maven cobertura plugin to retrieve my unit test code covering and I'm using it through the command line:
mvn cobertura:cobertura
What I would like to do is configure the exclusions from command line. As you can see from the official documentation, we can configure an instrumentation user property.
This Instrumentation Configuration object has the below structure:
<instrumentation>
<excludes>
<exclude>com/example/dullcode/**/*.class</exclude>
</excludes>
</instrumentation>
Is there any way to configure a complex object like the above using only the command line in the form of
-Dcobertura.instrumentation.excludes.<something>=com/example/dullcode/**/*.class
?