Skip to content

Fix maven-invoker 2.2 → 3.3.0 upgrade: resolve maven-shared-utils version conflict#132

Merged
stefanseifert merged 3 commits intorenovate/org.apache.maven.shared-maven-invoker-3.xfrom
copilot/sub-pr-126
Mar 12, 2026
Merged

Fix maven-invoker 2.2 → 3.3.0 upgrade: resolve maven-shared-utils version conflict#132
stefanseifert merged 3 commits intorenovate/org.apache.maven.shared-maven-invoker-3.xfrom
copilot/sub-pr-126

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 12, 2026

maven-invoker 3.3.0 requires maven-shared-utils 3.4.2, but dependency mediation resolved 3.2.1 (transitive via maven-core 3.8.1:provided), causing NoSuchMethodError: Commandline.setShellEnvironmentInherited(boolean) across all integration tests.

Changes

  • pom.xml: Add explicit maven-shared-utils 3.4.2 with provided scope, overriding the 3.2.1 version pulled in transitively

provided scope is required (not test) because EclipseToMavenMojo.java imports org.apache.maven.shared.utils.WriterFactory in main source — the same mechanism that previously made 3.2.1 available at compile time.


📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

…aven-invoker v3 compatibility

Co-authored-by: stefanseifert <5614031+stefanseifert@users.noreply.github.com>
Copilot AI changed the title [WIP] Update dependency org.apache.maven.shared:maven-invoker to v3 Fix maven-invoker v3 upgrade: add explicit maven-shared-utils 3.4.2 test dependency Mar 12, 2026
Copilot AI requested a review from stefanseifert March 12, 2026 16:41
…tion and test runtime

Co-authored-by: stefanseifert <5614031+stefanseifert@users.noreply.github.com>
Copilot AI changed the title Fix maven-invoker v3 upgrade: add explicit maven-shared-utils 3.4.2 test dependency Fix maven-invoker 2.2 → 3.3.0 upgrade: resolve maven-shared-utils version conflict Mar 12, 2026
@stefanseifert stefanseifert marked this pull request as ready for review March 12, 2026 17:05
@stefanseifert stefanseifert merged commit aed048c into renovate/org.apache.maven.shared-maven-invoker-3.x Mar 12, 2026
3 checks passed
@stefanseifert stefanseifert deleted the copilot/sub-pr-126 branch March 12, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants