[ https://jira.codehaus.org/browse/MASSEMBLY-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=343290#comment-343290 ]
Leo Leung edited comment on MASSEMBLY-637 at 3/20/14 12:14 AM: --------------------------------------------------------------- I'm using version 2.4 and struck this bug. What's the easiest way to get this fix? I'm getting "rejected hunks" when I try to apply the patch to the 2.4 source. And using the files from https://svn.apache.org/viewvc?view=revision&revision=r1506482 gives me the following compilation error: {noformat} [ERROR] F:\maven-assembly-plugin\src\main\java\org\apache\maven\plugin\assembly\archive\DefaultAssemblyArchiver.java:[147,25] error: method verifyTempDirectoryAvailability in class AssemblyFileUtils cannot be applied to given types; {noformat} was (Author: leol): I'm using version 2.4 and struck this bug. What's the easiest way to get this fix? > fileSet <lineEnding>unix</lineEnding> strips last newline of file > ----------------------------------------------------------------- > > Key: MASSEMBLY-637 > URL: https://jira.codehaus.org/browse/MASSEMBLY-637 > Project: Maven Assembly Plugin > Issue Type: Bug > Affects Versions: 2.4 > Environment: Linux ws117v6226517 2.6.32-5-686 #1 SMP Sun Sep 23 > 09:49:36 UTC 2012 i686 GNU/Linux > Apache Maven 3.0.4 (r1232337; 2012-01-17 01:44:56-0700) > Maven home: /usr/local/lib/apache-maven-3.0.4 > Java version: 1.6.0_33, vendor: Sun Microsystems Inc. > Java home: /usr/local/lib/jdk1.6.0_33/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "2.6.32-5-686", arch: "i386", family: "unix" > Reporter: deckrider > Assignee: Olivier Lamy > Fix For: 2.5 > > Attachments: MASSEMBLY-637.patch > > > using <fileSet><lineEnding>unix</lineEnding> strips last newline of file when > building on Linux platform (not sure about other platforms) -- This message was sent by Atlassian JIRA (v6.1.6#6162)