mirror of https://github.com/apache/maven.git
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:
parent
1c779c537a
commit
937014c33e
|
@ -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 );
|
||||
}
|
||||
|
|
|
@ -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" );
|
||||
|
|
Loading…
Reference in New Issue