Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The plugin may be configured with the following properties:

Property

Description

generateAccessors

If this switch is turned on, the bind and unbind methods for unary references are automatically generated by the plugin. By default this is set to true.

parseJavadoc

If this switch is turned on, the java source code and its javadoc tags are scanned for the scr tags (see below). The default value is true.

processAnnotations

If this switch is turned on, the java code is scanned for the scr annotations (see below). The default value is true.

sourceExcludes

Comma separated list of classes to exclude when processing the source.

strictMode

The plugin distinguishes between errors and warnings. In strict mode warnings are treated as errors and cause the plugin to fail. The default value is false.

properties

A map of predefined properties. These properties are set to each component (if the component does not define the property already).

finalName

The name of the descriptor file to create. This property defaults to the value of the scr.descriptor.name property if defined. Otherwise the default is serviceComponents.xml.

metaTypeName

The name of the descriptor file to create. This property defauls to metatype.xml.

...