[
https://jira.codehaus.org/browse/MCHECKSTYLE-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=352930#comment-352930
]
Robert Scholte commented on MCHECKSTYLE-249:
--------------------------------------------
I'm pretty sure it will fail for all non-matching newLines: Windows versus Unix
versus Mac
The [NewlineAtEndOfFile|http://checkstyle.sourceforge.net/config_misc.html] has
no {{dynamic}} option (any known newLine), so I suggest to rewrite these tests.
None of them really depend on the newline check, it could easily be replaced
with another check.
> ITs failing when building on Windows from distribution prepared on Unix
> -----------------------------------------------------------------------
>
> Key: MCHECKSTYLE-249
> URL: https://jira.codehaus.org/browse/MCHECKSTYLE-249
> Project: Maven Checkstyle Plugin
> Issue Type: Bug
> Affects Versions: 2.13
> Reporter: Herve Boutemy
> Priority: Blocker
>
> {noformat}[INFO] -------------------------------------------------
> [INFO] Build Summary:
> [INFO] Passed: 28, Failed: 4, Errors: 0, Skipped: 0
> [INFO] -------------------------------------------------
> [ERROR] The following builds failed:
> [ERROR] * avalon-checks\pom.xml
> [ERROR] * check-fail\pom.xml
> [ERROR] * MCHECKSTYLE-169\pom.xml
> [ERROR] * turbine-checks\pom.xml
> [INFO] -------------------------------------------------{noformat}
> They all fail for the same reason:
> NewlineAtEndOfFile: File does not end with a newline.
> The zip file contains Unix newlines, which are not recognized by Checkstyle...
> see
> http://mail-archives.apache.org/mod_mbox/maven-dev/201409.mbox/%3Cop.xmegy1trkdkhrr%40robertscholte.dynamic.ziggo.nl%3E
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)