Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
maven-bundle-plugin-1.4.0
-
None
-
Windows
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).