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 19FD59D81 for ; Thu, 23 Feb 2012 21:48:10 +0000 (UTC) Received: (qmail 26065 invoked by uid 500); 23 Feb 2012 21:48:10 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 26023 invoked by uid 500); 23 Feb 2012 21:48:10 -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 26015 invoked by uid 99); 23 Feb 2012 21:48:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2012 21:48:10 +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; Thu, 23 Feb 2012 21:48:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 054243374AB for ; Thu, 23 Feb 2012 21:47:49 +0000 (UTC) Date: Thu, 23 Feb 2012 21:47:49 +0000 (UTC) From: "Lukas Roedl (Updated) (JIRA)" To: issues@karaf.apache.org Message-ID: <1034640533.11931.1330033669022.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <892214505.11922.1330033668721.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (KARAF-1223) Support mvn:* urls in karaf-maven-plugin:features-create-kar 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-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukas Roedl updated KARAF-1223: ------------------------------- Attachment: CreateKarMojo.java.patch I've created a patch which adds the desired functionality > Support mvn:* urls in karaf-maven-plugin:features-create-kar > ------------------------------------------------------------ > > Key: KARAF-1223 > URL: https://issues.apache.org/jira/browse/KARAF-1223 > Project: Karaf > Issue Type: Improvement > Components: karaf-tooling > Affects Versions: 3.0.0 > Reporter: Lukas Roedl > Fix For: 3.0.0 > > Attachments: CreateKarMojo.java.patch > > > The features-create-kar goal of the karaf-maven-plugin plugin currently only supports references to local feature files. The featuresFile tag should also support mvn:* urls. > This may also avoid the following problem if the features file is added with the correct groupId/artifactId. > In a single pom the karaf-maven-plugin with goal features-create-kar is executed twice to generate two separate kar files from two independent features.xml files. > The resulting kar files are deployed to the "deploy" folder and at Karaf's startup it seems that only one of them is loaded. > The plugin adds the feature files with the same groupId/artifactId to the kar files and while deploying they overwrite each other. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira