felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FELIX-4622) Regression: SCR spec version detection incorrect for activate method
Date Mon, 27 Apr 2015 08:05:38 GMT

     [ https://issues.apache.org/jira/browse/FELIX-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Carsten Ziegeler closed FELIX-4622.
-----------------------------------

> Regression: SCR spec version detection incorrect for activate method
> --------------------------------------------------------------------
>
>                 Key: FELIX-4622
>                 URL: https://issues.apache.org/jira/browse/FELIX-4622
>             Project: Felix
>          Issue Type: Bug
>          Components: SCR Tooling
>    Affects Versions: maven-scr-plugin 1.20.0
>            Reporter: Konrad Windszus
>            Assignee: Carsten Ziegeler
>            Priority: Critical
>             Fix For: maven-scr-plugin 1.21.0, scr generator 1.13.0, scr ant task 1.14.0,
scr bnd plugin 1.4.0
>
>
> In all versions from 1.11.0 till (including 1.20.0) the following method signature does
not enforce the right scr version(1.1.0).
> {code}
> public void activate(@SuppressWarnings("rawtypes") final Map properties, final ComponentContext
context) throws Exception
> {code}
> With all previous versions of the maven-scr-plugin the DS version was correctly set to
1.1. 
> It does work though even in newer version of the maven-scr-plugin if I annotate that
method with @Activate. Please fix the version detection mechanism so that these OSGi components
generate a descriptor with version 1.1.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message