[
https://issues.apache.org/jira/browse/SLING-3077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved SLING-3077.
-------------------------------------
Resolution: Won't Fix
> 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 was sent by Atlassian Jira
(v8.20.10#820010)