1 Star 0 Fork 56

麦小格 / Biz-Boot

forked from FlyCms / Biz-Boot 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
assembly.xml 1.78 KB
一键复制 编辑 原始数据 按行查看 历史
飞舞九天 提交于 2019-12-25 16:27 . linux服务器调试配置
<?xml version="1.0" encoding="UTF-8"?>
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>customAssembly</id>
<formats>
<!-- 打包成目录,这里其实有很多选择,如jar,war,zip,tar等,我们这里选择先打成目录,到真正要用的时候可以打包成zip-->
<format>dir</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<!-- 配置文件和静态文件,直接复制-->
<fileSet>
<directory>src/main/resources/</directory>
<outputDirectory>./resources</outputDirectory>
</fileSet>
<!--如有有启动脚本文件也复制-->
<fileSet>
<directory>bin/</directory>
<outputDirectory>./bin</outputDirectory>
</fileSet>
</fileSets>
<dependencySets>
<!-- 打包依赖文件,就是maven里面那一堆jar包-->
<dependencySet>
<outputDirectory>/lib</outputDirectory>
<scope>runtime</scope>
<!-- 除了主jar文件都打到lib目录下,因为pom文件中设置主jar的依赖包目录为lib/-->
<excludes>
<exclude>${project.groupId}:${project.artifactId}</exclude>
</excludes>
</dependencySet>
<!-- 主jar打到根目录-->
<dependencySet>
<outputDirectory>/</outputDirectory>
<includes>
<include>${project.groupId}:${project.artifactId}</include>
</includes>
</dependencySet>
</dependencySets>
</assembly>
Java
1
https://gitee.com/maixiaoge/Biz-Boot.git
git@gitee.com:maixiaoge/Biz-Boot.git
maixiaoge
Biz-Boot
Biz-Boot
master

搜索帮助