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

Make sure quarkus-bom platform does not force its BOM over other platforms found in the project #15444

Merged

Conversation

aloubyansky
Copy link
Member

@aloubyansky aloubyansky commented Mar 3, 2021

This change is about properly merging platform descriptors found in the project for the devtools.

Normally, it's a straightforward exercise, i.e. simply collect dependencies that match a pre-defined artifactId suffix.
The ordering of the descriptors in our platform BOMs might not be consistent across different builds though.
So this code is doing rough filtering to make sure the base platform (quarkus-bom) descriptor
does not appear to be forcing its BOM over the other platforms found in the project.
Luckily, though, this code is going to be replaced in the next version using the new extension catalog API.

@quarkus-bot quarkus-bot bot added area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/gradle Gradle area/maven labels Mar 3, 2021
@gsmet
Copy link
Member

gsmet commented Mar 4, 2021

@quarkusio/devtools could someone from devtools review this? AFAIK, we need to backport it to 1.11 so better have a close look at this.

@gastaldi
Copy link
Contributor

gastaldi commented Mar 4, 2021

@aloubyansky how to reproduce this scenario?

@gastaldi
Copy link
Contributor

gastaldi commented Mar 4, 2021

I couldn't reproduce this scenario using 1.12.1.Final or 1.11.5.Final.

Copy link
Contributor

@gastaldi gastaldi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can confirm this fixes the issue for productized versions

@gastaldi gastaldi merged commit 58062c8 into quarkusio:master Mar 4, 2021
@quarkus-bot quarkus-bot bot added this to the 1.13 - master milestone Mar 4, 2021
@gsmet gsmet modified the milestones: 1.13 - master, 1.12.2.Final Mar 8, 2021
@gsmet gsmet modified the milestones: 1.12.2.Final, 1.11.6.Final Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/gradle Gradle area/maven
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants