문제

since I've inserted the option <lineEnding>unix</lineEnding> into my fileSets and files in my Maven assembly plugin configuration, strange files are placed in my tar.

They look as following:

ignore.me.1499711160.filtered.903528596.formatted
run.sh.2124782621.filtered.1130667884.formatted

Do you know why this occurrs?

도움이 되었습니까?

해결책

This is a bug captured in MASSEMBLY-462. Either patch the plugin with the attached patch or revert to a previous version (try with 2.2-beta-4).

다른 팁

I had the same problem i used excludes tag in the assembler, you can use it in pom too:

   <fileSet>
        <directory>DEV</directory>
        <outputDirectory>${file.separator}FileName${file.separator}DEV</outputDirectory>
        <useDefaultExcludes>true</useDefaultExcludes>
        <lineEnding>unix</lineEnding>
        <excludes>
          <exclude>*.formatted</exclude>
        </excludes>
    </fileSet>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top