commit | 321e432d6a9887ef3ea056e81b3221ab6287f82b | [log] [tgz] |
---|---|---|
author | Guillaume Nodet <gnodet@apache.org> | Tue Mar 02 15:04:04 2010 +0000 |
committer | Guillaume Nodet <gnodet@apache.org> | Tue Mar 02 15:04:04 2010 +0000 |
tree | f503dd2ac516c582bd04ff3418e65a952327281a | |
parent | c738f3218e7379ebe7d1eabe0160ff857d7eccfc [diff] |
FELIX-2155: the maven bundle plugin generates wrong capabilities for packages with directives git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@918066 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundleplugin/src/main/java/org/osgi/impl/bundle/obr/resource/BundleInfo.java b/bundleplugin/src/main/java/org/osgi/impl/bundle/obr/resource/BundleInfo.java index 2a2b554..39e4048 100644 --- a/bundleplugin/src/main/java/org/osgi/impl/bundle/obr/resource/BundleInfo.java +++ b/bundleplugin/src/main/java/org/osgi/impl/bundle/obr/resource/BundleInfo.java
@@ -504,7 +504,7 @@ for (Iterator at = directives.keySet().iterator(); at.hasNext();) { String key = (String) at.next(); Object value = directives.get(key); - capability.addProperty(key, value); + capability.addProperty(key + ":", value); } return capability; }