mirror of https://github.com/apache/maven.git
[MNG-2228] fix null pointer exception
Merged from: 492103, maven-2.0.x branch git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@492104 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3d073bd7d3
commit
a6ddaac0b5
|
@ -90,9 +90,8 @@ public class DefaultExtensionManager
|
|||
PlexusContainer extensionContainer = getExtensionContainer();
|
||||
if ( extensionContainer == null )
|
||||
{
|
||||
extensionContainer = container.createChildContainer( CONTAINER_NAME,
|
||||
Collections.singletonList( artifact.getFile() ),
|
||||
Collections.EMPTY_MAP );
|
||||
extensionContainer =
|
||||
container.createChildContainer( CONTAINER_NAME, Collections.EMPTY_LIST, Collections.EMPTY_MAP );
|
||||
}
|
||||
|
||||
for ( Iterator i = result.getArtifacts().iterator(); i.hasNext(); )
|
||||
|
|
Loading…
Reference in New Issue