Repository navigation
Releases
Releases · mojohaus/build-helper-maven-plugin
3.8.0
Build Helper Maven Plugin 3.8.0 lets regex-property and regex-properties apply several regex replacements in order, and quiets the log when a non-match is allowed. The requirements are unchanged: Maven 3.9.0 or later, Java 8.
✨ Highlights
- Ordered regex replacements. The new
replacementslist of regex/replacement pairs works inregex-propertyand in eachregexPropertySettingofregex-properties. Each pair applies to the result of the previous one, so a single property can go through several rewrites. It cannot be combined withregex/replacement, which work as before (#277, #77 by @JonathanLennox; also covers #236 by @donatelloOo). - Quieter non-matches. With
failIfNoMatchset tofalse, a non-match is expected, so it is now logged at debug level instead of info (#278, #152 by @garretwilson). - Documentation moved from APT to Markdown (#271).
🚀 New features and improvements
- Log a tolerated regex non-match at debug level (#278) @slachiewicz
- Add ordered regex replacements to regex-property (#277) @slachiewicz
📝 Documentation updates
- Convert the site documents from APT to Markdown (#271) @slachiewicz
👻 Maintenance
- Configure the mojo unit tests through the plugin testing harness (#276) @slachiewicz
- Test the regex goals' outcomes in unit tests (#275) @slachiewicz
- Test the uptodate goals' mappers in unit tests (#274) @slachiewicz
- Test the add goals' skip parameters in unit tests (#273) @slachiewicz
🔧 Build
- Reuse the cached prefix file in the integration tests (#272) @slachiewicz
Thanks to @slachiewicz.
3.7.0
Build Helper Maven Plugin 3.7.0 adds system time zone support to timestamp-property, literal replacement support to regex-property and regex-properties, and updates the remove-project-artifact deprecation guidance. It requires Maven 3.9.0 or later and Java 8 or later.
✨ Highlights
- System time zone in
timestamp-property: Setting<timeZone>system</timeZone>(case-insensitive) formats the timestamp using the JVM's default time zone instead ofGMT, working with bothcurrentandbuildtime sources (#250). - Literal replacement mode in
regex-propertyandregex-properties: Setting<replacementLiteral>true</replacementLiteral>treats backslashes (\) and dollar signs ($) in<replacement>as literal characters rather than regex group references or escapes — particularly useful when substituting Windows file paths such as${project.build.directory}(#249). - Updated
remove-project-artifactdeprecation guidance: The documentation for the deprecatedremove-project-artifactgoal now points users to Maven Resolver's split local repository feature (-Daether.enhancedLocalRepository.split) as the modern alternative (#268, #270).
🚨 Removed
- Require Maven 3.9.0 (#257) @slachiewicz
🚀 New features and improvements
- Support the system time zone in timestamp-property (#250) @wilx
- Add literal replacement support to regex property goals (#249) @wilx
📝 Documentation updates
- Point the remove-project-artifact deprecation at split local repositories (#268, #270) @slachiewicz
- Add AGENTS.md (#263) @slachiewicz
👻 Maintenance
- Run the surefire IT fixture on JUnit 5 (#269) @slachiewicz
- Replace deprecated @component with JSR 330 injection (#267) @slachiewicz
- Check the reserved ports' guarantees, not exact numbers (#265) @slachiewicz
- Apply the JUnit 5 best practices to the tests (#261) @slachiewicz
- Keep Dependabot on Maven 3.9.x (#259) @slachiewicz
- Write the regex and timestamp verify scripts as assertions (#258) @slachiewicz
- Port the IT scripts from BeanShell to Groovy (#251) @slachiewicz
🔧 Build
- Preload the lifecycle plugins of the Central-backed ITs (#264) @slachiewicz
- Use the runners' cached Temurin JDKs in CI (#262) @slachiewicz
- Run CI on Maven 4 (#260) @slachiewicz
- Assign merged pull requests to the release milestone (#255) @slachiewicz
- Point the released-version ITs at the URL the build uses for central (#256) @slachiewicz
- Run one integration test per CPU core (#254) @slachiewicz
- Check dependencies monthly and group the updates (#253) @slachiewicz
- Run fewer JDKs on macOS and Windows and the ITs in parallel (#252) @slachiewicz
Thanks to @slachiewicz and @wilx.
3.6.2
🐛 Bug Fixes
👻 Maintenance
- Remove redundant maven-resolver-api dependency and ignore Resolver/SLF4J 2.x in Dependabot (#248) @slachiewicz
📦 Dependency updates
11 changes
- Remove redundant maven-resolver-api dependency and ignore Resolver/SLF4J 2.x in Dependabot (#248) @slachiewicz
- Bump org.codehaus.plexus:plexus-utils from 4.0.3 to 4.1.0 (#247) @dependabot[bot]
- Bump apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml from 4 to 5 (#244) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 96 to 97 (#246) @dependabot[bot]
- Bump apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml from 4 to 5 (#245) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-utils from 4.0.2 to 4.0.3 (#241) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 95 to 96 (#240) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 94 to 95 (#235) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 93 to 94 (#233) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 92 to 93 (#232) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 91 to 92 (#231) @dependabot[bot]
3.6.1
📝 Documentation updates
- Rename Goals to Plugin Documentation in the site menu (#229) @slawekjaranowski
- update the documentation for adding more resource directories (#213) @mjj042
👻 Maintenance
- Use common release-drafter configuration (#230) @slawekjaranowski
📦 Dependency updates
- Bump org.codehaus.mojo:mojo-parent from 87 to 91 (#228) @dependabot[bot]
- Bump org.apache.maven.shared:file-management from 3.1.0 to 3.2.0 (#222) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 86 to 87 (#221) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 85 to 86 (#219) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-utils from 4.0.1 to 4.0.2 (#220) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 84 to 85 (#217) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 82 to 84 (#214) @dependabot[bot]
3.6.0
Changes
🚀 New features and improvements
- Deprecate remove-project-artifact goal (#205) @slawekjaranowski
- Parallel execution of uptodate-properties (#201) @mkarg
📦 Dependency updates
- Bump org.codehaus.mojo:mojo-parent from 81 to 82 (#206) @dependabot
- Bump org.codehaus.mojo:mojo-parent from 78 to 81 (#204) @dependabot
- Bump org.codehaus.plexus:plexus-utils from 4.0.0 to 4.0.1 (#202) @dependabot
- Bump apache/maven-gh-actions-shared from 3 to 4 (#200) @dependabot
- Bump release-drafter/release-drafter from 5 to 6 (#195) @dependabot
- Bump org.codehaus.mojo:mojo-parent from 77 to 78 (#193) @dependabot
👻 Maintenance
- Delete link to remove-project-artifact as is deprecated (#210) @slawekjaranowski
- Cleanups dependencies (#209) @slawekjaranowski
- Remove public modifiers from JUnit 5 tests (#208) @slawekjaranowski
- Delete example about remove-project-artifact as is deprecated (#207) @slawekjaranowski
- Fix goal in usage add-test-resource example (#199) @mfussenegger
🔧 Build
- Use shared action for release drafter (#203) @slawekjaranowski
3.5.0
Changes
🚀 New features and improvements
- Add skipIfMissing flag (#187) @hgschmie
- Add skip flags (#186) @hgschmie
- Deprecate maven-version goal (#191) @slawekjaranowski
📦 Dependency updates
- Bump org.codehaus.mojo:mojo-parent from 76 to 77 (#190) @dependabot
- Bump mojo-parent from 75 to 76 (#185) @dependabot
- Bump mojo-parent from 74 to 75 (#184) @dependabot
- Bump plexus-utils from 3.5.1 to 4.0.0 (#183) @dependabot
- Bump maven-plugin-annotations from 3.8.2 to 3.9.0 (#182) @dependabot
👻 Maintenance
- Use plugins versions from parent in ITs (#192) @slawekjaranowski
- Use Maven Apache shared GitHub action (#189) @slawekjaranowski
- Fix antrun version in ITs (#188) @slawekjaranowski
- Bump mojo-parent from 75 to 76 (#185) @dependabot
3.4.0
Changes
🚀 New features and improvements
- Get rid of ArtifactRepository - ${localRepository} (#179) @slawekjaranowski
- Added a property name to the "sources" parameter for CLI usage (#157) @gjd6640
🐛 Bug Fixes
📦 Dependency updates
- Bump maven-plugin-annotations from 3.8.1 to 3.8.2 (#177) @dependabot
- Bump parent from 72 to 74 (#175) @slawekjaranowski
- Bump maven-invoker-plugin to 3.5.1 - add support to run its with Java 20 (#172) @slachiewicz
- Bump actions/stale from 7 to 8 (#171) @dependabot
- Bump maven-plugin-annotations from 3.7.1 to 3.8.1 (#169) @dependabot
- Bump plexus-utils from 3.5.0 to 3.5.1 (#170) @dependabot
- Bump mojo-parent from 70 to 72 (#165) @dependabot
- Bump assertj-core from 3.24.1 to 3.24.2 (#164) @dependabot
- Bump maven-plugin-annotations from 3.7.0 to 3.7.1 (#163) @dependabot
- Bump assertj-core from 3.24.0 to 3.24.1 (#162) @dependabot
- Bump assertj-core from 3.23.1 to 3.24.0 (#161) @dependabot
- Bump actions/stale from 6 to 7 (#160) @dependabot
- Bump maven-plugin-annotations from 3.6.4 to 3.7.0 (#158) @dependabot
- Bump plexus-utils from 3.4.2 to 3.5.0 (#151) @dependabot
- Bump mojo-parent from 69 to 70 (#141) @dependabot
- Bump mojo-parent from 68 to 69 (#140) @dependabot
- Bump mojo-parent from 67 to 68 (#138) @dependabot
- Bump assertj-core from 3.22.0 to 3.23.1 (#137) @dependabot
- Bump plexus-utils from 3.4.1 to 3.4.2 (#135) @dependabot
- Bump actions/stale from 4 to 5 (#132) @dependabot
- Bump actions/setup-java from 2 to 3 (#133) @dependabot
- Bump mojo-parent from 65 to 67 (#130) @dependabot
- Bump actions/checkout from 2 to 3 (#128) @dependabot
- Bump maven-plugin-annotations from 3.6.2 to 3.6.4 (#126) @dependabot
- Bump release-drafter/release-drafter from 5.15.0 to 5.16.1 (#123) @dependabot
- Bump testng from 7.4.0 to 7.5 (#122) @dependabot
- Bump plexus-utils from 3.0.24 to 3.4.1 (#121) @dependabot
👻 Maintenance
- Enable spotless for code formatting (#180) @slawekjaranowski
- Move tests to Junit 5 (#174) @slachiewicz
- Declare Maven Core dependencies as provided (#125) @stefanseifert
- Use only major version (v5) of release drafter (#124) @stefanseifert
3.3.0
Changes
- Fixes #108 - released-version does not detect version if maven repository is not configured to look for snapshot (#109) @stefanseifert
- Add missing whitespace to output of reserve-network-port (#101) @albers
🚀 New features and improvements
- Provide the Mojos logger as variable in the Interpreter context (#72) @MeyerNils
📦 Dependency updates
- Bump testng from 6.9.9 to 7.4.0 (#116) @dependabot
- Bump assertj-core from 1.7.1 to 3.22.0 (#115) @dependabot
- Bump maven-plugin-annotations from 3.5 to 3.6.2 (#117) @dependabot
- Bump mojo-parent from 61 to 65 (#118) @dependabot
- Bump junit from 3.8.1 to 4.13.1 in /src/it/surefire (#104) @dependabot
- Use maven-plugin-plugin in version managed in parent (#97) @pzygielo
👻 Maintenance
- Set min. java version to java 8 (#120) @stefanseifert
- Switch from Travis to GitHub Actions (#114) @stefanseifert
- Fix links to examples (#100) @djarnis73
- Use primitive to allow it to be resolved by @value in javadoc (#99) @pzygielo
- Fix javadoc errors and warning (#98) @pzygielo