spring boot maven项目加载本地jar包并打包成功
poi.xml 配置:
<dependency> <groupId>com.xiaomi.miliao</groupId> <artifactId>xmpush-server-api-http2</artifactId> <version>1.0.8-SNAPSHOT</version> <scope>system</scope> <systemPath>${basedir}/lib/MiPush_SDK_Server_Http2_1.0.8-SNAPSHOT.jar</systemPath> </dependency>