You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by steinarb <gi...@git.apache.org> on 2017/06/12 18:00:54 UTC

[GitHub] karaf pull request #318: A fix to KARAF-5104 karaf:run should support a feat...

GitHub user steinarb opened a pull request:

    https://github.com/apache/karaf/pull/318

    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:

    https://github.com/apache/karaf/pull/318.patch

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.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] karaf pull request #318: A fix to KARAF-5104 karaf:run should support a feat...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/karaf/pull/318


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---