Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
From V1.14.0 (FELIX-4101), the maven-scr-plugin can use metatype information provided in Java code annotations, instead of requiring a separate metatype.properties file. This also requires the org.apache.felix.metatype bundle V1.0.8 or later at runtime.
With this, we should inline metatype information instead of using metatype.properties files - this moves the labels and names closer to their use, and it's still possible to localize them if needed.
Examples:
@Component(metatype=true, label="Some Label", description="Something")
@Property(label="The property", description="Its description")