Applied patch (FELIX-281) to improve handling of nulls for the hashtable.


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@538944 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java b/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java
index 228a1b0..3ec2bec 100644
--- a/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java
+++ b/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java
@@ -126,6 +126,9 @@
   for (Iterator i = instructions.entrySet().iterator(); i.hasNext();) {
     final Map.Entry e = (Map.Entry)i.next();
     final String key = (String)e.getKey();
+    if (e.getValue() == null) {
+      e.setValue("");
+    }
     if (key.startsWith("_")) {
       final String transformedKey = "-"+key.substring(1);
       instructions.put(transformedKey, e.getValue());