版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Qizonghui/article/details/81169867
有些jar是我们自己生成的需要在本地引用,那么需要配置依赖:
<dependency>
<groupId>com.localhost</groupId>
<artifactId>localhost</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/localhost.jar</systemPath>
</dependency>