mirror of https://github.com/apache/maven.git
o Fixed potential NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@929317 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
14094c260b
commit
1b157097df
|
@ -1062,7 +1062,7 @@ public class MavenProject
|
|||
{
|
||||
if ( artifacts == null )
|
||||
{
|
||||
if ( artifactFilter == null )
|
||||
if ( artifactFilter == null || resolvedArtifacts == null )
|
||||
{
|
||||
artifacts = new LinkedHashSet<Artifact>();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue