Skip to content

Commit

Permalink
Allow specifying a groupId pattern with ':' as a suffix for quarkus -…
Browse files Browse the repository at this point in the history
…-trace command
  • Loading branch information
aloubyansky committed Dec 11, 2023
1 parent e948223 commit ef29fa8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion domino/app/src/main/java/io/quarkus/domino/cli/Quarkus.java
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit ef29fa8

Please sign in to comment.