pom引入第三方lib的方法
<dependency>
<groupId>vijava</groupId> //自定义
<artifactId>vijava</artifactId> //自定义
<version>55b20130927</version> //自定义
<scope>system</scope> //固定为system
<systemPath>${basedir}/src/main/resources/lib/vijava55b20130927.jar</systemPath>
</dependency>
以下是必要的
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<includeSystemScope>true</includeSystemScope>
<mainClass>com.dyaqi.Application</mainClass>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>