Repository navigation
Releases
4.0.0-beta-2
Warning
This plugin is a Maven 4 plugin and requires Maven 4.x to run.
This release brings 7 new parameters to maven-resources-plugin 4.x, exposing capabilities from the companion maven-filtering 4.0.0-beta-2 release: per-resource nonFilteredFiles glob exclusions, graceful binary handling, per-resource ChangeDetection strategy for incremental builds, failOnMissingFilterValue to catch unresolved filter tokens, and outputEncoding for encoding conversion. It also adds 1 bug fix and extensive documentation improvements. Requires Maven 4.x.
π New features and improvements
- feat: expose per-resource nonFilteredFiles glob patterns (MRESOURCES-521) (#534) @gnodet
- feat: expose gracefulBinaryHandling parameter (#536) @gnodet
- feat: expose per-resource changeDetection strategy (MRESOURCES-286) (#535) @gnodet
- Add failOnMissingFilterValue parameter to fail on unresolved filter tokens (MRESOURCES-162) (#532) @gnodet
- Add outputEncoding parameter to enable encoding conversion (MRESOURCES-232) (#531) @gnodet
- Skip resource filtering when no resources are configured (#520) @efegokdemir
- [MRESOURCES-453] - Leverage ChangeDetection from maven-filtering #397 (#527) @gnodet
π Bug Fixes
- fix: clarify binary resource filtering errors (#525) @efegokdemir
π Documentation updates
- [MRESOURCES-300] - Document property precedence order for filtering (#528) @gnodet
- Document that outputDirectory must be scoped to an execution (#530) @gnodet
- Modernise the download page (#509) @slachiewicz
- Convert the FAQ from FML to Markdown (#510) @slachiewicz
- Add AGENTS.md + SECURITY.md security-model pointer for scanner discoverability (#486) @potiuk
- Second person (#85) @elharo
- [MNGSITE-529] - Rename "Goals" to "Plugin Documentation" (#88) @Bukama
- Update custom filters docs (#86) @elharo
- [MRESOURCES-299] - Be more accurate on using filtering element (#81) @pzygielo
π» Maintenance
- Add IT for MRESOURCES-301 - binary JAR files must not be filtered by default (#529) @gnodet
- Trim down runtime dependencies a bit (#424) @gnodet
- Remove redundant project.build.sourceEncoding from IT POMs (#522) @gnodet
- Disable Jenkins build until Maven 4.0.0-rc-7 is installed on agents (#526) @gnodet
- Port the IT scripts from BeanShell to Groovy (#516) @slachiewicz
- Drop backslash escapes that Markdown does not need (#507) @slachiewicz
- Restore the document metadata dropped when the pages were ported (#506) @slachiewicz
- Port the site documentation from APT to Markdown (#504) @slachiewicz
- Use maven4-build instead of hand-rolling the matrix (#502) @slachiewicz
- Build against Maven 4.0.0-rc-6, and honour on testResources (#500) @slachiewicz
- Pass siteMvn as a String so the site stage runs on Maven 4 (#501) @slachiewicz
- Add AGENTS.md + SECURITY.md security-model pointer for scanner discoverability (#486) @potiuk
- Replace fixed version with parent properties in IT (#476) @Bukama
- Cleanup tests (#454) @slachiewicz
- Ignore updates for Mockito 5.x for 3.x branch (#450) @slawekjaranowski
- Add tag-template to release-drafter configuration (#445) @slawekjaranowski
- Migrate site to Doxia 2 (#441) @slachiewicz
- Add integration test for Maven 4 compatibility (fixes #312, #436) (#438) @ascheman
PlexusFileUtilsRefaster recipes (#429) @slachiewicz- JUnit Jupiter best practices (#427) @slachiewicz
- Replace
FileUtils.fileExists(String)with JDK provided API (#428) @slachiewicz - chore: migrate/delete junit 3 tests (#425) @sparsick
- feat: enable prevent branch protection rules (#420) @sparsick
- Enable dependabot for 3.x branch (#99) @slawekjaranowski
- Enable GitHub Issues (#95) @slawekjaranowski
- Add badge for 3.x version (#96) @slawekjaranowski
- Improve release-drafter configuration (#91) @slawekjaranowski
- Add PR Automation and Stale actions (#92) @slawekjaranowski
π§ Build
π¦ Dependency updates
- Bump mavenVersion from 4.0.0-rc-6 to 4.0.0-rc-7 (#523) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-plugins from 49 to 50 (#517) @dependabot[bot]
- Bump com.google.guava:guava from 33.7.0-jre to 33.7.1-jre (#513) @dependabot[bot]
- Bump com.google.guava:guava from 33.6.0-jre to 33.7.0-jre (#512) @dependabot[bot]
- Bump org.eclipse.sisu:org.eclipse.sisu.plexus from 1.0.1 to 1.1.0 (#495) @dependabot[bot]
- Bump apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml from 4 to 5 (#490) @dependabot[bot]
- Bump apache/maven-gh-actions-shared/.github/workflows/stale.yml from 4 to 5 (#489) @dependabot[bot]
- Bump apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml from 4 to 5 (#491) @dependabot[bot]
- Bump apache/maven-gh-actions-shared/.github/workflows/pr-automation.yml from 4 to 5 (#488) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-plugins from 48 to 49 (#483) @dependabot[bot]
- Bump org.eclipse.sisu:org.eclipse.sisu.plexus from 1.0.0 to 1.0.1 (#481) @dependabot[bot]
- Bump com.google.inject:guice from 6.0.0 to 7.0.0 (#482) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-plugins from 47 to 48 (#472) @dependabot[bot]
- Bump commons-io:commons-io from 2.21.0 to 2.22.0 (#470) @dependabot[bot]
- Bump com.google.guava:guava from 33.5.0-jre to 33.6.0-jre (#467) @dependabot[bot]
- Bump org.eclipse.sisu:org.eclipse.sisu.plexus from 0.9.0.M4 to 1.0.0 (#460) @[dependabot[bot]](https://github....
3.5.0
π New features and improvements
π» Maintenance
- Add IT for #444 issue (#446) @slawekjaranowski
- Migration to JUnit 5 - avoid using AbstractMojoTestCase (#449) @slawekjaranowski
- Migration to JUnit 5 - avoid using AbstractMojoTestCase (#447) @slawekjaranowski
π¦ Dependency updates
- Bump org.apache.maven.plugin-testing:maven-plugin-testing-harness from 3.5.0 to 3.5.1 (#461) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-plugins from 45 to 47 (#459) @dependabot[bot]
- Bump org.apache.maven.plugin-testing:maven-plugin-testing-harness from 3.4.0 to 3.5.0 (#457) @dependabot[bot]
- Bump mavenVersion from 3.9.11 to 3.9.12 (#452) @dependabot[bot]
3.4.0
π New features and improvements
- Enable GitHub Issues (#98) @slawekjaranowski
π Documentation updates
- [MNGSITE-529] - Rename "Goals" to "Plugin Documentation" (#89) @Bukama
- [MRESOURCES-299] - Be more accurate on using filtering element (#80) @pzygielo
- Don't bother with very old versions (#59) @elharo
π» Maintenance
- Migrate site to Doxia 2 (#440) @slachiewicz
- Bump Maven to 3.9.11 while keep prerequisites on 3.6.3 (#437) @slachiewicz
PlexusFileUtilsRefaster recipes (#431) @slachiewicz- Add PR Automation action (#94) @slawekjaranowski
- Improve release-drafter configuration (#93) @slawekjaranowski
- Bump org.apache.maven.plugins:maven-plugins from 39 to 41 (#64) @dependabot[bot]
- Add dependency to slf4j-simple for test scope (#60) @slachiewicz
- Use try with resources in integration test (#58) @elharo
- reduce dependency scope of plexus-utils and commons-io (#57) @elharo
π¦ Dependency updates
- Bump org.apache.commons:commons-lang3 from 3.19.0 to 3.20.0 (#439) @dependabot[bot]
- Bump org.apache.maven.resolver:maven-resolver-api from 1.6.3 to 1.9.24 (#413) @dependabot[bot]
- Bump Maven to 3.9.11 while keep prerequisites on 3.6.3 (#437) @slachiewicz
- Bump org.codehaus.plexus:plexus-interpolation from 1.28 to 1.29 (#432) @dependabot[bot]
- Bump m-invoker-p to 3.9.1 (#433) @slachiewicz
- Bump org.apache.maven.plugins:maven-plugins from 43 to 45 (#411) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-interpolation from 1.27 to 1.28 (#114) @dependabot[bot]
- Bump org.apache.maven.plugin-testing:maven-plugin-testing-harness from 3.3.0 to 3.4.0 (#430) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.18.0 to 3.19.0 (#422) @dependabot[bot]
- Bump commons-io:commons-io from 2.19.0 to 2.20.0 (#419) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.17.0 to 3.18.0 (#416) @dependabot[bot]
- Bump commons-io:commons-io from 2.18.0 to 2.19.0 (#117) @dependabot[bot]
- Bump org.apache.maven.shared:maven-filtering from 3.3.2 to 3.4.0 (#107) @dependabot[bot]
- Bump commons-io:commons-io from 2.16.0 to 2.18.0 (#102) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.17.0 (#104) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-plugins from 41 to 43 (#101) @dependabot[bot]
- [MRESOURCES-305] - Bump org.codehaus.plexus:plexus-utils from 3.5.1 to 4.0.0 (#65) @dependabot[bot]
- [MRESOURCES-304] - Bump org.codehaus.plexus:plexus-interpolation from 1.26 to 1.27 (#66) @dependabot[bot]
- [MRESOURCES-303] - Bump org.apache.maven.shared:maven-filtering from 3.3.1 to 3.3.2 (#68) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.12.0 to 3.14.0 (#62) @dependabot[bot]
- [MRESOURCES-302] - Bump commons-io:commons-io from 2.11.0 to 2.16.0 (#69) @dependabot[bot]
- Bump apache/maven-gh-actions-shared from 3 to 4 (#67) @dependabot[bot]
4.0.0-beta-1
Warning
This plugin is a Maven 4 plugin and requires Maven 4.0.0-beta-3 to run.
What's Changed
- reduce dependency scope of plexus-utils and commons-io by @elharo in #57
- Use try with resources in integration test by @elharo in #58
- Don't bother with very old versions by @elharo in #59
- Add dependency to slf4j-simple for test scope by @slachiewicz in #60
- Bump org.apache.maven.plugins:maven-plugins from 39 to 41 by @dependabot in #64
- Bump apache/maven-gh-actions-shared from 3 to 4 by @dependabot in #67
- [MRESOURCES-302] Bump commons-io:commons-io from 2.11.0 to 2.16.0 by @dependabot in #69
- Bump org.apache.commons:commons-lang3 from 3.12.0 to 3.14.0 by @dependabot in #62
- [MRESOURCES-303] Bump org.apache.maven.shared:maven-filtering from 3.3.1 to 3.3.2 by @dependabot in #68
- [MRESOURCES-304] Bump org.codehaus.plexus:plexus-interpolation from 1.26 to 1.27 by @dependabot in #66
- [MRESOURCES-305] Bump org.codehaus.plexus:plexus-utils from 3.5.1 to 4.0.0 by @dependabot in #65
- [MRESOURCES-308] Switch to the Maven 4 API by @gnodet in #35
- Cleanup, add missing dependencies, redirect test output by @gnodet in #75
- Fix license/notice by @gnodet in #76
- Build with JDK 17 and 21 in Jenkins by @gnodet in #77
New Contributors
Full Changelog: maven-resources-plugin-3.3.1...maven-resources-plugin-4.0.0-beta-1
3.3.1
- [MRESOURCES-288] - Make tests-jar reproducible (#56) @cstamas
- [MRESOURCES-297] - Update to parent POM 39, reformat (#55) @cstamas
- [MRESOURCES-293] - Make resources param not read-only (#54) @cstamas
- [MRESOURCES-295] - Drop Plexus legacy code (#53) @cstamas
- [MRESOURCES-294] - Upgrade plexus-utils to 3.5.1 (#52) @slachiewicz
π¨ Removed
π¦ Dependency updates
- Bump apache/maven-gh-actions-shared from 2 to 3 (#46) @dependabot
π Documentation updates
- doc: adds alternative variable syntax using @ delimiters to the documentation (#36) @kevin0x90
3.3.0
π¦ Dependency updates
- Bump maven-filtering from 3.2.0 to 3.3.0 (#32) @dependabot
- Bump plexus-utils from 3.4.1 to 3.4.2 (#28) @dependabot
- Bump commons-io from 1.4 to 2.7 in /src/it/user-filters (#18) @dependabot
- [MRESOURCES-282] - Bump parent-pom from 34 to 36 (#24) @slachiewicz
π Documentation updates
π» Maintenance
- add release drafter (#29) @olamy
- [MRESOURCES-277] - Update plugin (requires Maven 3.2.5+) - Java 8 (#23) @slachiewicz
- [MRESOURCES-283] - Require Java 8 and upgrade deps (#22) @slachiewicz
3.2.0
What's Changed
- [MRESOURCES-259] update commons-io by @elharo in #1
- add .checkstyle to .gitignore by @elharo in #2
- close file by @elharo in #3
- [MRESOURCES-261] update to Maven 3.1 by @elharo in #4
- try with resources by @elharo in #5
- future proof method that is marked for incompatible change by @elharo in #6
New Contributors
Full Changelog: https://github.com/apache/maven-resources-plugin/commits/maven-resources-plugin-3.2.0