Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-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 C42EC195DA for ; Wed, 30 Mar 2016 15:12:50 +0000 (UTC) Received: (qmail 74290 invoked by uid 500); 30 Mar 2016 15:12:50 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 74250 invoked by uid 500); 30 Mar 2016 15:12:50 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 74235 invoked by uid 99); 30 Mar 2016 15:12:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Mar 2016 15:12:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D1B791A12CF for ; Wed, 30 Mar 2016 15:12:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.029 X-Spam-Level: ** X-Spam-Status: No, score=2.029 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, KAM_INFOUSMEBIZ=0.75, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=evosent-com.20150623.gappssmtp.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 7waArURVCpCs for ; Wed, 30 Mar 2016 15:12:47 +0000 (UTC) Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 05A965F3F0 for ; Wed, 30 Mar 2016 15:12:46 +0000 (UTC) Received: by mail-wm0-f44.google.com with SMTP id r72so103982397wmg.0 for ; Wed, 30 Mar 2016 08:12:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=evosent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=+eRO3jIwhgDZiDgdNNgFsZE9HoPSYJe0BhUri5C/Cq0=; b=ySBpA2C35URptkm4Dr7zxyEa/L3yLl+FFoptbpQFY9eOAki2dfhD2oZV2lrZFvf+nl e+eBkHgGJk40Cee1o8KGRhqziblZa590OYTMqmSxSh0g9N5fHyQW/MxmXgNU0oQ0vmsJ u2tS7z5kpybU19fCeaM7wKNThBlKX0yOa0u4/AEEL5QJbj78egV6f5dtUnZ6uGZCHu0T PvPyUpEVKeED74XWsw1GmKdMChx0Uc12AR/p8qIPVt6Ph4936Kw5aA9XUFHPBUMvrqMv QHY3D0KtuVu/TmfHFqvWCqk7iC9lz615MwEkfb7GqLYQ7u6Q5FbIWwtENlsmoCIUp51Q 2PaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=+eRO3jIwhgDZiDgdNNgFsZE9HoPSYJe0BhUri5C/Cq0=; b=bmL92VrVqPNLAcApYDfNW3kds2j/aIzOXqAn9fnsIKCeJB4noCGop7JyJGbUh3PhHu YFVKu4xIS4fWVw6gkKIXVMaF0dEJIBLf9bUPne3rnU/+Wyl440dBAXAgJpFxTBCUgjJK 5nZNNQxb4AF0DKkBL5IAKJk1Wz8IIkigTgEi0p91FJej0CqMmseohnOUGFb5p7Q1B6wl wyxrkvWP7ASVWYny0cT7U4lSdfNKLEoZHAfkuyYFf7qH6vQ7fIcNFCB6kfe7LsGruGBZ ryzrbI5kOSaMBld7ejceHSce8x2CVc5qyD1W5dsa5vL2zyUDrUDwF8eKHVka305YXMro HVmg== X-Gm-Message-State: AD7BkJLtBbBycHS1l7+pbFpkTEswwJX7M2X6o9sRNxJ3oH3BwQZarYjiimLYS7EZ/h6j7uJYAYsW+U4kXNspnw== MIME-Version: 1.0 X-Received: by 10.28.46.5 with SMTP id u5mr11126827wmu.75.1459350759903; Wed, 30 Mar 2016 08:12:39 -0700 (PDT) Received: by 10.28.169.13 with HTTP; Wed, 30 Mar 2016 08:12:39 -0700 (PDT) X-Originating-IP: [85.155.76.208] Received: by 10.28.169.13 with HTTP; Wed, 30 Mar 2016 08:12:39 -0700 (PDT) In-Reply-To: <618003BC-F296-4849-9183-D16E17745E5E@pronoia-solutions.com> References: <0F39B60B-3768-4C39-AF39-EED414ADD609@pronoia-solutions.com> <618003BC-F296-4849-9183-D16E17745E5E@pronoia-solutions.com> Date: Wed, 30 Mar 2016 16:12:39 +0100 Message-ID: Subject: Re: Usage of Lambdas in our Maven build (jdk8-lambdas branch) From: Raul Kripalani To: dev@camel.apache.org Content-Type: multipart/alternative; boundary=001a1142419aa5c051052f4593fb --001a1142419aa5c051052f4593fb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yep, today, hopefully. Faced a few complications with the Camel Blueprint and Camel Spring bundles, which were inlining other modules via the bundle plugin. Cheers, Ra=C3=BAl. On 30 Mar 2016 16:06, "Quinn Stevenson" wrote= : > Any updates on when this will be merged? I have a couple of PRs I=E2=80= =99m > working on that this effects. > > > > On Mar 29, 2016, at 11:12 AM, Quinn Stevenson < > quinn@pronoia-solutions.com> wrote: > > > > For the JARs that will not be bundles - what do we want in the > MANIFEST.MF? > > > > > >> On Mar 29, 2016, at 9:59 AM, Claus Ibsen > wrote: > >> > >> On Tue, Mar 29, 2016 at 4:27 PM, Raul Kripalani > wrote: > >>> On Tue, Mar 29, 2016 at 6:21 AM, Claus Ibsen > wrote: > >>> > >>>> Can we flip the switch so you have to enable it on the maven modules > >>>> that you want to be an osgi bundle. I am asking because people who a= re > >>>> not using OSGi should really not see camel.osgi.skip=3Dtrue in the > >>>> examples / camel-spring-boot-starter etc. > >>>> > >>>> They should be clean and without any osgi stuff. > >>>> > >>>> Also I would rather make it explicit that this maven module is built > >>>> as an osgi bundle if it has camel.osgi=3Dtrue. > >>>> > >>> > >>> I see your point. What I'll do is make the activation rely on propert= y > >>> value comparison rather than property presence, e.g. > camel.osgi=3Dtrue/false. > >>> That way, we can set camel.osgi=3Dtrue on components/pom.xml, and exc= lude > >>> only the few components that are not OSGi by setting camel.osgi=3Dfal= se > on > >>> their POMs. > >>> For the examples, we can set camel.osgi=3Dfalse on examples/pom.xml, = and > only > >>> set the property to true on those examples that are meant to be > bundles. > >>> Let's play with value rather than presence/absence, because once you > set a > >>> property up the chain in the Maven reactor, I don't think you can > unset it > >>> (or can you?). > >>> > >>> Although... Approaching it from a different angle, it may be worth to > >>> explicitly define the build plugins in each example POM. Thus we can > >>> attempt to make the example "self-contained". > >>> > >> > >> Yeah would love to make the examples self container without a parent. > >> And then they should import the Camel BOM instead (aka camel parent). > >> > >> Then end users can just copy those and adjust them as needed. > >> > >> Not sure if we have tried this in the past and had trouble with the > >> release build? > >> And there is 50+ examples so a fair bit of work to migrate. But we > >> have a big community so people can help with this. > >> > >> > >>> That would take more work, so I won't do it now, but just wanted to > hear > >>> your thoughts. > >>> > >> > >> Yeah sounds good. > >> > >>> Cheers, > >>> > >>> *Ra=C3=BAl Kripalani* > >>> PMC & Committer @ Apache Ignite, Apache Camel | Integration, Big Data > and > >>> Messaging Engineer > >>> http://about.me/raulkripalani | > http://www.linkedin.com/in/raulkripalani < > http://www.linkedin.com/in/raulkripalani> > >>> Blog: raul.io | twitter: @raulvk < > https://twitter.com/raulvk > > >> > >> > >> > >> -- > >> Claus Ibsen > >> ----------------- > >> http://davsclaus.com @davsclaus > >> Camel in Action 2: https://www.manning.com/ibsen2 < > https://www.manning.com/ibsen2> > > --001a1142419aa5c051052f4593fb--