...
Attribute | Required | Default | Description |
---|---|---|---|
scrdir | Yes | – | The root directory of the implicitly defined fileset denoting the files to consider for annotation and/or JavaDoc tag processing. |
destdir | Yes | – | The name of the directory where the descriptor files are generated into. This is also used as the directory where the compiled classes from the |
classpath | No | – | The class path used to load classes from to analyse for the descriptor file generation. Generally this will be the same class path as the one used to compile the sources. |
classpathRef | No | – | A reference to a class path used to load classes from to analyse for the descriptor file generation. Generally this will be the same class path as the one used to compile the sources. |
finalName | No | | The name of the descriptor file to create. This file is always located inside the |
metaTypeName | No | | The name of the descriptor file to create. This file is always located inside the |
generateAccessors | No | | If this switch is turned on, the bind and unbind methods for unary references are automatically generated by the plugin. |
annotationTagProviders | No | – | List of fully qualified class names providing more Annotation Tag Providers. |
specVersion | No | Auto-Detected | The plugin will generate a descriptor for the Declarative Service version (either 1.0 or 1.1). If no value is specified, the plugin will detect the version and only use 1.1 if features from this version are used. |
Example
The following is very simple example build file based on the Apache Sling JCR WebConsole bundle:
...