Skip to content

1.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 09 Nov 22:15
· 1 commit to master since this release
1.4.0

Properties Maven Plugin 1.4.0 adds an encoding setting and key filtering for property files, can write the command-line properties, fixes nested placeholder defaults, and requires Maven 3.9.0 or later. This release is tagged 1.4.0; earlier releases used the properties-maven-plugin-x.y.z tag form.

✨ Highlights

  • encoding sets the character set for reading and writing property files and URLs, for example UTF-8. Without it, .properties files are still read as ISO-8859-1, as the JDK does (#186, #92 by @pbarnes-tibco).
  • includedPropertyKeys and excludedPropertyKeys on read-project-properties choose which keys are imported, matched before keyPrefix is applied (#187, #136 by @cowwoc).
  • includeUserProperties on write-project-properties also writes the -D values from the command line, honoring the key filters (#184).
  • Nested placeholders in default values such as ${defined:${user.home}} resolve without a stray } (#183, reported in #116 by @KyRobbins, whose test from #118 is kept).
  • m2e now runs set-system-properties and write-active-profile-properties in workspace builds (#185).
  • Maven 3.9.0 or later is required (#173). Builds on older Maven versions must stay on 1.3.1.
  • Documentation moved from APT to Markdown (#182).

🚨 Removed

🚀 New features and improvements

  • Add includedPropertyKeys and excludedPropertyKeys to read-project-properties (#187) @slachiewicz
  • Add an encoding parameter to the read and write goals (#186) @slachiewicz
  • Add includeUserProperties to write-project-properties (#184) @slachiewicz

🐛 Bug Fixes

📝 Documentation updates

👻 Maintenance

🔧 Build

📦 Dependency updates

Thanks to @slachiewicz and @KyRobbins.

Full changelog