Versions Compared

Key

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

...

The scr goal is bound to the generate-resources phase and will generate a single descriptor file as well as OSGI-INF/metatype/metatype.xml meta type file for all components found in the project.

...

Property

Description

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.

The meta type file is generated in the OSGI-INF/metatype/ directory and the scr descriptor file in the OSGI-INF directory.

Note: The name and location of the Metatype meta type descriptor may not be changed as the OSGi Metatype Service Specification prescribes the location of the descriptors and there is no use in providing functionality to define a custom descriptor file name.

The plugin will look for component definition tags in all Java files found in the source directories of the project.

...