maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Isenhower (JIRA)" <j...@codehaus.org>
Subject [jira] (MSHADE-186) SimpleRelocator relocation result differs between Windows and Linux
Date Wed, 04 Feb 2015 21:38:19 GMT
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)

Mime
View raw message