Skip to content

Commit

Permalink
Merge pull request #35130 from gsmet/lenient-platform
Browse files Browse the repository at this point in the history
Also support Universe BOM
  • Loading branch information
gsmet authored Aug 1, 2023
2 parents 5fc38b9 + 39795b6 commit 4e512ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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

0 comments on commit 4e512ee

Please sign in to comment.