You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anders Hammar (JIRA)" <ji...@codehaus.org> on 2013/03/19 11:24:52 UTC

[jira] (MASSEMBLY-648) lineEnding in fileSet corrupts jar files

Anders Hammar created MASSEMBLY-648:
---------------------------------------

             Summary: lineEnding in fileSet corrupts jar files
                 Key: MASSEMBLY-648
                 URL: https://jira.codehaus.org/browse/MASSEMBLY-648
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    Affects Versions: 2.4
         Environment: Maven 3.0.5 on Mac Os 10.8.3 with Apple JDK 1.6.0_43
Maven 3.0.5 on Windows XP with Oracle JDK 1.6.0_31
            Reporter: Anders Hammar
         Attachments: assembly-lineEnding.zip

I've found a difference in behavior between v2.3 and v2.4 of the plugin. If lineEnding is set to, for example, unix for a fileSet which contains jar files, the jar files are modified and corrupt with v2.4. This was not the case with v2.3. See attached test project.

Not sure if this is an actual bug in the plugin, or rather a misconfiguation in the project. But the behavioral change between the versions is a fact. :-)

If this is not a bug, maybe we could try to detect misconfiguration like this and output a warning?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira