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

Guillaume Nodet resolved FELIX-2329.
------------------------------------

         Assignee: Guillaume Nodet
    Fix Version/s: karaf 1.6.0
       Resolution: Fixed

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
        M       
karaf/tooling/features-maven-plugin/src/main/java/org/apache/felix/karaf/tooling/features/AddFeaturesToRepoMojo.java
Committed r945101

I've changed your patch slightly, as I did not really see the value in keeping 
the old behavior.

> Improve the URL handling in features-maven-plugin regarding the 
> add-features-to-repo goal
> -----------------------------------------------------------------------------------------
>
>                 Key: FELIX-2329
>                 URL: https://issues.apache.org/jira/browse/FELIX-2329
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>    Affects Versions: karaf-1.4.0
>            Reporter: Bengt Rodehav
>            Assignee: Guillaume Nodet
>             Fix For: karaf 1.6.0
>
>         Attachments: AddFeaturesToRepoMojo.diff, AddFeaturesToRepoMojo.java
>
>
> Presently the fatures-maven-plugin cannot handle URL's starting with anything 
> else than "mvn:" and "wrap:". As long as "mvn:" exists later on in the URL, 
> the protocols before "mvn:" could be skipped since they are not used for the 
> add-features-to-repo goal. E g the following bundle definition should be 
> possible to handle:
> <bundle>ipojo:mvn:com.acme/artifact/1.0</bundle>
> A similar problem arises when references (beginning with "#") and 
> parameters/queries (beginning with "?") are appended to the URL. E g the 
> following bundle definition should be possible to handle:
> <bundle>war:mvn:com.acme/war-artifact/1.0/war?Webapp-Context=my_context</bundle>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to