diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/building/ArtifactModelSource.java b/maven-model-builder/src/main/java/org/apache/maven/model/building/ArtifactModelSource.java index 3351290dafb8..ca8a1bf103b0 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/building/ArtifactModelSource.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/building/ArtifactModelSource.java @@ -81,4 +81,9 @@ public boolean equals(Object obj) { && Objects.equals(groupId, other.groupId) && Objects.equals(version, other.version); } + + @Override + public String toString() { + return groupId + ":" + artifactId + ":" + version; + } }