[
https://issues.apache.org/jira/browse/FELIX-1898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022879#comment-13022879
]
Andrei Pozolotin commented on FELIX-1898:
-----------------------------------------
I am getting this:
[INFO] --- maven-scr-plugin:1.7.0:scr (generate-scr-scrdescriptor) @
osgi-hello-0 ---
[ERROR] @Reference: Updated method declaration requires namespace 1.1-felix or
newer at Java annotations in com.barchart.hello.impl.CompMultipleHost:46
for this reference declaration:
@Reference(cardinality = ReferenceCardinality.MANDATORY_MULTIPLE,
policy = ReferencePolicy.DYNAMIC, bind = "bind", unbind = "unbind", updated =
"updated")
private BasicService service;
with current release versions of felix, scr, etc. what am I missing?
> Extend SCR Plugin to support new updated method declaration
> -----------------------------------------------------------
>
> Key: FELIX-1898
> URL: https://issues.apache.org/jira/browse/FELIX-1898
> Project: Felix
> Issue Type: Sub-task
> Components: Maven SCR Plugin, SCR Annotations
> Affects Versions: maven-scr-plugin-1.4.0, scr annotations 1.0.0
> Reporter: Felix Meschberger
> Assignee: Carsten Ziegeler
> Fix For: maven-scr-plugin-1.4.2, scr annotations 1.2.0
>
> Attachments: FELIX-1898-annotations.patch, FELIX-1898.patch
>
>
> Provided FELIX-1893 is being implemented, the Maven SCR plugin must be
> enhanced to support the new updated method:
> * basically support the method if explicitly declared
> * automatically set namespace if updated method is declared
> * implement automatic method detection (similar to bind/unbind method
> detection)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira