karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3344) Unable to define war as part of the feature
Date Thu, 06 Nov 2014 00:27:34 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14199456#comment-14199456

ASF GitHub Bot commented on KARAF-3344:

GitHub user boodoopl opened a pull request:


    [KARAF-3344] Fix karaf-maven-plugin non-standard URLs handling

    74515f50fa5c1f86c97a7c46688d253f7b2d60fd fixed only "wrap:" URL options handling.
    I extended it to other URLs types and simplified implementation by using RegExp.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/boodoopl/karaf karaf-3.0.x

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #51
commit 7f32235e13e09fcd1ac416f91c0f375499f2d085
Author: Maciej Mraczek <maciej.mraczek@gmail.com>
Date:   2014-11-06T00:18:27Z

    [KARAF-3344] Fix karaf-maven-plugin non-standard URLs handling


> 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 <feature> tag in feature.xml:
> {quote}
> <bundle start-level="83">webbundle:mvn:org.karaf.abc/angular-frontend/$\{project.version\}/war?Web-ContextPath=/angular-frontend</bundle>
> {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

View raw message