由于我已将该选项插入<lineEnding>unix</lineEnding>
到我的 Maven 程序集插件配置中的文件集和文件中,因此奇怪的文件被放置在我的 tar.xml 文件中。
它们如下所示:
ignore.me.1499711160.filtered.903528596.formatted run.sh.2124782621.filtered.1130667884.formatted
你知道为什么会发生这种情况吗?
由于我已将该选项插入<lineEnding>unix</lineEnding>
到我的 Maven 程序集插件配置中的文件集和文件中,因此奇怪的文件被放置在我的 tar.xml 文件中。
它们如下所示:
ignore.me.1499711160.filtered.903528596.formatted run.sh.2124782621.filtered.1130667884.formatted
你知道为什么会发生这种情况吗?
这是在MASSEMBLY-462中捕获的错误。使用附带的补丁修补插件或恢复到以前的版本(尝试使用 2.2-beta-4)。
我有同样的问题,我在汇编器中使用 excludes 标签,你也可以在 pom 中使用它:
<fileSet>
<directory>DEV</directory>
<outputDirectory>${file.separator}FileName${file.separator}DEV</outputDirectory>
<useDefaultExcludes>true</useDefaultExcludes>
<lineEnding>unix</lineEnding>
<excludes>
<exclude>*.formatted</exclude>
</excludes>
</fileSet>