mirror of https://github.com/apache/maven.git
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:
parent
aa59559efb
commit
bc2211c160
|
@ -104,14 +104,15 @@ public class MavenMetadataSource
|
|||
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 )
|
||||
{
|
||||
message += relocation.getMessage();
|
||||
}
|
||||
|
||||
// getLogger().warn( message );
|
||||
getLogger().warn( message );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue