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

Accept a list of quarkus extensions in the quarkus-platform-bom-maven-plugin #64

Open
rsynek opened this issue Jul 28, 2021 · 0 comments

Comments

@rsynek
Copy link

rsynek commented Jul 28, 2021

The quarkus-platform-bom-maven-plugin currently requires a BOM (e.g. org.optaplanner:optaplanner-bom) as an input to generate a platform member BOM (e.g. io.quarkus.platform:quarkus-optaplanner-bom).

The input BOM is supposed to define also versions of dependencies of all related Quarkus extensions, which forces the dependencyManagement of the project the extensions belong (e.g. https://github.com/kiegroup/optaplanner) to be split into two parts:
1/ dependencies of Quarkus extensions
2/ everything else
This approach creates a maintenance burden on the platform participant project and does not guarantee the dependencyManagement is correct; think of overriding the BOM in some other place in the participant project's structure.

The proposal is to pass the list of GAV of related Quarkus extensions and a single pom.xml file declaring dependencyManagement for the entire project. The quarkus-platform-bom-maven-plugin would then pick only those dependencyManagement entries from the pom.xml file that the extensions truly depend upon.

@aloubyansky I took the liberty of filing this issue so that we can track and further discuss what we talked about today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant