博主首页

maven打包加入本地jar包案例

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <includeSystemScope>true</includeSystemScope>
                    <fork>true</fork>
                </configuration>
            </plugin>
        <dependency>
            <groupId>com.sgcc</groupId>
            <artifactId>nds</artifactId>
            <version>1.6</version>
            <scope>system</scope>
            <systemPath>${project.basedir}/lib/sgcc_nariOld-1.6.jar</systemPath>
        </dependency>

 

posted @ 2023-01-09 15:02  笑~笑  阅读(81)  评论(0)    收藏  举报