[ 
https://jira.codehaus.org/browse/MASSEMBLY-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kristian Rosenvold closed MASSEMBLY-648.
----------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: backlog)
         Assignee: Kristian Rosenvold

Fixed in r1643597. Will now fail on linefeed filtering of zip/jar files

> lineEnding in fileSet corrupts jar files
> ----------------------------------------
>
>                 Key: MASSEMBLY-648
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-648
>             Project: Maven 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
>            Assignee: Kristian Rosenvold
>            Priority: Minor
>             Fix For: 2.5.3
>
>         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 was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to