1、
配置依赖
<dependency>
<groupId>com.genesyslab</groupId>
<artifactId>genesyslab</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/resources/genesys-1.0.jar</systemPath>
</dependency>
2、配置插件
<plugin>标签:包中,1.0,springboot,jar,boot,genesyslab From: https://www.cnblogs.com/hoodaibiao/p/18206874
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.1.1.RELEASE</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>