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 F33DF17E19 for ; Fri, 3 Oct 2014 14:20:34 +0000 (UTC) Received: (qmail 66415 invoked by uid 500); 3 Oct 2014 14:20:34 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 66385 invoked by uid 500); 3 Oct 2014 14:20:34 -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 66373 invoked by uid 99); 3 Oct 2014 14:20:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2014 14:20:34 +0000 Date: Fri, 3 Oct 2014 14:20:34 +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] [Commented] (KARAF-2961) When a feature is generated from a bundle project, include that bundle in the feature 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-2961?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1415= 8025#comment-14158025 ]=20 Jean-Baptiste Onofr=C3=A9 commented on KARAF-2961: --------------------------------------------- Fixed on karaf-3.0.x: https://git-wip-us.apache.org/repos/asf?p=3Dkaraf.git= ;a=3Dcommitdiff;h=3Dacc8299db260b6d7d3bdeb0b02b296248c377348 > When a feature is generated from a bundle project, include that bundle in= the feature > -------------------------------------------------------------------------= ------------ > > Key: KARAF-2961 > URL: https://issues.apache.org/jira/browse/KARAF-2961 > Project: Karaf > Issue Type: New Feature > Components: karaf-tooling > Reporter: Stuart McCulloch > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: 4.0.0, 3.0.2 > > > We're migrating a custom plugin framework over to Karaf and would like to= both create the OSGi bundle and generate the associated Karaf feature in t= he same Maven project. Otherwise downstream clients will need to create two= Maven projects for each plugin: one to create the bundle, and one to creat= e the Karaf feature. > The proposed change is to consider the project packaging, and if it is "b= undle" then include the main project artifact (ie. the bundle itself) in th= e generated feature. This requires no configuration change and should not a= ffect anyone generating features in isolation. We could also add a new flag= such as "includeProjectArtifact" so this change has to be explicitly enabl= ed, if people prefer. -- This message was sent by Atlassian JIRA (v6.3.4#6332)