Apply patch to fix a NPE in manifest goal (FELIX-326).

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@555293 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundleplugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java b/bundleplugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java
index 41e8780..bdba885 100644
--- a/bundleplugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java
+++ b/bundleplugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java
@@ -111,9 +111,12 @@
 
         if ( project.getArtifact().getFile() == null )
         {
-            throw new NullPointerException( "Artifact file is null" );
+            analyzer.setJar( getOutputDirectory() );
         }
-        analyzer.setJar( project.getArtifact().getFile() );
+        else
+        {
+            analyzer.setJar( project.getArtifact().getFile() );
+        }
 
         if ( classpath != null )
             analyzer.setClasspath( classpath );