Skip to content

Commit

Permalink
maven-assembly插件区分Linux和Windows的assembly-id, 解决maven构建warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gitchenjh committed Mar 26, 2024
1 parent 08e5a15 commit 59315c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/src/main/assembly/dist-linux.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion server/src/main/assembly/dist-win32.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 59315c3

Please sign in to comment.