From e75557e7294a9d5db27935f62c666889081d6812 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Tue, 16 May 2023 10:18:50 +0200 Subject: [PATCH] [MNG-7783] Profile source point to file instead of to module --- .../org/apache/maven/model/building/ArtifactModelSource.java | 5 +++++ 1 file changed, 5 insertions(+) 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; + } }