Graph plugin supports both namings for product
@@ -113,9 +113,16 @@ public class GraphDatabasePlugin extends Plugin {
var artifact = gidGraph.getProduct() + "@" + gidGraph.getVersion();
- var productParts = gidGraph.getProduct().split("\\.");
- var groupId = String.join(".", Arrays.copyOf(productParts, productParts.length - 1));
- var artifactId = productParts[productParts.length - 1];
+ final String groupId;
+ final String artifactId;
+ if (gidGraph.getProduct().contains(":")) {
+ groupId = gidGraph.getProduct().split(":")[0];
+ artifactId = gidGraph.getProduct().split(":")[1];
+ } else {
+ final var productParts = gidGraph.getProduct().split("\\.");
+ groupId = String.join(".", Arrays.copyOf(productParts, productParts.length - 1));
+ artifactId = productParts[productParts.length - 1];
+ }
var version = gidGraph.getVersion();
var product = artifactId + "_" + groupId + "_" + version;
