Return-Path: X-Original-To: apmail-felix-users-archive@minotaur.apache.org Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AF9A5D70B for ; Thu, 7 Mar 2013 08:31:54 +0000 (UTC) Received: (qmail 97742 invoked by uid 500); 7 Mar 2013 08:31:53 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 97348 invoked by uid 500); 7 Mar 2013 08:31:51 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Received: (qmail 97293 invoked by uid 99); 7 Mar 2013 08:31:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Mar 2013 08:31:48 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rmuntean@adobe.com designates 64.18.1.31 as permitted sender) Received: from [64.18.1.31] (HELO exprod6og113.obsmtp.com) (64.18.1.31) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Mar 2013 08:31:40 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob113.postini.com ([64.18.5.12]) with SMTP ID DSNKUThQV1vXnVIYzEkOJ8zzwk2Qpnd5iR7Q@postini.com; Thu, 07 Mar 2013 00:31:20 PST Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r278SD1v021712 for ; Thu, 7 Mar 2013 00:28:13 -0800 (PST) Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r278VIAV007178 for ; Thu, 7 Mar 2013 00:31:19 -0800 (PST) Received: from eurcas01.eur.adobe.com (10.128.4.27) by nacas01.corp.adobe.com (10.8.189.99) with Microsoft SMTP Server (TLS) id 8.3.298.1; Thu, 7 Mar 2013 00:31:18 -0800 Received: from eurmbx02.eur.adobe.com ([10.128.4.126]) by eurcas01.eur.adobe.com ([10.128.4.27]) with mapi; Thu, 7 Mar 2013 08:31:17 +0000 From: Robert Munteanu To: "users@felix.apache.org" Date: Thu, 7 Mar 2013 08:31:16 +0000 Subject: RE: /SPAM!/ [51%] No accessors generated Thread-Topic: /SPAM!/ [51%] No accessors generated Thread-Index: Ac4alwiGAwRz8FkkTL+rZvraxWmQeQAdvveg Message-ID: References: <27079_1362593884_r26II2Xi011341_51378859.60008@uos.de> In-Reply-To: <27079_1362593884_r26II2Xi011341_51378859.60008@uos.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi Benjamin, > -----Original Message----- > From: Benjamin Wulff [mailto:bwulff@uos.de] > Sent: Wednesday, March 06, 2013 8:18 PM > To: users@felix.apache.org > Subject: /SPAM!/ [51%] No accessors generated >=20 > Hi all, >=20 > I'm using the SCR Maven Plugin and SCR Annotations in my project for over= a > year. Recently I tried to compile the project on a fresh system and notic= ed > that all the services fail activation because SCR cannot find the accesso= r > methods for binding dependencies. It seems that the bindXXX und > unbindXXX methods are not generated anymore. Sounds like you need to upgrade to the maven-scr-plugin version 1.11.0 . 1.= 10.0 had a regression where bind/unbind methods were no longer generated. [= 0] Robert [0]: https://issues.apache.org/jira/browse/FELIX-3917 >=20 > Same was the case when I delete the .m2/repository on the my > development machine. When I now compile and deploy the modules into > Felix, SCR complaints that it can't find the methods for binding services= . > When I exchanged the bundle in felix/load with the old jar (that was > compiled before deleting the .m2 repo), the service got activated without > problems. Inspecting the bundles reveals that the component descriptions > are generated correctly tough. >=20 > What did I miss? I have the following deps in my base pom >=20 > > org.apache.felix > org.apache.felix.scr > 1.6.0 > > > org.apache.felix > org.apache.felix.scr.annotations > 1.7.0 > >=20 > The SCR plugin is called in the module poms like this >=20 > > >=20 > > > org.apache.felix > maven-scr-plugin > > > generate-scr-scrdescriptor > > scr > > > > > ... >=20 > BTW updating to the most recent versions of the plugin (1.10.0) and > annotations (1.80.0) did not show an effect. >=20 > Thanks, > Benjamin >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@felix.apache.org > For additional commands, e-mail: users-help@felix.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@felix.apache.org For additional commands, e-mail: users-help@felix.apache.org