Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore references to boms in the generated pom.xml files #6046

Merged
merged 1 commit into from
Jul 13, 2023

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