Bertrand Delacretaz created SLING-3077:
------------------------------------------
Summary: Inline metatype information instead of using
metatype.properties files
Key: SLING-3077
URL: https://issues.apache.org/jira/browse/SLING-3077
Project: Sling
Issue Type: Improvement
Components: Best practices
Reporter: Bertrand Delacretaz
Priority: Minor
>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")
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira