Browse Source

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

pull/283/MERGE
陈精华 8 months ago
parent
commit
59315c3200
No known key found for this signature in database
GPG Key ID: 30BDC970902B755D
  1. 2
      server/src/main/assembly/dist-linux.xml
  2. 2
      server/src/main/assembly/dist-win32.xml

2
server/src/main/assembly/dist-linux.xml

@ -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>

2
server/src/main/assembly/dist-win32.xml

@ -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>

Loading…
Cancel
Save