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 Mar 12, 2026
Conversation
1 task
…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
…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
aed048c
into
renovate/org.apache.maven.shared-maven-invoker-3.x
3 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
maven-invoker 3.3.0requiresmaven-shared-utils 3.4.2, but dependency mediation resolved3.2.1(transitive viamaven-core 3.8.1:provided), causingNoSuchMethodError: Commandline.setShellEnvironmentInherited(boolean)across all integration tests.Changes
pom.xml: Add explicitmaven-shared-utils 3.4.2withprovidedscope, overriding the3.2.1version pulled in transitivelyprovidedscope is required (nottest) becauseEclipseToMavenMojo.javaimportsorg.apache.maven.shared.utils.WriterFactoryin main source — the same mechanism that previously made3.2.1available at compile time.📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.