Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B74E3200AE8 for ; Tue, 3 May 2016 12:44:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B63361609F4; Tue, 3 May 2016 12:44:05 +0200 (CEST) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1192A1609F3 for ; Tue, 3 May 2016 12:44:04 +0200 (CEST) Received: (qmail 82920 invoked by uid 500); 3 May 2016 10:44:04 -0000 Mailing-List: contact user-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@karaf.apache.org Delivered-To: mailing list user@karaf.apache.org Received: (qmail 82901 invoked by uid 99); 3 May 2016 10:44:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2016 10:44:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A9779C3310 for ; Tue, 3 May 2016 10:44:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.28 X-Spam-Level: X-Spam-Status: No, score=0.28 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id qlC2PPrMezMD for ; Tue, 3 May 2016 10:44:01 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id F114C5F4ED for ; Tue, 3 May 2016 10:44:00 +0000 (UTC) Received: from mfilter47-d.gandi.net (mfilter47-d.gandi.net [217.70.178.178]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id 57E3641C07F for ; Tue, 3 May 2016 12:44:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter47-d.gandi.net Received: from relay5-d.mail.gandi.net ([IPv6:::ffff:217.70.183.197]) by mfilter47-d.gandi.net (mfilter47-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 3-fZKdRu-guu for ; Tue, 3 May 2016 12:43:58 +0200 (CEST) X-Originating-IP: 82.238.224.4 Received: from [192.168.134.16] (bre91-1-82-238-224-4.fbx.proxad.net [82.238.224.4]) (Authenticated sender: jb@nanthrax.net) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 5ADB541C0AB for ; Tue, 3 May 2016 12:43:58 +0200 (CEST) Subject: Re: Add feature to karaf .kar file To: user@karaf.apache.org References: From: =?UTF-8?Q?Jean-Baptiste_Onofr=c3=a9?= Message-ID: <572880ED.7090707@nanthrax.net> Date: Tue, 3 May 2016 12:43:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit archived-at: Tue, 03 May 2016 10:44:05 -0000 Hi Christian, you don't have to gather in an unique feature. If in your feature, you define the CXF repository: mvn... then the kar file will include your features XML and all dependencies. Regards JB On 05/03/2016 11:36 AM, Christian Lutz wrote: > Hello, > I do have feature.xml as basic for my kar file. > > xmlns="http://karaf.apache.org/xmlns/features/v1.3.0"> > > cxf-rs-security-cors > own-adapter-feature > mvn:de.spray.server/server-orm/1.0.0 > mvn:de.spray.server/spray-server/1.0.0 > > > I create the kar file with karaf-maven-plugin. > > > > org.apache.karaf.tooling > karaf-maven-plugin > 4.0.5 > true > > false > true > true > > > > I do have two different feature within my > feature.xml cxf-rs-security-cors and own-adapter-feature. > Is it somehow possible to add all bundles from > the own-adapter-feature (but not from cxf-rs-security-cors ) into the > kar file? I did expect that this should be possible > with aggregateFeatures=true but nothing from own-adapter-feature or > cxf-rs-security-cors had been added. > I also tried to add the feature as dependency within > > > de.spray > own-adapter-feature > features > 1.0.0 > xml > runtime > > > But this didn't work either. I do know i could copy alle the > dependencies into my own feature.xml but then I do have to care about to > features. > Thanks > Christian -- Jean-Baptiste Onofré jbonofre@apache.org http://blog.nanthrax.net Talend - http://www.talend.com