配置依赖第三方已下载好的jar
<!-- 引入第三方alipay-->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>alipay-java</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/lib/alipay-trade-sdk-20161215.jar</systemPath>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>core-java</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/lib/core-2.1.jar</systemPath>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>conmons-java</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/lib/commons-codec-1.10.jar</systemPath>
</dependency>
配置maven插件
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<!-- 引入第三方lib配置-->
<configuration>
<executable>true</executable>
<includeSystemScope>true</includeSystemScope>
</configuration>
<executions>
<execution>
<phase>none</phase>
</execution>
<!--<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>-->
</executions>
</plugin>
</plugins>