Skip to content

Commit

Permalink
Also handle the RHBQ Platform
Browse files Browse the repository at this point in the history
(cherry picked from commit 56fdbd9)
  • Loading branch information
gsmet committed Mar 30, 2022
1 parent 7c96293 commit 68fd9d1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public final class QuarkusCodestartCatalog extends GenericCodestartCatalog<Quark
public static final String INPUT_PROVIDED_CODE_KEY = "provided-code";
private static final String IO_QUARKUS_GROUP_ID = "io.quarkus";
private static final String IO_QUARKUS_PLATFORM_GROUP_ID = "io.quarkus.platform";
private static final String COM_REDHAT_QUARKUS_PLATFORM_GROUP_ID = "com.redhat.quarkus.platform";
private static final String QUARKUS_BOM = "quarkus-bom";
private static final String QUARKUS_UNIVERSE_BOM = "quarkus-universe-bom";
private static final Set<String> LANGUAGE_EXTENSIONS = Set.of("quarkus-kotlin", "quarkus-scala");
Expand Down Expand Up @@ -211,7 +212,8 @@ private boolean isUniverseBom(ArtifactCoords artifactCoords) {
}

private boolean isPlatformBom(ArtifactCoords artifactCoords) {
return IO_QUARKUS_PLATFORM_GROUP_ID.equals(artifactCoords.getGroupId())
return (IO_QUARKUS_PLATFORM_GROUP_ID.equals(artifactCoords.getGroupId()) ||
COM_REDHAT_QUARKUS_PLATFORM_GROUP_ID.equals(artifactCoords.getGroupId()))
&& QUARKUS_BOM.equals(artifactCoords.getArtifactId());
}

Expand Down

0 comments on commit 68fd9d1

Please sign in to comment.