Skip to content

Conversation

@vlsi
Copy link
Collaborator

@vlsi vlsi commented Jul 12, 2023

Description

Technically speaking, Maven could use dependencyManagement / scope=import for resolution, so we would rather have it for the documentation purposes.

At the same time, we put "resolved" versions in the published poms (e.g. to help human consumers, and avoid discrepancies between Maven resolution and Gradle resolution). However, previously we used "runtimeClasspath" for resolving versions for scope=compile, and it does not work for dependencies which are "compile-only".

So the important change here is fromResolutionOf("runtimeClasspath") -> fromResolutionResult() which would default to use compileClasspath for compile dependencies.

@vlsi vlsi added the chore label Jul 12, 2023
@vlsi vlsi added this to the 5.6.3 milestone Jul 12, 2023
@vlsi vlsi merged commit 94a85af into apache:master Jul 13, 2023
@vlsi vlsi deleted the boms branch December 27, 2023 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant