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>

 

posted @ 2020-06-11 13:26  liliyou  阅读(362)  评论(0编辑  收藏  举报