-dsannotations-options instruction configures how DS component annotations are processed and what metadata is generated.
The example above, will restrict the use of OSGi DS annotations to minimum 1.2.0 and maximum 1.3.0 version. The version number denotes that the users are free to use any version equal to or higher than 1.2.0 but less than or equal to 1.3.0, provided that the users have the DS annotations included on the build path.
The following options are supported:
|inherit||use DS annotations found in the class hierarchy of the component class. WARNING: Annotations are not inherited from the component’s super classes by default. The problem is that super classes from imported packages may be different at runtime than they were at build time. So it is always best to declare your annotations on the actual component class.|
|felixExtensions||enable features proprietary to Apache Felix SCR|
|nocapabilities||do not add
|norequirements||do not add
|version||set the minimum and/or maximum version of the