I've a custom maven archetype which generates several projects. This works fine, however when I generate the projects using the archetype, all files are generated using windows line breakers (I'm running on windows).
Even if I add -DargLine="-Dline.separator=$'\n' to the maven command, it does create all files on windows style.
The problem this generates is that some of the files on the project are .sh, and the windows breakers breaks the file and they are useless.
I've already checked and the files inside the archetype.jar are as I defined on my project (unix style).
Is there a way to configure this? I could not find any other possible configuration to define this.