I want to do something between instrumentation and test when I run command mvn cobertura:cobertura.
The goal ‘cobertura’ in this command originally depends on ‘instrument’ and what I want is to do sth after this ‘instrument’ process and then run test
my idea is abstract my requirement into a maven plugin, called like ‘my-plugin’ and is there a way to make it run between the two cobertura goals(instrument, test)
You need to define two executions of the cobertura plugin which can be achieved like the following: