properties-maven-plugin icon indicating copy to clipboard operation
properties-maven-plugin copied to clipboard

excludes configuration was developed

Open verhas opened this issue 3 years ago • 0 comments

When writing the project properties to a properties file, it writes all the properties, including those defined in the ~/.m2/settings.xml file. Some of these properties are sensitive, for example, gpg.password I use to sign the projects to deploy to maven central.

This patch adds an optional excludes/exclude property where users can list the properties they do not want to be dumped into the output file.

The exclusion can also be configured using a regular expression.

The properties header can be filtered out from the output file.

verhas avatar Jan 31 '22 12:01 verhas