actually output the warning message

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220221 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-07-22 00:37:22 +00:00
parent aa59559efb
commit bc2211c160
1 changed files with 3 additions and 2 deletions

View File

@ -104,14 +104,15 @@ public class MavenMetadataSource
artifact.setVersion( relocation.getVersion() ); artifact.setVersion( relocation.getVersion() );
} }
String message = pomArtifact + " has been relocated to " + artifact + ".\n"; String message = "\n This artifact has been relocated to " + artifact.getGroupId() + ":" +
artifact.getArtifactId() + ":" + artifact.getVersion() + ".\n\n";
if ( relocation.getMessage() != null ) if ( relocation.getMessage() != null )
{ {
message += relocation.getMessage(); message += relocation.getMessage();
} }
// getLogger().warn( message ); getLogger().warn( message );
} }
else else
{ {