Closed jgebal closed 2 years ago
Whilst you can set a default phase for a goal, I don't believe you can set a default goal for a plugin.
You can provide a custom Maven lifecycle to achieve it, but this would be fairly intrusive for consuming projects. I think the right trade-off is default phase but explicit goal unfortunately.
As adianhj says this is not possible.
pom.xml
configuration requires the goal to be set explicitly - without it, plugin does not execute in test phase. Instead of thispom.xml
contentI'd rather have this as minimum.