Return-Path: Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: (qmail 37540 invoked from network); 13 Mar 2011 17:43:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Mar 2011 17:43:21 -0000 Received: (qmail 83562 invoked by uid 500); 13 Mar 2011 17:43:21 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 83534 invoked by uid 500); 13 Mar 2011 17:43:21 -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 83526 invoked by uid 99); 13 Mar 2011 17:43:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Mar 2011 17:43:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Mar 2011 17:43:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 73BAC3A73DB for ; Sun, 13 Mar 2011 17:42:59 +0000 (UTC) Date: Sun, 13 Mar 2011 17:42:59 +0000 (UTC) From: "David Jencks (JIRA)" To: issues@karaf.apache.org Message-ID: <644263976.16276.1300038179470.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <26885516.254351294672006509.JavaMail.jira@thor> Subject: [jira] Commented: (KARAF-365) Merge .kar files in features-maven-plugin during "add-features-to-repo" goal MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006226#comment-13006226 ] David Jencks commented on KARAF-365: ------------------------------------ Can you take a look at the karaf-assembly packaging? I think it does something like this in a much more convenient way. I'm hoping to get an example karaf-assembly (although it will need to use the mojos separately) into the karaf build soon, but there is currently an example at https://svn.apache.org/repos/asf/geronimo/sandbox/djencks/txmanager > Merge .kar files in features-maven-plugin during "add-features-to-repo" goal > ---------------------------------------------------------------------------- > > Key: KARAF-365 > URL: https://issues.apache.org/jira/browse/KARAF-365 > Project: Karaf > Issue Type: New Feature > Components: tooling > Reporter: Andreas Pieber > Priority: Minor > > What I can think of there is to extend the add-feature-to-repo goal to something like: > {code} > > org.apache.karaf.tooling > features-maven-plugin > ${karaf.version} > > > add-features-to-repo > generate-resources > > add-features-to-repo > > > > DESCRIPTORS > > > FEATURES > > > KARS > > target/features-repo > true > > > > > {code} > .kar files could be installed via maven but basically nothing more than merging them into the "repository" happens. This should do it for now, should be simple to implement but allow an additional abstraction layer since entire packages could be used without looking at the features file at this place at all. > I'm not sure by now how useful this will be since you can do the same via the feature file (which is anyhow required to build a kar file). But at least it would assist to make .kar to the default packaging for karaf features. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira