-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System user property to skip? #268
Comments
If that's implemented this way by these other plugins it seems we should do it too. The plugin is not very actively developed by myself, however I'm happy to review/merge/and release if you'd provide a PR for this. |
Should be super easy to add this. Magic is hidden here: Based on https://maven.apache.org/guides/plugin/guide-java-plugin-development#Parameters
/**
* The greeting to display.
*/
@Parameter( property = "sayhi.greeting", defaultValue = "Hello World!" )
private String greeting;
|
This is great, was just looking for something like this. Any idea when the 2.2.3 version will be released to Maven Central? |
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:
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 alsocheckstyle.skip
,findbugs.skip
,pmd.skip
,cpd.skip
, etc.The text was updated successfully, but these errors were encountered: