-
Notifications
You must be signed in to change notification settings - Fork 54
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
Please provide options to exclude some values from the generated git.properties #3
Comments
@tha2015 what properties do you actually want to see and care about? |
Currently the plugin always generates 8 below properties git.commit.id But I just want to 4 properties as below I don't want to 4 other properties The reason is because I don't want to make visible some information in the output JAR file. Thanks for the plugin. |
@tha2015 please try if omitted, then by default all keys will be printed. if you define
then plugin will put only these properties. |
I got the below error
I think it is because keys is defined as a Map in the below class class GitPropertiesPluginExtension {
...
Map keys
} I guess it should be defined as a List instead. |
@tha2015 , you're right - please try just published v |
It works well now. Thank you very much. |
I'm like to exclude some properties from generated git.properties
git.commit.user.email
git.commit.user.name
git.commit.message.short
git.commit.message.full
Please provide options to exclude these properties. Thanks.
The text was updated successfully, but these errors were encountered: