mirror of https://github.com/apache/maven.git
[MNG-8140] Always tell why model was discarded as "invalid" (#1555)
The info is there, but we redirect user to rinse-repeat in debug mode, that that creates a TON of output. All is there, just tell why. --- https://issues.apache.org/jira/browse/MNG-8140
This commit is contained in:
parent
741deac98f
commit
66266e5315
|
@ -96,12 +96,7 @@ class LoggingRepositoryListener extends AbstractRepositoryListener {
|
|||
buffer.append("The POM for ");
|
||||
buffer.append(event.getArtifact());
|
||||
buffer.append(" is invalid, transitive dependencies (if any) will not be available");
|
||||
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.warn(buffer + ": " + event.getException().getMessage());
|
||||
} else {
|
||||
logger.warn(buffer + ", enable debug logging for more details");
|
||||
}
|
||||
logger.warn(buffer + ": " + event.getException().getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue