You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason Isenhower (JIRA)" <ji...@codehaus.org> on 2015/02/04 22:38:19 UTC

[jira] (MSHADE-186) SimpleRelocator relocation result differs between Windows and Linux

Jason Isenhower created MSHADE-186:
--------------------------------------

             Summary: SimpleRelocator relocation result differs between Windows and Linux
                 Key: MSHADE-186
                 URL: https://jira.codehaus.org/browse/MSHADE-186
             Project: Maven Shade Plugin
          Issue Type: Bug
    Affects Versions: 2.3
            Reporter: Jason Isenhower
         Attachments: reloc-includes-excludes.patch

The relocations option for the plugin produces different output when executed on Windows and Linux systems. This happens because the SimpleRelocator normalizes the input using a hard coded "/" while Plexus SelectorUtils used by SimpleRelocator matches patterns using File.separator. This issue is similar to MSHADE-68. The attached integration test patch reproduces the issue. The patched test passes when running on Windows and fails on Linux.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)