添加第三方JAR包后,为了使第三方包也能打包进SpringBoot的boot-inf/lib目录。
执行打包指令:mvn package
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-starter-test
test
com.aliyun
aliyun-java-sdk-core
3.2.3
system
${project.basedir}/libs/aliyun-java-sdk-core-3.2.3.jar
com.aliyun
aliyun-java-sdk-dysmsapi
1.0.0
system
${project.basedir}/libs/aliyun-java-sdk-dysmsapi-1.0.0.jar
com.aliyun.mns
aliyun-sdk-mns
1.1.8
system
${project.basedir}/libs/aliyun-sdk-mns-1.1.8.jar
com.aliyun
aliyun-java-sdk-dybaseapi
1.0.0
system
${project.basedir}/libs/aliyun-java-sdk-dybaseapi-1.0.0.jar
com.aliyun.alicom
alicom-mns-receive-sdk
1.0.0
system
${project.basedir}/libs/alicom-mns-receive-sdk-1.0.0.jar
org.apache.httpcomponents
httpclient
4.5.3
org.apache.httpcomponents
httpasyncclient
4.1.3
org.apache.httpcomponents
httpcore
4.4.1
org.apache.httpcomponents
httpcore-nio
4.4.1
org.apache.commons
commons-lang3
3.1
org.springframework.boot
spring-boot-maven-plugin
libs
BOOT-INF/lib/
**/*.jar
src/main/resources
BOOT-INF/classes/