Maven打包遇见问题 OS=windows
错误:ERROR OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference解决办法一:在linux目录前加一个点。<fileSet><directory>target</directory>**&l...
·
错误:
OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) /lib
OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) /
解决办法一:在linux目录前加一个点。
<fileSet>
<directory>target</directory>
**<outputDirectory>./</outputDirectory>**
<includes>
<include>*.jar</include>
</includes>
</fileSet>
解决办法二:将outputDirectory闭合(网上学来、暂未测试)
<fileSet>
<directory>target</directory>
**<outputDirectory/>**
<includes>
<include>*.jar</include>
</includes>
</fileSet>
更多推荐
已为社区贡献1条内容
所有评论(0)