o Polished log output

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@938411 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2010-04-27 11:11:49 +00:00
parent 83389c3402
commit 1da75bb7ef
1 changed files with 2 additions and 2 deletions

View File

@ -415,8 +415,8 @@ public class DefaultMaven
for ( ModelProblem problem : result.getProblems() )
{
logger.warn( problem.getMessage() + " @ "
+ ModelProblemUtils.formatLocation( problem, result.getProjectId() ) );
String location = ModelProblemUtils.formatLocation( problem, result.getProjectId() );
logger.warn( problem.getMessage() + ( StringUtils.isNotEmpty( location ) ? " @ " + location : "" ) );
}
problems = true;