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 AA5D4C22B for ; Fri, 24 Feb 2012 06:43:10 +0000 (UTC) Received: (qmail 29265 invoked by uid 500); 24 Feb 2012 06:43:10 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 29237 invoked by uid 500); 24 Feb 2012 06:43: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 29163 invoked by uid 99); 24 Feb 2012 06:43:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2012 06:43: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; Fri, 24 Feb 2012 06:43: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 03879337ED1 for ; Fri, 24 Feb 2012 06:42:49 +0000 (UTC) Date: Fri, 24 Feb 2012 06:42:49 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28Commented=29_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: <674599091.14121.1330065769015.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <892214505.11922.1330033668721.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (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: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-1223?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1321= 5439#comment-13215439 ]=20 Jean-Baptiste Onofr=C3=A9 commented on KARAF-1223: --------------------------------------------- I don't see a huge value to that as the feature file should be local to be = able to create the kar. However, I can see an interesting use case to create kar over existing feat= ures (present on a repo). =20 > 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 > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: 3.0.0 > > Attachments: CreateKarMojo.java.patch > > > The features-create-kar goal of the karaf-maven-plugin plugin currently o= nly 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 w= ith the correct groupId/artifactId. > In a single pom the karaf-maven-plugin with goal features-create-kar is e= xecuted twice to generate two separate kar files from two independent featu= res.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 administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira