依赖 maven sassembly 插件
什么是Assembly?
个人理解就是打包时将制定的目录下的文件(可指定文件类型)复制到指定的目录里
1.pom.xml添加
org.apache.maven.plugins
maven-assembly-plugin
3.1.0
false
src/main/assembly/release.xml
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase><!-- 绑定到package生命周期阶段上 -->
<goals>
<goal>single</goal><!-- 只运行一次 -->
</goals>
</execution>
</executions>
</plugin>
2、新增release.xml
p r