springboot [WARNING] 'dependencies.dependency.systemPath' for


  1. 描述
    使用Maven打包时,总是会出现警告,原因是我引用了本地lib包导致。
>
            >org.jbarcode>
            >jbarcode-0.2.8>
            >0.2.8>
            >system>
            >${pom.basedir}/web/WEB-INF/lib/jbarcode-0.2.8.jar>
        >

方式二、安装到仓库中

如下所示:

        >
                >org.apache.maven.plugins>
                >maven-install-plugin>
                >2.5.2>
                >
                    >
                        >install-external>
                        >clean>
                        >
                            >${basedir}/web/WEB-INF/lib/jbarcode-0.2.8.jar>
                            >default>
                            >org.jbarcode>
                            >jbarcode>
                            >0.2.8>
                            >true>
                        >
                        >
                            >install-file>
                        >
                    >
                >
            >
   转自:https://www.jianshu.com/p/6c69e6b1b4f4