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

Uwe Korte updated KARAF-472:
----------------------------

    Description: 
The "add-features-to-repo"-goal of the features-maven-plugin seems to have 
problems with tab-characters in feature-repositories (like in the 
standard-feature http).
If there is a tab in the bundle-definition-line it gets somehow appended to the 
version and artifact-name so the bundle could not be resolved.

Here an example of the plugin-output:
Downloading: 
http://maven-repo/nexus/content/groups/public/org/eclipse/jetty/jetty-io/7.2.2.v20101205
           /jetty-io-7.2.2.v20101205               .jar
Actually in source it is: " ...... 
jetty-io/7.2.2.v20101205<tab><tab>/jetty-io-7.2.2.v20101205<tab><tab>.jar"

Adding '.replace("\t","")' in MojoSupport.bundleToArtifact() fixed the problem 
for me, but I'm not sure if there are still other issues with Tab-characters.

  was:
The "add-features-to-repo"-goal of the features-maven-plugin seems to have 
problems with tab-characters in feature-repositories (like in the 
standard-feature http).
If there is a tab in the bundle-definition-line it gets somehow appended to the 
version and artifact-name so the bundle could not be resolved.

Here an example of the plugin-output:
Downloading: 
http://maven-repo/nexus/content/groups/public/org/eclipse/jetty/jetty-io/7.2.2.v20101205
           /jetty-io-7.2.2.v20101205               .jar

Adding '.replace("\t","")' in MojoSupport.bundleToArtifact() fixed the problem 
for me, but I'm not sure if there are still other issues with Tab-characters.


> features-maven-plugin: TAB-characters in feature-repository lead to 
> resolution-errors in add-features-to-repo
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-472
>                 URL: https://issues.apache.org/jira/browse/KARAF-472
>             Project: Karaf
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 2.1.4, 2.2.0, 3.0.0
>            Reporter: Uwe Korte
>
> The "add-features-to-repo"-goal of the features-maven-plugin seems to have 
> problems with tab-characters in feature-repositories (like in the 
> standard-feature http).
> If there is a tab in the bundle-definition-line it gets somehow appended to 
> the version and artifact-name so the bundle could not be resolved.
> Here an example of the plugin-output:
> Downloading: 
> http://maven-repo/nexus/content/groups/public/org/eclipse/jetty/jetty-io/7.2.2.v20101205
>          /jetty-io-7.2.2.v20101205               .jar
> Actually in source it is: " ...... 
> jetty-io/7.2.2.v20101205<tab><tab>/jetty-io-7.2.2.v20101205<tab><tab>.jar"
> Adding '.replace("\t","")' in MojoSupport.bundleToArtifact() fixed the 
> problem for me, but I'm not sure if there are still other issues with 
> Tab-characters.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to