Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 834859718 for ; Wed, 12 Nov 2014 13:39:34 +0000 (UTC) Received: (qmail 25323 invoked by uid 500); 12 Nov 2014 13:39:34 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 25252 invoked by uid 500); 12 Nov 2014 13:39:34 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 25164 invoked by uid 99); 12 Nov 2014 13:39:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2014 13:39:34 +0000 Date: Wed, 12 Nov 2014 13:39:34 +0000 (UTC) From: "Carsten Ziegeler (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FELIX-4622) Regression: SCR spec version detection incorrect for activate method MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated FELIX-4622: ------------------------------------ Fix Version/s: maven-scr-plugin 1.21.0 > 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 > Priority: Critical > Fix For: maven-scr-plugin 1.21.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)