Return-Path: Delivered-To: apmail-incubator-felix-dev-archive@www.apache.org Received: (qmail 20324 invoked from network); 12 Jan 2007 00:06:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jan 2007 00:06:19 -0000 Received: (qmail 82481 invoked by uid 500); 12 Jan 2007 00:06:26 -0000 Delivered-To: apmail-incubator-felix-dev-archive@incubator.apache.org Received: (qmail 82262 invoked by uid 500); 12 Jan 2007 00:06:25 -0000 Mailing-List: contact felix-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: felix-dev@incubator.apache.org Delivered-To: mailing list felix-dev@incubator.apache.org Received: (qmail 82251 invoked by uid 99); 12 Jan 2007 00:06:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2007 16:06:25 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [217.160.230.40] (HELO mout.perfora.net) (217.160.230.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2007 16:06:16 -0800 Received: from [71.208.57.99] (helo=[192.168.5.17]) by mrelay.perfora.net (node=mrelayus1) with ESMTP (Nemesis), id 0MKp2t-1H59vT1szD-0000D6; Thu, 11 Jan 2007 19:05:54 -0500 Message-ID: <45A6D0D5.9040603@ungoverned.org> Date: Thu, 11 Jan 2007 19:05:41 -0500 From: "Richard S. Hall" User-Agent: Thunderbird 1.5.0.9 (X11/20070103) MIME-Version: 1.0 To: felix-dev@incubator.apache.org Subject: Re: bundle plugin issues References: <632a37a0701111423r1d3078v84beb4f5f0179cec@mail.gmail.com> In-Reply-To: <632a37a0701111423r1d3078v84beb4f5f0179cec@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: perfora.net abuse@perfora.net login:b399c17105f59dfa36985f08f30e623d X-Virus-Checked: Checked by ClamAV on apache.org Tom Huybrechts wrote: > I'm trying to use the maven-bundle-plugin to create a bundle for > maven-embedder. > I'm having two issues: > - runtime-scoped dependencies are ignored. I would like to explicitly > include some in the jar (even though they are not directly referenced) I am not sure what you mean by this. The plugin does not do anything automatically with maven dependencies. If you want stuff included inside of your bundle JAR file, then the packages must be listed in or . The plugin essentially ignores maven dependencies, the dependencies just represent what is available on the class path. You construct the contents of your bundle by listing packages from the class path to include inside of it. In the future there may be some other ways of dealing with maven dependencies, but Peter Kriens and I haven't had the time to think about it yet. > - I would like to create the bundle next to the original jar. If the > plugin understood classifiers, I could do this. In this case, the > bundle packaging is not needed. I don't really understand this either...I must be dense today. > I'm attaching a patch that implements both issues. I wanted to put it > in JIRA, but could not find a component for this plugin ? Just use the component for the maven OSGi plugin for now, since the goal is to eventually have one plugin. -> richard