mirror of https://github.com/apache/maven.git
o check to make sure that system scoped artifacts are not null before checking if they exist.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@495103 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
990f9a55c9
commit
6d9caff89f
|
@ -86,7 +86,7 @@ public class DefaultArtifactResolver
|
|||
{
|
||||
File systemFile = artifact.getFile();
|
||||
|
||||
if ( !systemFile.exists() )
|
||||
if ( systemFile == null || !systemFile.exists() )
|
||||
{
|
||||
throw new ArtifactNotFoundException(
|
||||
"System artifact: " + artifact + " not found in path: " + systemFile, artifact );
|
||||
|
|
Loading…
Reference in New Issue