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 A44BF10C18 for ; Thu, 27 Jun 2013 07:24:34 +0000 (UTC) Received: (qmail 8628 invoked by uid 500); 27 Jun 2013 07:24:33 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 8505 invoked by uid 500); 27 Jun 2013 07:24:23 -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 8345 invoked by uid 99); 27 Jun 2013 07:24:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jun 2013 07:24:20 +0000 Date: Thu, 27 Jun 2013 07:24:20 +0000 (UTC) From: "Guillaume Sauthier (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FELIX-4135) Bnd scrplugin contrib 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-4135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694544#comment-13694544 ] Guillaume Sauthier commented on FELIX-4135: ------------------------------------------- The maven-shade-plugin has a resource transformer for that use case (mergining META-INF/services/* resources): http://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html#ServicesResourceTransformer > Bnd scrplugin contrib > --------------------- > > Key: FELIX-4135 > URL: https://issues.apache.org/jira/browse/FELIX-4135 > Project: Felix > Issue Type: Improvement > Components: Maven SCR Plugin > Reporter: Pierre De Rop > Priority: Minor > Attachments: bnd-scr-plugin.2.tgz, bnd-scr-plugin.tgz, test.bndtools.scrplugin.tgz > > > This issue is related to the following post, which is about writing a bndtools plugin for the Apache Felix Scrplugin annotations: > http://www.mail-archive.com/dev@felix.apache.org/msg29200.html > If this may help, I have attached to this issue a simple BND plugin, which internally invokes the SCRDescriptorGenerator in order to generate the descriptors for Apache Felix Scr annotations, as well as DS 1.2 annotations (using the scrplugin generator). > Basically, just adding the following parameter in a directives.bnd file allows to invoke the plugin: > -plugin org.apache.felix.scrplugin.bnd.SCRDescriptorBndPlugin;destdir=target/classes > I did some tests using a BND Ant task, and it seems to work, and will try to do a test with bndtools this week (for now I don't know how to add a plugin in bndtools, but I guess it's easy). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira