Repository navigation
Releases
4.0.0-beta-2
This release brings significant new capabilities to maven-filtering 4.x, including glob pattern support in filter file paths, a ChangeDetection strategy for incremental builds, per-resource encoding conversion, binary file protection via nonFilteredFiles exclusions and graceful binary handling, and a new failOnMissingFilterValue option to catch unresolved tokens at build time. It also ships 16 bug fixes — covering Windows path normalization, symlink handling, delimiter edge cases, and sensitive property masking in debug logs. Requires Maven 4.x.
🚀 New features and improvements
- feat: support glob patterns in filter file paths (#400) @gnodet
- [MRESOURCES-162] - Add failOnMissingFilterValue option to fail build on unresolved filter tokens (#408) @gnodet
- Add per-resource encoding support (MRESOURCES-281) (#406) @gnodet
- feat: introduce ChangeDetection strategy for file copy (#397) @gnodet
- Add nonFilteredFiles glob exclusions and opt-in gracefulBinaryHandling (#395) @gnodet
- Warn when empty filter file entries are skipped (#390) @efegokdemir
- Reuse bounded reader during interpolation (#389) @efegokdemir
- [MSHARED-1412] - Allow to customize Interpolator used by filter (#104) @kwin
🐛 Bug Fixes
- [MRESOURCES-254] - resolve compound ${} references in property values with custom delimiters (#409) @gnodet
- Expand default non-filtered file extensions to include common binary formats (#405) @gnodet
- fix: handle symlinks in source and destination for copyFile (MSHARED-1004) (#401) @gnodet
- fix: restore first resource entry wins for overlapping declarations (#398) @gnodet
- fix: initialize Resource includes/excludes to empty lists (#399) @gnodet
- fix: remove sensitive property values from debug log output (#403) @gnodet
- Handle relative Windows paths when escaping (#393) @efegokdemir
- Improve malformed input error details (#392) @efegokdemir
- fix: handle missing property values (#391) @efegokdemir
- Fix resource copy log for project base directory (#388) @efegokdemir
- fix: normalize Windows drive paths (#387) @efegokdemir
- Recalculate delimiter reader mark length (#386) @efegokdemir
- Issue 289: filter file names one component at a time (#290) @pbarnes-tibco
- fix: copy missing fields in MavenResourcesExecution.copyOf() (#374) @elharo
- Fix setEscapeString(null) to clear escape state (#373) @elharo
- Add missing EOF checks in MultiDelimiterInterpolatorFilterReaderLineEnding.read() (#348) @elharo
📝 Documentation updates
- Modernise the download page (#372) @slachiewicz
👻 Maintenance
- remove pointless code (#346) @elharo
- Add Apache prefix to ATR project name (#383) @sbp
- Keep SLF4J on 1.7.x and Mockito on 4.x in Dependabot (#382) @slachiewicz
- Unused code (#347) @elharo
- Restore the document metadata dropped when the pages were ported (#371) @slachiewicz
- Port the site documentation from APT to Markdown (#369) @slachiewicz
- Build against Maven 4.0.0-rc-6 (#367) @slachiewicz
- Set up for ATR (#343) @cstamas
- Cleanup tests (#312) @slachiewicz
- feat: enable prevent branch protection rules (#294) @sebtiem
- Enable Github Issues (#154) @Bukama
- [MSHARED-1474] - Upgrade to Maven 4.0.0-rc-2 (#138) @gnodet
- Use Release Drafter from shared and improvements (#139) @slawekjaranowski
- Add PR Automation (#140) @slawekjaranowski
- Update CI to use 4.0.0-beta-4. Added JDK 23 (#128) @slachiewicz
📦 Dependency updates
- build(deps-dev): bump mockitoVersion from 5.23.0 to 5.24.0 (#410) @dependabot[bot]
- Bump mavenVersion from 4.0.0-rc-6 to 4.0.0-rc-7 (#402) @dependabot[bot]
- Bump org.apache.maven.shared:maven-shared-components from 49 to 50 (#385) @dependabot[bot]
- Keep SLF4J on 1.7.x and Mockito on 4.x in Dependabot (#382) @slachiewicz
- Drop Hamcrest from tests (#379) @slachiewicz
- Bump org.codehaus.plexus:plexus-interpolation from 1.29 to 1.30.0 (#375) @dependabot[bot]
- Bump apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml from 4 to 5 (#360) @dependabot[bot]
- Bump apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml from 4 to 5 (#359) @dependabot[bot]
- Bump apache/maven-gh-actions-shared/.github/workflows/stale.yml from 4 to 5 (#361) @dependabot[bot]
- Bump apache/maven-gh-actions-shared/.github/workflows/pr-automation.yml from 4 to 5 (#362) @dependabot[bot]
- Bump org.apache.maven.shared:maven-shared-components from 48 to 49 (#341) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-utils from 3.0.24 to 4.0.3 in /src/test/resources (#331) @dependabot[bot]
- Bump org.apache.maven.shared:maven-shared-components from 47 to 48 (#335) @dependabot[bot]
- Bump mockitoVersion from 5.22.0 to 5.23.0 (#329) @dependabot[bot]
- Bump mockitoVersion from 5.21.0 to 5.22.0 (#324) @dependabot[bot]
- Update to 47 and site to 2.0.0 (#319) @Bukama
- Bump mavenVersion from 4.0.0-rc-2 to 4.0.0-rc-5 (#307) @dependabot[bot]
- Bump mockitoVersion from 5.20.0 to 5.21.0 (#310) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-interpolation from 1.28 to 1.29 (#304) @dependabot[bot]
- Bump mockitoVersion from 5.19.0 to 5.20.0 (#295) @dependabot[bot]
- Bump mockitoVersion from 5.18.0 to 5.19.0 (#292) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-interpolation from 1.27 to 1.28 (#150) @dependabot[bot]
- Bump org.apache.maven.shared:maven-shared-components from 44 to 45 (#284) @dependabot[bot]
- Bump mockitoVersion from 5.16.1 to 5.18.0 (#156) @dependabot[bot]
- Bump org.apache.maven.plugin-testing:maven-plugin-testing-harness from 4.0.0...
3.5.1
🐛 Bug Fixes
- Improve error message for MalformedInputException during resource fil… (#328) @ban-xiu
- Restore "first entry wins" for overlapping resource declarations (#334) @rzo1
👻 Maintenance
📦 Dependency updates
- Bump org.apache.maven.shared:maven-shared-components from 48 to 49 (#342) @dependabot[bot]
- Bump Maven version to 3.9.16 (#340) @slachiewicz
- Bump plexus-utils version to 3.6.1 (#339) @slachiewicz
- Bump org.apache.maven.shared:maven-shared-components from 47 to 48 (#336) @dependabot[bot]
- Bump commons-io:commons-io from 2.21.0 to 2.22.0 (#332) @dependabot[bot]
3.5.0
🚀 New features and improvements
- Introduce ChangeDetection (#323) @cstamas
- Use Release Drafter from shared and improvements (#142) @slawekjaranowski
🐛 Bug Fixes
- Issue 289: filter file names one component at a time on 3.x branch (#325) @pbarnes-tibco
👻 Maintenance
- Update site descriptor (#326) @cstamas
- Cleanup tests (#313) @slachiewicz
- Enable Github Issues (3.x) (#155) @Bukama
- Add PR Automation (#141) @slawekjaranowski
📦 Dependency updates
- Bump org.apache.maven.shared:maven-shared-components from 46 to 47 (#318) @dependabot[bot]
- Bump org.apache.maven.shared:maven-shared-components from 45 to 46 (#316) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-testing from 2.0.2 to 2.1.0 (#314) @dependabot[bot]
- Bump Maven to 3.9.12 (#311) @slachiewicz
- Bump org.codehaus.plexus:plexus-testing from 2.0.1 to 2.0.2 (#309) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.19.0 to 3.20.0 (#308) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-interpolation from 1.28 to 1.29 (#305) @dependabot[bot]
- Bump commons-io:commons-io from 2.20.0 to 2.21.0 (#306) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-testing from 1.6.0 to 2.0.1 (#300) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.18.0 to 3.19.0 (#296) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-testing from 1.5.0 to 1.6.0 (#293) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-testing from 1.4.0 to 1.5.0 (#151) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-interpolation from 1.27 to 1.28 (#152) @dependabot[bot]
- Bump commons-io:commons-io from 2.19.0 to 2.20.0 (#291) @dependabot[bot]
- Bump commons-io:commons-io from 2.18.0 to 2.19.0 (#153) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.17.0 to 3.18.0 (#288) @dependabot[bot]
- Bump org.apache.maven.shared:maven-shared-components from 44 to 45 (#285) @dependabot[bot]
- Bump org.apache.maven.shared:maven-shared-components from 43 to 44 (#146) @dependabot[bot]
- Bump commons-io:commons-io from 2.16.1 to 2.18.0 (#133) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.16.0 to 3.17.0 (#118) @dependabot[bot]
- Bump org.hamcrest:hamcrest from 2.2 to 3.0 (#123) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-testing from 1.3.0 to 1.4.0 (#121) @dependabot[bot]
3.4.0
What's Changed
- Bump apache/maven-gh-actions-shared from 3 to 4 by @dependabot in #99
- Bump org.apache.maven.shared:maven-shared-components from 41 to 42 by @dependabot in #103
- [MSHARED-1412] Allow to customize Interpolator used by filter (#104) by @kwin in #114
Full Changelog: maven-filtering-3.3.2...maven-filtering-3.4.0
4.0.0-beta-1
What's Changed
- Bump apache/maven-gh-actions-shared from 3 to 4 by @dependabot in #99
- Bump org.apache.maven.shared:maven-shared-components from 41 to 42 by @dependabot in #103
- [MSHARED-1200] Switch to the Maven 4 API by @gnodet in #46
- Cleanup dependencies by @gnodet in #105
- Redirect test output to files by @gnodet in #109
- Build with JDK 17 and 21 in Jenkins by @gnodet in #111
- Fix license/notice by @gnodet in #110
- Bump org.codehaus.plexus:plexus-interpolation from 1.26 to 1.27 by @dependabot in #106
Full Changelog: maven-filtering-3.3.2...maven-filtering-4.0.0-beta-1
3.3.2
What's Changed
- pick correct hamcrest dependency by @elharo in #74
- Prefer commons lang to plexus utils by @elharo in #75
- [MSHARED-1214] move tag back to HEAD by @elharo in #76
- [MSHARED-1216] Use caching output stream by @gnodet in #73
- Bump org.codehaus.plexus:plexus-utils from 3.0.16 to 3.0.24 in /src/test/resources by @dependabot in #80
- Fix typos and grammar by @Bananeweizen in #81
- Fix 'licenced' typo in PR template by @wborn in #79
- refactor IncrementalResourceFilteringTest by @lalmeras in #82
- [MSHARED-1340] Require Maven 3.6.3+ by @slachiewicz in #88
- Bump commons-io:commons-io from 2.11.0 to 2.15.1 by @dependabot in #86
- Bump org.apache.commons:commons-lang3 from 3.12.0 to 3.14.0 by @dependabot in #84
- [MSHARED-1339] Bump org.apache.maven.shared:maven-shared-components from 39 to 41 by @dependabot in #85
- [MSHARED-1290] Fix PropertyUtils cycle detection results in false positives by @wborn in #78
- [MSHARED-1285] use an up-to-date scanner instead the newscanner by @laeubi in #77
- Bump org.codehaus.plexus:plexus-testing from 1.2.0 to 1.3.0 by @dependabot in #91
- Bump org.codehaus.plexus:plexus-interpolation from 1.26 to 1.27 by @dependabot in #90
- Bump org.codehaus.plexus:plexus-utils from 3.5.1 to 4.0.0 by @dependabot in #87
- Bump release-drafter/release-drafter from 5 to 6 by @dependabot in #94
- Bump org.junit.jupiter:junit-jupiter-api from 5.10.1 to 5.10.2 by @dependabot in #95
- [MSHARED-1351] Fix console message when origin is baseDir by @abelsromero in #93
- [MSHARED-1050] Fix ConcurrentModificationException for maven-filtering by @gnodet in #98
- [MSHARED-1330] Always overwrite files by @gnodet in #97
New Contributors
- @gnodet made their first contribution in #73
- @Bananeweizen made their first contribution in #81
- @wborn made their first contribution in #79
- @lalmeras made their first contribution in #82
- @laeubi made their first contribution in #77
- @abelsromero made their first contribution in #93
Full Changelog: maven-filtering-3.3.1...maven-filtering-3.3.2
What's Changed
- pick correct hamcrest dependency by @elharo in #74
- Prefer commons lang to plexus utils by @elharo in #75
- [MSHARED-1214] move tag back to HEAD by @elharo in #76
- [MSHARED-1216] Use caching output stream by @gnodet in #73
- Bump org.codehaus.plexus:plexus-utils from 3.0.16 to 3.0.24 in /src/test/resources by @dependabot in #80
- Fix typos and grammar by @Bananeweizen in #81
- Fix 'licenced' typo in PR template by @wborn in #79
- refactor IncrementalResourceFilteringTest by @lalmeras in #82
- [MSHARED-1340] Require Maven 3.6.3+ by @slachiewicz in #88
- Bump commons-io:commons-io from 2.11.0 to 2.15.1 by @dependabot in #86
- Bump org.apache.commons:commons-lang3 from 3.12.0 to 3.14.0 by @dependabot in #84
- [MSHARED-1339] Bump org.apache.maven.shared:maven-shared-components from 39 to 41 by @dependabot in #85
- [MSHARED-1290] Fix PropertyUtils cycle detection results in false positives by @wborn in #78
- [MSHARED-1285] use an up-to-date scanner instead the newscanner by @laeubi in #77
- Bump org.codehaus.plexus:plexus-testing from 1.2.0 to 1.3.0 by @dependabot in #91
- Bump org.codehaus.plexus:plexus-interpolation from 1.26 to 1.27 by @dependabot in #90
- Bump org.codehaus.plexus:plexus-utils from 3.5.1 to 4.0.0 by @dependabot in #87
- Bump release-drafter/release-drafter from 5 to 6 by @dependabot in #94
- Bump org.junit.jupiter:junit-jupiter-api from 5.10.1 to 5.10.2 by @dependabot in #95
- [MSHARED-1351] Fix console message when origin is baseDir by @abelsromero in #93
- [MSHARED-1050] Fix ConcurrentModificationException for maven-filtering by @gnodet in #98
- [MSHARED-1330] Always overwrite files by @gnodet in #97
New Contributors
- @gnodet made their first contribution in #73
- @Bananeweizen made their first contribution in #81
- @wborn made their first contribution in #79
- @lalmeras made their first contribution in #82
- @laeubi made their first contribution in #77
- @abelsromero made their first contribution in #93
Full Changelog: maven-filtering-3.3.1...maven-filtering-3.3.2
3.3.0
What's Changed
- fixed cloning of MavenResourcesExecution's instances using copyOf() m… by @loplex in #3
- [MRESOURCES-258] Copying and filtering logic is delegated to FileUtils by @roxspring in #6
- [MSHARED-902] update plexus by @elharo in #8
- [MSHARED-900] update findbugs by @elharo in #9
- [MSHARED-901] update test dependencies by @elharo in #7
- [MSHARED-935] update issues URL by @elharo in #10
- [MSHARED-936] update to maven 3.1.0 by @elharo in #11
- replace deprecated methods by @elharo in #12
- replace deprecated code in favor of Java 7 core and apache commons libraries by @elharo in #13
- declare dependencies by @elharo in #14
- Bump junit from 4.13 to 4.13.2 by @dependabot in #16
- [MSHARED-1080] Parent POM 36, Java8, drop legacy. by @cstamas in #38
New Contributors
- @loplex made their first contribution in #3
- @roxspring made their first contribution in #6
- @elharo made their first contribution in #8
- @dependabot made their first contribution in #16
- @cstamas made their first contribution in #38
Full Changelog: https://github.com/apache/maven-filtering/commits/maven-filtering-3.3.0