[ https://issues.apache.org/jira/browse/FELIX-653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed FELIX-653. ---------------------------------- Resolution: Fixed > Value of Java field is not used if property is specified by a name reference > ---------------------------------------------------------------------------- > > Key: FELIX-653 > URL: https://issues.apache.org/jira/browse/FELIX-653 > Project: Felix > Issue Type: Bug > Components: Maven SCR Plugin > Affects Versions: maven-scr-plugin-1.0.6 > Reporter: Carsten Ziegeler > Assignee: Carsten Ziegeler > Fix For: maven-scr-plugin-1.0.7 > > > The following does work: > /** @scr.property name="adapters" */ > private static final String[] ADAPTER_CLASSES = { > LR_CLASS.getName(), > }; > while this does not work: > static final String ADAPTERS = "adapters"; > /** @scr.property nameRef="ADAPTERS" */ > private static final String[] ADAPTER_CLASSES = { > LR_CLASS.getName(), > }; -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.