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-5104) karaf:run should support a features set
Date Mon, 12 Jun 2017 18:01:00 GMT

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

ASF GitHub Bot commented on KARAF-5104:

GitHub user steinarb opened a pull request:


    A fix to KARAF-5104 karaf:run should support a features set

    This pull request is a fix to [KARAF-5104](https://issues.apache.org/jira/browse/KARAF-5104)
    This change adds:
    1. A parameter to set a list of URLs to feature repositories to add to the karaf started
by karaf:run
    2. A parameter containing a comma separated list of features to install in the karaf started
by karaf:run
    3. If karaf:run is set up to deploy the current project artifact and if the current project
has packaging pom and an attached file with classifier "features" and type "xml", that attachment
will be installed as a feature repository in the karaf started by the karaf:run goal
    Even if you decide not to take this change, you might consider the first commit of this
pull request, because that is just as-is unit tests of the RunMojo.deploy(BundleContext) method.

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

    $ git pull https://github.com/steinarb/karaf master

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 #318
commit 484b5615ba66359337ffb8aa171df5186b7921fd
Author: Steinar Bang <sb@dod.no>
Date:   2017-06-10T18:44:10Z

    Add as-is test for RunMojo.deploy(BundleContext).

commit 53587ba5dcb4e78e5af54447ed98d15aae1da2c6
Author: Steinar Bang <sb@dod.no>
Date:   2017-06-10T23:42:23Z

    KARAF-5104 Use attachment of type "xml" with classifier "features" as feature repository
of the karaf instance started by the karaf:run goal.

commit 6857832fb957ad908cf3a73126d60eb72f54ecff
Author: Steinar Bang <sb@dod.no>
Date:   2017-06-11T17:51:17Z

    KARAF-5104 Add a feature list parameter that will be installed in the karaf instance started
by the karaf:run goal.

commit 43795d304689e516ea2ec3b7293f4ac77bb79b0c
Author: Steinar Bang <sb@dod.no>
Date:   2017-06-11T19:18:06Z

    KARAF-5104 Add a parameter for feature repositories that will be installed in the karaf
instance deployed by the karaf:run goal.
    The feature repositories are installed before the features.

commit 3ec1f5cad7990da455312749a7c5f119797ff46e
Author: Steinar Bang <sb@dod.no>
Date:   2017-06-12T16:35:36Z

    KARAF-5104 The karaf:run goal can use the feature repositories and features independent
of whether the current target is a feature repository or not.

commit 3d2e5a3360b95a457fcde3c8b4532e8267da258a
Author: Steinar Bang <sb@dod.no>
Date:   2017-06-12T17:08:26Z

    KARAF-5104 Wait 1 second between each feature install in the karaf:run maven goal.


> karaf:run should support a features set
> ---------------------------------------
>                 Key: KARAF-5104
>                 URL: https://issues.apache.org/jira/browse/KARAF-5104
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-tooling
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
> Now, {{karaf:run}} can automatically install a bundle in started Karaf instance. The
goal should be able to support features XML descriptors and a set of features.

This message was sent by Atlassian JIRA

View raw message