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 480851792F for ; Thu, 6 Nov 2014 00:30:34 +0000 (UTC) Received: (qmail 45314 invoked by uid 500); 6 Nov 2014 00:30:34 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 45290 invoked by uid 500); 6 Nov 2014 00:30: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 45272 invoked by uid 99); 6 Nov 2014 00:30:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2014 00:30:34 +0000 Date: Thu, 6 Nov 2014 00:30:34 +0000 (UTC) From: "Maciej Mraczek (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-3344) Unable to define war as part of the feature 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-3344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14199461#comment-14199461 ] Maciej Mraczek commented on KARAF-3344: --------------------------------------- Fix proposal at https://github.com/apache/karaf/pull/51 > Unable to define war as part of the feature > ------------------------------------------- > > Key: KARAF-3344 > URL: https://issues.apache.org/jira/browse/KARAF-3344 > Project: Karaf > Issue Type: Bug > Components: karaf-tooling > Affects Versions: 3.0.2 > Environment: Windows 7 64 > Reporter: Maciej Mraczek > Labels: feature, war > > I'm trying to deploy WAR as part of Karaf startup feature inside my Karaf custom distribution. > WAR definition inside tag in feature.xml: > {quote} > webbundle:mvn:org.karaf.abc/angular-frontend/$\{project.version\}/war?Web-ContextPath=/angular-frontend > {quote} > Maven error: > {quote} > \[ERROR\] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:3.0.2:install-kars (default-install-kars) on project abc-distribution: Can not install abc-full feature: Couldn't resolve artifact org.karaf.abc:angular-frontend:war?Web-ContextPath=:angular-frontend:1.0-SNAPSHOT: Could not find artifact org.karaf.abc:angular-frontend:war?Web-ContextPath=:angular-frontend:1.0-SNAPSHOT -> \[Help 1\] > {quote} > The error is also reproduced when using karaf-maven-plugin 4.0.0.M1 > The custom distribution with WAR can be created using Karaf 2.x > The WAR artifact can be installed inside Karaf by bundle:install -s without any problems. > It looks like install-kars goal does not ignore install parameters after ? sign. -- This message was sent by Atlassian JIRA (v6.3.4#6332)