felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bimargul...@apache.org
Subject svn commit: r1717436 - /felix/trunk/tools/maven-bundle-plugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
Date Tue, 01 Dec 2015 13:29:55 GMT
Author: bimargulies
Date: Tue Dec  1 13:29:54 2015
New Revision: 1717436

URL: http://svn.apache.org/viewvc?rev=1717436&view=rev
Log:
no jira: add remark about $ escaping for instructions.

Modified:
    felix/trunk/tools/maven-bundle-plugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java

Modified: felix/trunk/tools/maven-bundle-plugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
URL: http://svn.apache.org/viewvc/felix/trunk/tools/maven-bundle-plugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java?rev=1717436&r1=1717435&r2=1717436&view=diff
==============================================================================
--- felix/trunk/tools/maven-bundle-plugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
(original)
+++ felix/trunk/tools/maven-bundle-plugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
Tue Dec  1 13:29:54 2015
@@ -280,6 +280,9 @@ public class BundlePlugin extends Abstra
 
     /**
      * The BND instructions for the bundle.
+     * Maven will expand property macros in these values. If you want to use a BND macro,
you must double the dollar sign
+     * for the plugin to pass it to BND correctly. For example: <br>
+     * {@code <_consumer-policy>$${range;[===,+)}<code>}<code>{@code </_consumer-policy>
}
      */
     @Parameter
     private Map<String, String> instructions = new LinkedHashMap<String, String>();



Mime
View raw message