Replacement of {maven-dependencies} in Include-Resource and Bundle-ClassPath 
can strip Windows path separators
--------------------------------------------------------------------------------------------------------------

                 Key: FELIX-517
                 URL: https://issues.apache.org/jira/browse/FELIX-517
             Project: Felix
          Issue Type: Bug
          Components: Maven Bundle Plugin
    Affects Versions: maven-bundle-plugin-1.4.0
         Environment: Windows
            Reporter: Stuart McCulloch


On Windows platforms, when you use {maven-dependencies} in a custom 
Include-Resource instruction like the following:

   <Include-Resource>
      additional-resource, {maven-dependencies}, some-other-resource
   <Include-Resource>

then the Windows path separator can be stripped by the String.replaceAll() 
method - this could also affect other characters that have special meaning in 
regexp.

Solution is to use the Plexus StringUtils.replace() method which supports 
simple string replacement without using regexp (which isn't actually required 
here).

-- 
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