You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by pd...@apache.org on 2013/09/13 22:30:43 UTC

svn commit: r1523085 - /felix/site/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-scr-bndtools-use.mdtext

Author: pderop
Date: Fri Sep 13 20:30:43 2013
New Revision: 1523085

URL: http://svn.apache.org/r1523085
Log:
Added plugin options description.

Modified:
    felix/site/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-scr-bndtools-use.mdtext

Modified: felix/site/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-scr-bndtools-use.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-scr-bndtools-use.mdtext?rev=1523085&r1=1523084&r2=1523085&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-scr-bndtools-use.mdtext (original)
+++ felix/site/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-scr-bndtools-use.mdtext Fri Sep 13 20:30:43 2013
@@ -102,4 +102,35 @@ Then Run the project: you should see in 
 
 ## Plugin Options
 
-TBD
+You can possibly add the following parameters in the "-plugin: org.apache.felix.scrplugin.bnd.SCRDescriptorBndPlugin" bnd directive (each parameters must be separated by a semicolon):
+
+----
+**`log`**    
+*Required*: No    
+*Default*: `warn`
+The plugin enabled log level. By default, no log is displayed, except warnings. If you configure a log level (either "error", "warn", "info", or "debug"), then the plugin will display logs in ${java.io.tmpdir}/scrplugin/BSN.log (BSN is the Bundle Symbolic Name of the bundle being analyzed by the plugin).
+
+----
+**`destdir`**    
+*Required*: No    
+*Default*: `bin`   
+The name of the directory where the descriptor files are generated into. This is also used as the directory where the compiled classes are generated by bndtools.
+
+----
+**`generateAccessors`**    
+*Required*:  No    
+*Default*: `true`    
+If this switch is turned on, the bind and unbind methods for unary references are automatically generated by the plugin.
+
+----
+**`strictMode`**    
+*Required*:  No    
+*Default*:  `false`    
+If set to true, a warning will be considered as an error and the build will fail with warnings generated by this task.
+
+----
+**`specVersion`**    
+*Required*:  No    
+*Default*: --  
+The plugin will generate a descriptor for the Declarative Service version (e.g. 1.0, 1.1, or 1.2). If no value is specified, the plugin will detect the version and only use 1.1 if features from this version are used.
+