Moved validation errors to debug. This will still fail the build in critical cases.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721246 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Britton Isbell 2008-11-27 17:32:55 +00:00
parent 1c779c537a
commit 937014c33e
2 changed files with 2 additions and 2 deletions

View File

@ -563,7 +563,7 @@ public class DefaultMavenProjectBuilder
{
for ( String s : (List<String>) validationResult.getMessages() )
{
System.out.println( s );
logger.debug( s );
}
throw new InvalidProjectModelException( projectId, "Failed to validate POM", pomFile, validationResult );
}

View File

@ -372,7 +372,7 @@ public class MavenMetadataSource
}
else
{
getLogger().warn( "\n\tDEPRECATION: The POM for the artifact '" + artifact.getDependencyConflictId() +
getLogger().debug( "\n\tDEPRECATION: The POM for the artifact '" + artifact.getDependencyConflictId() +
"' was invalid or not found on any repositories.\n" +
"\tThis may not be supported by future versions of Maven and should be corrected as soon as possible.\n" +
"\tError given: " + e.getMessage() + "\n" );