diff --git a/domino/app/src/main/java/io/quarkus/domino/cli/Quarkus.java b/domino/app/src/main/java/io/quarkus/domino/cli/Quarkus.java index 201ccb1f..19098867 100644 --- a/domino/app/src/main/java/io/quarkus/domino/cli/Quarkus.java +++ b/domino/app/src/main/java/io/quarkus/domino/cli/Quarkus.java @@ -404,7 +404,11 @@ public static ArtifactCoordsPattern toArtifactCoordsPattern(String wildcardPatte var versionPattern = wildcard; var parts = wildcardPattern.split(":"); if (parts.length > 0) { - artifactIdPattern = parts[0]; + if (parts.length == 1 && wildcardPattern.charAt(wildcardPattern.length() - 1) == ':') { + groupIdPattern = parts[0]; + } else { + artifactIdPattern = parts[0]; + } if (parts.length > 1) { groupIdPattern = parts[0]; artifactIdPattern = parts[1];