Skip to content

Bump io.takari.maven.plugins:takari-lifecycle-plugin from 2.3.4 to 2.4.0 - #408

Merged
reda-alaoui merged 1 commit into
masterfrom
dependabot/maven/io.takari.maven.plugins-takari-lifecycle-plugin-2.4.0
Nov 16, 2026
Merged

reda-alaoui merged 1 commit into
masterfrom
dependabot/maven/io.takari.maven.plugins-takari-lifecycle-plugin-2.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor

Bumps io.takari.maven.plugins:takari-lifecycle-plugin from 2.3.4 to 2.4.0.

Release notes

Sourced from io.takari.maven.plugins:takari-lifecycle-plugin's releases.

2.4.0

⚠️ Requirements

  • Maven 3.9.13 or newer is required (was 3.6.3). Maven 3.9.13 is the first 3.9.x release shipping Eclipse Sisu 1.0.0. Older Maven fails with an "unmet prerequisites" error.
  • Java 17 or newer is required to run the build (unchanged). The plugin itself is now compiled to Java 17 bytecode. Projects can still produce Java 8+ bytecode using the release compiler option.
  • Tested with Maven 3.9.13, 3.9.16 and 4.0.0-rc-7 on Linux, macOS and Windows, with JDK 17, 21 and 26.

Behaviour changes

  • -DdeployAtEnd=true now requires the plugin to be declared with <extensions>true</extensions>. Without it, the build used to report success and deploy nothing. It now fails with an explanatory error.
  • New escapeWindowsPaths option for resource filtering (default true, property maven.resources.escapeWindowsPaths), matching maven-resources-plugin. Filtered values that look like Windows paths (C:\...) get their backslashes doubled, so they survive in .properties files. Set it to false for the previous behaviour.
  • exportIncludes of the export-package goal now works. It was ignored before, and every package was exported. Projects that set it now export only the configured packages.
  • Jar entries get fixed file permissions (0644 for files, 0755 for directories) in addition to the fixed timestamps, so jars are more reproducible. Jar bytes differ from those built by 2.3.x.
  • Plugin descriptors use binary names for nested types (Outer$Inner). Mojo parameters of a nested type failed at runtime before with "Cannot load implementation hint".
  • Removed read-only parameters that were never used: reactorProjects, remoteRepositories, mojoExecution and settings from all goals, and pom from the compile goals.

Bug fixes

  • The legacy -DaltDeploymentRepository=id::layout::url format was parsed into the wrong repository id (id::layout), so the wrong credentials were looked up and deploy broke on Windows.
  • A missing distributionManagement caused a NullPointerException instead of a clear error.
  • Deploy-at-end requests from a failed build could leak into the next build in long-lived JVMs (mvnd).
  • pom.properties and test.properties: characters outside Latin-1 were written as ?, and line endings depended on the platform (CRLF on Windows).
  • JDT compiler: a failed .class file write was swallowed, and the build succeeded.
  • Forked javac: multi-line compiler messages and empty annotation processor messages crashed the build.
  • Annotation processing:
    • Messages reported against an annotation now point at the annotation, not the element.
    • Unresolvable processorpath artifacts are now named in the error.
  • Plugin descriptor generation:
    • A type-variable parameter (@Parameter T value) no longer crashes the processor.
    • @Parameter together with @Component on one field is now reported as an error.
    • javac 21+ no longer warns "Supported source version 'RELEASE_7' ... less than -source".

Dependency updates

  • takari-archiver 2.0.0
  • Eclipse JDT core 3.47.0, ECJ 3.46.100, OSGi 3.24.300
  • Eclipse Sisu 1.1.1, ASM 9.11.1, plexus-utils 3.6.2
  • Maven API 3.9.16
  • Removed the gson, plexus-java, commons-exec and maven-settings dependencies, and the direct commons-compress dependency (archiver still pulls it in)

Internal

  • Code moved from java.io.File to NIO2, and modernizer checks are now enforced.
  • Dead code removed (about −1000 lines).
  • CI now really runs on Windows and macOS (before, all jobs ran on Linux), and tests run in parallel JVMs.

Full Changelog: takari/takari-lifecycle@takari-lifecycle-2.3.4...takari-lifecycle-2.4.0

Commits
  • ddf9aea [maven-release-plugin] prepare release takari-lifecycle-2.4.0
  • a301dcc Unpack IT Maven distributions before tests run
  • 6cb0cb5 Escape Windows paths in filtered resources
  • 9f2218e Fix legacy altDeploymentRepository parsing
  • bc646d1 Fix GH
  • 75d8a9a Require Maven 3.9.13+, fix bugs and remove dead code
  • ac69639 Fix annotation processor source version and remove leftovers
  • 0166b04 Update takari-archiver to 2.0.0
  • f9f1fee Bump parent
  • 01db7b3 Enforce modernizer and move from java.io.File to NIO2
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [io.takari.maven.plugins:takari-lifecycle-plugin](https://github.com/takari/takari-lifecycle) from 2.3.4 to 2.4.0.
- [Release notes](https://github.com/takari/takari-lifecycle/releases)
- [Commits](takari/takari-lifecycle@takari-lifecycle-2.3.4...takari-lifecycle-2.4.0)

---
updated-dependencies:
- dependency-name: io.takari.maven.plugins:takari-lifecycle-plugin
  dependency-version: 2.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Nov 16, 2026
@reda-alaoui
reda-alaoui merged commit dac21f5 into master Nov 16, 2026
2 checks passed
@dependabot
dependabot Bot deleted the dependabot/maven/io.takari.maven.plugins-takari-lifecycle-plugin-2.4.0 branch November 16, 2026 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant