Return-Path: Delivered-To: apmail-incubator-felix-dev-archive@www.apache.org Received: (qmail 93043 invoked from network); 26 Mar 2007 03:59:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Mar 2007 03:59:53 -0000 Received: (qmail 28329 invoked by uid 500); 26 Mar 2007 04:00:01 -0000 Delivered-To: apmail-incubator-felix-dev-archive@incubator.apache.org Received: (qmail 28084 invoked by uid 500); 26 Mar 2007 04:00:00 -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 28031 invoked by uid 99); 26 Mar 2007 04:00:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Mar 2007 21:00:00 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of carlossg@gmail.com designates 66.249.92.168 as permitted sender) Received: from [66.249.92.168] (HELO ug-out-1314.google.com) (66.249.92.168) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Mar 2007 20:59:52 -0700 Received: by ug-out-1314.google.com with SMTP id y2so1729816uge for ; Sun, 25 Mar 2007 20:59:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=BQpUlnNMTt4/LUIrIRZbZsN3WuYxBgkVDilD9t0j1dNARMYvo7VXUTRNROYigvhvO1BmrMAKkgVXnsjVfycqaKEHqXfMzzO07NYnG84yDHohMcnGR9OECSjfJisI4oHHRlRRLvBCwglqHAyjJ691g8MLG6jtFRe8ykSi5DpewJI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=XAVE62yxCSn3xzHpm6X2ZkcL2WnNpovkalVcPSA4o4H0HUm3zILe5TeH2e5L/4P02QzIi5Z7EV3VIGBIrv+AEWd1/xg2D26XtWUw49VqTjyhfJvhAAV8a9UAtfMnxltXL15B7kSjK/s97DnCX1O5QlkAYom3KePAE/a0xU8MCfo= Received: by 10.67.22.14 with SMTP id z14mr11483032ugi.1174881571004; Sun, 25 Mar 2007 20:59:31 -0700 (PDT) Received: by 10.66.242.15 with HTTP; Sun, 25 Mar 2007 20:59:30 -0700 (PDT) Message-ID: <1a5b6c410703252059h44886990g572a322e420ed9d@mail.gmail.com> Date: Sun, 25 Mar 2007 20:59:30 -0700 From: "Carlos Sanchez" Sender: carlossg@gmail.com To: felix-dev@incubator.apache.org Subject: Re: Executive summary of maven-bundle-plugin issues In-Reply-To: <81f0d9c0703252013p398ae94fr4d828baad183df6e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <81f0d9c0703250445y2cad645csfc029c8b50665ef2@mail.gmail.com> <87eb8aee0703251320m515eca9em43d078c28ce9a03e@mail.gmail.com> <81f0d9c0703251941q2f773dadta10bce38f3d6140b@mail.gmail.com> <1a5b6c410703252001o185f10ebm66502f26703cbd81@mail.gmail.com> <81f0d9c0703252013p398ae94fr4d828baad183df6e@mail.gmail.com> X-Google-Sender-Auth: 99dfde2de3f18d4b X-Virus-Checked: Checked by ClamAV on apache.org haven't tried, but should use them i don't see the scope as the solution, is a workaround, it's not designed to do that there are two cases here: - bundle = original library + OSGi manifest I think this is the best solution, if you do it from the original library pom, you just need the bundle:manifest goal, if you do it from outside somehow you should deploy the dependencies section from the pom in the original library instead of the current one. - bundle = several libraries this will require http://jira.codehaus.org/browse/MNG-2316 to be implement first to list all the dependencies provided by the bundle On 3/25/07, Stuart McCulloch wrote: > Interesting - btw, does it handle top-level dependencies with 'provided' scope > as required by FELIX-262 (ie. to avoid the new artifact having transitive deps) > > On 26/03/07, Carlos Sanchez wrote: > > I commented in 255 about this, it'd be easy to add a parameter to > > FELIX-199 bundleall goal to specify how deep to process the tree, you > > could set it to 1 to bundle only the direct dependencies > > > > On 3/25/07, Stuart McCulloch wrote: > > > Hi Alin, > > > > > > Thanks for the comments - I'm not completely adverse to the idea of handling > > > the transitive dependency issue inside the plugin, just questioning the benefit > > > given there's (imho) a workable solution. > > > > > > I'm also worried that changing the way the bundle pulls in artifacts might break > > > other users. I believe this issue is only for the 'wrapping jar' case > > > - is that right? > > > > > > Anyway, this is just my own opinion - looking forward to hearing more views :) > > > > > > Cheers, Stuart > > > > > > On 26/03/07, Alin Dreghiciu wrote: > > > > Nice summary Stuart, > > > > > > > > I also posted some comments on FELIX-262 and FELIX-255. > > > > > > > > Alin Dreghiciu > > > > > > > > On 3/25/07, Stuart McCulloch wrote: > > > > > > > > > > Hi folks, > > > > > > > > > > Currently there are 8 open issues for the maven-bundle-plugin. I've > > > > > written up a > > > > > short one-line status for each of them (inc. # of votes, whether a patch > > > > > exists) > > > > > along with a suggested course of action in another table. (see attached > > > > > file) > > > > > > > > > > The suggested actions are all MHO, so apologies if I've misrepresented any > > > > > of the issues, or the patches. Please post a follow-up message pointing > > > > > out > > > > > any mistakes, updates or alternative suggestions. > > > > > > > > > > Basically I recommend looking at FELIX-199 first, as it also solves > > > > > several > > > > > other issues. The one thorny area is over maven dependencies: whether to > > > > > get the user to handle this outside in the pom with other plugins, or to > > > > > add > > > > > options to the bundle plugin for the sake of convenience (FELIX-255/262). > > > > > > > > > > -- > > > > > Cheers, Stuart > > > > > > > > > > > > > > > > > > > > > > > -- > > > Cheers, Stuart > > > > > > > > > -- > > I could give you my word as a Spaniard. > > No good. I've known too many Spaniards. > > -- The Princess Bride > > > > > -- > Cheers, Stuart > -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride