2009/4/19 Chris Chabot <[email protected]>:
> On Sun, Apr 19, 2009 at 1:23 PM, Vincent Siveton
> <[email protected]>wrote:
>
>>
>> Waiting for your go to restart the release.
>>
>
>
> It seems maven changes the line endings in the source files? That's breaking
> my json/xml/atom output tests (since the output uses windows line endings,
> and the expected is unix style). Is there any way to stop maven from doing
> that? (at least for all *.php files)

Actually, the php assembly [1] doesn't specify the line ending or file
mode. You could add them similar to:

<fileSet>
  ...
  <lineEnding>dos</lineEnding>
</fileSet>

<fileSet>
  ...
  <lineEnding>unix</lineEnding>
  <fileMode>0755</fileMode>
</fileSet>

Read [2] for more informations.

Vincent

[1] 
https://svn.apache.org/repos/asf/incubator/shindig/branches/1.0.x-incubating/assembly/src/main/assembly/php.xml
[1] http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html

Reply via email to