maven-assembly插件区分Linux和Windows的assembly-id, 解决maven构建warning

This commit is contained in:
陈精华 2024-03-26 16:56:11 +08:00
parent 08e5a15424
commit 59315c3200
No known key found for this signature in database
GPG Key ID: 30BDC970902B755D
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>make-assembly</id>
<id>assembly-linux</id>
<formats>
<format>tar.gz</format>
</formats>

View File

@ -3,7 +3,7 @@
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>make-assembly</id>
<id>assembly-windows</id>
<formats>
<format>zip</format>
</formats>