Skip to content

Conversation

@gnodet
Copy link
Contributor

@gnodet gnodet commented Oct 9, 2025

Backport

This will backport the following commits from master to maven-4.0.x:

Questions ?

Please refer to the Backport tool documentation

…1162 (apache#11163)

Behavior:
- Keep only dependencies with transitive scopes (DependencyScope.isTransitive); null/empty treated as COMPILE
- Use MAIN_RUNTIME for dependency collection
- Drop all non-transitive scopes from consumer POM

(cherry picked from commit 129dc52)
@gnodet gnodet added bug Something isn't working backport labels Oct 9, 2025
@gnodet gnodet merged commit fc73465 into apache:maven-4.0.x Oct 9, 2025
19 checks passed
@github-actions github-actions bot added this to the 4.0.0 milestone Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant