You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2014/02/18 21:55:22 UTC

[jira] [Updated] (SLING-3401) Support multiple bundles for jarWebSupport

     [ https://issues.apache.org/jira/browse/SLING-3401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated SLING-3401:
-------------------------------------

    Attachment: SLING-3401.patch

Proposed patch supporting the single and multiple bundles in the jarWebSupport property:

For backwards compatibility a single bundle can be specified as follows:

{code:xml}
<jarWebSupport>
    <groupId>org.apache.felix</groupId>
    <artifactId>org.apache.felix.http.jetty</artifactId>
    <version>2.3.0-SNAPSHOT</version>
    <startLevel>4</startLevel>
</jarWebSupport>
{code}

For multiple bundles it would be:

{code:xml}
<jarWebSupport>
    <bundles>
        <bundle>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.http.jetty</artifactId>
            <version>2.3.0-SNAPSHOT</version>
            <startLevel>4</startLevel>
        </bundle>
        <bundle>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.http.api</artifactId>
            <version>2.3.0-SNAPSHOT</version>
            <startLevel>4</startLevel>
        </bundle>
        <bundle>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.http.servlet-api</artifactId>
            <version>0.0.1-SNAPSHOT</version>
            <startLevel>4</startLevel>
        </bundle>
    </bundles>
</jarWebSupport>
{code}

> Support multiple bundles for jarWebSupport
> ------------------------------------------
>
>                 Key: SLING-3401
>                 URL: https://issues.apache.org/jira/browse/SLING-3401
>             Project: Sling
>          Issue Type: Improvement
>          Components: Launchpad
>    Affects Versions: Maven Launchpad Plugin 2.2.0
>            Reporter: Felix Meschberger
>         Attachments: SLING-3401.patch
>
>
> The Launchpad Plugin allows to define the Http Service implementation to be specified with the jarWebSupport property. This property currently only supports a single bundle.
> Now, the Felix Jetty Http Service implementation has been refactored (FELIX-4427) to not export the API anymore. Thus the Http Service API and the Servlet API have to be provided by one or more additional bundles.
> Hence the jarWebSupport property should be extended to support multiple bundles.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)