mvn引用本地包

        <dependency>
            <groupId>jna</groupId>
            <artifactId>jna</artifactId>
            <scope>system</scope>
            <version>1</version>
            <systemPath>${pom.basedir}/src/main/resources/jna-5.10.0.jar</systemPath>
        </dependency>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <includeSystemScope>true</includeSystemScope>
                </configuration>
            </plugin>

 

posted @ 2022-02-24 17:01  wujf  阅读(64)  评论(0编辑  收藏  举报