错误:
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>
Logo

更多推荐