properties-maven-plugin
properties-maven-plugin copied to clipboard
Add the possibility to exclude some keys to write or/and generate (or not) the comment header with the timestamp
Add the possibility to exclude some keys to write and generate (or not) the comment header with the timestamp.
I need to generate properties file but without some property keys (notably the generated based on random value or timestamp value or environment based) and need not to have the timestamp of the generation of the properties. It permits have exactly the same properties file in order not to have some conflicts based on these generated properties.
I added the exclusionRegex parameter (not required) to exclude some keys. I added the generateCommentHeader parameter (not required, defauted to true) to remove the comment header (or not).
If you don't set the 2 parameters, the generation of the properties file is back-compatible.
Don't hesitate if you have any comment on the pull-request.
Any news?
hi, could you review recent changes (ie rebase on master) and adjust your proposal ?