1.新建maven项目
2.打包并安装插件
依次点击package,install
3.Springboot中引用此插件
在pom.xml中添加依赖:
<dependency>
<groupId>com.hjj.test</groupId>
<artifactId>hjj-java-test-sdk</artifactId>
<version>1.0.0</version>
</dependency>
4.springboot打包