Mvn downloading/running fails if the file is in DOS format

Issue #37 new
Penny Wyatt
created an issue

Running on Cygwin on Windows 10, I cloned a repo containing a single-line file.

When running mvnvm, I got this corrupted output and nothing ran:

pwyatt@CLI-1964 /cygdrive/c/git/confluence-pdf-export-plugin
$ mvn clean install
[MVNVM] Using maven: 3.3.9            downloading: apache-maven-3.3.9                     to: /home/pwyatt/.mvnvm/apache-maven-3.3.9
-bin.zips/apache-maven-3.3.9ive:            old archive:     really old archive: from any location apache-maven-3.3.9

The properties did not have a trailing line break, but opening it in vi, running ":set ff=unix" and saving again, resolved the issue.