第三方sdk本地jar导入
<dependency>
<groupId>com.xx</groupId>
<artifactId>xx-sdk</artifactId>
<version>2.1.7-SNAPSHOT</version>
<scope>system</scope>
<systemPath>d:\xx-sdk-0.0.1.jar</systemPath>
</dependency>
注意includeSystemScope一定要是true
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>
</plugins>
</build>