0

we are writing shell scripts in the IDE of Window, and package the project including the shell scripts with assemply maven plugin.

When it is unpacked on Linux OS, there is no problem for the shell scripts is itself, but it has to be changed the format from windows to Linux.

I would ask if there are Maven plugin that supports to make the format transformation during maven packaging process

Thanks!

Tom
  • 5,848
  • 12
  • 44
  • 104

1 Answers1

0

You shouldn't use an Ant Task for that, cause maven-assembly-plugin's assembly descriptor is capable of doing so. See for lineEndings...

khmarbaise
  • 92,914
  • 28
  • 189
  • 235
  • Thanks @khmarbaise for the explanation. Actually, there is an answer that is using assembly plugin and lineEndings in the reference url. I am exactly using this way – Tom Nov 18 '16 at 00:40