[ 
https://jira.codehaus.org/browse/MASSEMBLY-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=358693#comment-358693
 ] 

Kristian Rosenvold commented on MASSEMBLY-648:
----------------------------------------------

I think we'll simply fail the build if we try to filter "Obvious" binary 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
>            Priority: Minor
>             Fix For: backlog, 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