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

Also support Universe BOM #35130

Merged
merged 1 commit into from
Aug 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ public QuarkusCommandOutcome execute(QuarkusCommandInvocation invocation) throws

private static ArtifactCoords getProjectQuarkusPlatformBOM(ProjectState currentState) {
for (ArtifactCoords c : currentState.getPlatformBoms()) {
if (c.getArtifactId().equals(ToolsConstants.DEFAULT_PLATFORM_BOM_ARTIFACT_ID)) {
if (c.getArtifactId().equals(ToolsConstants.DEFAULT_PLATFORM_BOM_ARTIFACT_ID)
|| c.getArtifactId().equals(ToolsConstants.UNIVERSE_PLATFORM_BOM_ARTIFACT_ID)) {
return c;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public interface ToolsConstants {

String DEFAULT_PLATFORM_BOM_GROUP_ID = IO_QUARKUS + ".platform";
String DEFAULT_PLATFORM_BOM_ARTIFACT_ID = "quarkus-bom";
String UNIVERSE_PLATFORM_BOM_ARTIFACT_ID = "quarkus-universe-bom";

String PROP_QUARKUS_CORE_VERSION = "quarkus-core-version";

Expand Down