gastaldi commented on a change in pull request #543:
URL: https://github.com/apache/maven/pull/543#discussion_r710439035



##########
File path: 
maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java
##########
@@ -190,8 +191,20 @@ public DependencyResolutionResult resolve( 
DependencyResolutionRequest request )
             {
                 if ( !child.getRelocations().isEmpty() )
                 {
-                    logger.warn( "The artifact " + child.getRelocations().get( 
0 ) + " has been relocated to "
-                        + child.getDependency().getArtifact() );
+                    org.eclipse.aether.artifact.Artifact artifact = 
child.getRelocations().get( 0 );
+                    StringBuilder message = new StringBuilder();
+                    message.append( "The artifact " ).append( artifact )

Review comment:
       Anyway, I changed that to String if that's an issue




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to