You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2026/07/20 21:51:09 UTC

(maven-shared-io) branch master updated: fix #96: close unclosed quote in unused tokens warning message (#110)

This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-io.git


The following commit(s) were added to refs/heads/master by this push:
     new c555a53  fix #96: close unclosed quote in unused tokens warning message (#110)
c555a53 is described below

commit c555a53631272f1a8bdc0d363dace4219c01a947
Author: Phaneendra Injarapu <in...@infosys.com>
AuthorDate: Tue Jul 21 03:21:04 2026 +0530

    fix #96: close unclosed quote in unused tokens warning message (#110)
    
    Co-authored-by: pinjarapu <ph...@apple.com>
---
 .../org/apache/maven/shared/io/location/ArtifactLocatorStrategy.java    | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main/java/org/apache/maven/shared/io/location/ArtifactLocatorStrategy.java b/src/main/java/org/apache/maven/shared/io/location/ArtifactLocatorStrategy.java
index ced388d..b24ed9c 100644
--- a/src/main/java/org/apache/maven/shared/io/location/ArtifactLocatorStrategy.java
+++ b/src/main/java/org/apache/maven/shared/io/location/ArtifactLocatorStrategy.java
@@ -140,6 +140,8 @@ public class ArtifactLocatorStrategy implements LocatorStrategy {
                 for (int i = 5; i < parts.length; i++) {
                     messageHolder.append(":" + parts[i]);
                 }
+
+                messageHolder.append("\'");
             }
 
             Artifact artifact;