Skip to content

Commit

Permalink
Merge pull request #308 from aloubyansky/groupid-collon
Browse files Browse the repository at this point in the history
Allow specifying a groupId pattern with ':' as a suffix for quarkus --trace command
  • Loading branch information
aloubyansky authored Dec 11, 2023
2 parents e948223 + ef29fa8 commit f820412
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 f820412

Please sign in to comment.