Closed
Description
It would be nice to have if this Maven plugin had a -D user system property to skip its execution...
I realize that you can use the following in a POM, but can't see how to do this from CLI w.o. changing code:
<configuration>
<skip>true</skip>
</configuration>
As far as I understand Maven, support for being able to do something like mvn -Dmaven.gitcommitid.skip=true package
would have to be coded into the Mojo (although I may be wrong).
FYI: The *.skip suffix naming convention seems to be what all of the core Maven plugins use; e.g. maven.javadoc.ski
, maven.source.skip
etc. or also checkstyle.skip
, findbugs.skip
, pmd.skip
, cpd.skip
, etc.