打包引入版权文件

This commit is contained in:
bwcx_jzy 2021-09-11 12:11:13 +08:00
parent 1f1b1b15fc
commit b468ecee99
2 changed files with 84 additions and 69 deletions

View File

@ -1,40 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<assembly>
<id>release</id>
<includeBaseDirectory>false</includeBaseDirectory>
<formats>
<format>dir</format>
<format>zip</format>
</formats>
<id>release</id>
<includeBaseDirectory>false</includeBaseDirectory>
<formats>
<format>dir</format>
<format>zip</format>
</formats>
<fileSets>
<!-- 打包Jpom 管理命令文件-->
<fileSet>
<directory>script/</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>Agent.sh</include>
<include>Agent.bat</include>
</includes>
</fileSet>
<!--复制外部配置文件-->
<fileSet>
<directory>src/main/resources/bin/</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>extConfig.yml</include>
</includes>
</fileSet>
</fileSets>
<fileSets>
<!-- 打包Jpom 管理命令文件-->
<fileSet>
<directory>script/</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>Agent.sh</include>
<include>Agent.bat</include>
</includes>
</fileSet>
<!--复制外部配置文件-->
<fileSet>
<directory>src/main/resources/bin/</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>extConfig.yml</include>
</includes>
</fileSet>
<!--版权文件-->
<fileSet>
<directory>../../</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>LICENSE</include>
</includes>
</fileSet>
</fileSets>
<!-- 依赖的 jar 包 copy 到 lib 目录下 -->
<dependencySets>
<dependencySet>
<outputDirectory>lib</outputDirectory>
<includes>
<include>io.jpom:agent</include>
</includes>
</dependencySet>
</dependencySets>
<!-- 依赖的 jar 包 copy 到 lib 目录下 -->
<dependencySets>
<dependencySet>
<outputDirectory>lib</outputDirectory>
<includes>
<include>io.jpom:agent</include>
</includes>
</dependencySet>
</dependencySets>
</assembly>

View File

@ -1,41 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<assembly>
<id>release</id>
<includeBaseDirectory>false</includeBaseDirectory>
<formats>
<format>dir</format>
<format>zip</format>
</formats>
<id>release</id>
<includeBaseDirectory>false</includeBaseDirectory>
<formats>
<format>dir</format>
<format>zip</format>
</formats>
<fileSets>
<!-- 打包Jpom 管理命令文件-->
<fileSet>
<directory>script/</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>Server.sh</include>
<include>Server.bat</include>
</includes>
</fileSet>
<!--复制外部配置文件-->
<fileSet>
<directory>src/main/resources/bin/</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>extConfig.yml</include>
</includes>
</fileSet>
</fileSets>
<fileSets>
<!-- 打包Jpom 管理命令文件-->
<fileSet>
<directory>script/</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>Server.sh</include>
<include>Server.bat</include>
</includes>
</fileSet>
<!--复制外部配置文件-->
<fileSet>
<directory>src/main/resources/bin/</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>extConfig.yml</include>
</includes>
</fileSet>
<!--版权文件-->
<fileSet>
<directory>../../</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>LICENSE</include>
</includes>
</fileSet>
</fileSets>
<!-- 依赖的 jar 包 copy 到 lib 目录下 -->
<dependencySets>
<dependencySet>
<outputDirectory>lib</outputDirectory>
<includes>
<include>io.jpom:server</include>
</includes>
</dependencySet>
</dependencySets>
<!-- 依赖的 jar 包 copy 到 lib 目录下 -->
<dependencySets>
<dependencySet>
<outputDirectory>lib</outputDirectory>
<includes>
<include>io.jpom:server</include>
</includes>
</dependencySet>
</dependencySets>
</assembly>