mirror of https://github.com/apache/maven.git
o Added method to easily check for result of resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@814027 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d8951da832
commit
044835055b
|
@ -141,6 +141,11 @@ public class ArtifactResolutionResult
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isSuccess()
|
||||||
|
{
|
||||||
|
return !( hasMissingArtifacts() || hasExceptions() );
|
||||||
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------
|
// ------------------------------------------------------------------------
|
||||||
// Exceptions
|
// Exceptions
|
||||||
// ------------------------------------------------------------------------
|
// ------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue