Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-517

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

    XMLWordPrintableJSON

Details

    Description

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

      Attachments

        Activity

          People

            mcculls Stuart McCulloch
            mcculls Stuart McCulloch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: