Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8562017FB3 for ; Mon, 25 May 2015 20:03:17 +0000 (UTC) Received: (qmail 87275 invoked by uid 500); 25 May 2015 20:03:17 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 87246 invoked by uid 500); 25 May 2015 20:03:17 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 87195 invoked by uid 99); 25 May 2015 20:03:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 May 2015 20:03:17 +0000 Date: Mon, 25 May 2015 20:03:17 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KARAF-3263) karaf-maven-plugin install=auto support for aggregate features MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-3263?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 updated KARAF-3263: ---------------------------------------- Fix Version/s: (was: 4.0.0.M3) 4.0.0 > karaf-maven-plugin install=3Dauto support for aggregate features > -------------------------------------------------------------- > > Key: KARAF-3263 > URL: https://issues.apache.org/jira/browse/KARAF-3263 > Project: Karaf > Issue Type: Improvement > Components: karaf-tooling > Affects Versions: 3.0.1 > Reporter: Gary Kennedy > Assignee: Jean-Baptiste Onofr=C3=A9 > Priority: Minor > Fix For: 4.0.0, 3.0.5 > > > When using karaf-maven-plugin:features-generate-descriptor, the generated= tags for xml/feature dependencies are not merged with the featur= e.xml template so I cannot add install=3D"auto" to the feature tag. > eg, > POM: > {code} > ... > feature > ... > > > .... > featureA > xml > features > > > ... > > > > org.apache.karaf.tooling > karaf-maven-plugin > 3.0.1 > true > > true > > > > > {code} > feature.xml template (src/main/feature/feature.xml): > {code} > > > > > {code} > results in: > {code} > > > > > > > > {code} > Since this is for generating an "application" feature from individual "co= mponent" features, and none of the "component" features are auto-install in= one "application" and no-auto-install in another, I can work around this b= y specifying the install attribute in the "component" feature.xml. > So, would it be possible to merge aggregated features with the feature te= mplate? (eg, matching on name and only overriding the feature tag attribute= s except for version, so only install/description/resolver/start-level. Con= tents to be replaced with dependency feature content - we don't want to mes= s with those) -- This message was sent by Atlassian JIRA (v6.3.4#6332)