maven pom 增加本地jar 依赖

https://www.cnblogs.com/huhongy/p/7337280.html

<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>1.5</version>
<scope>system</scope>
<systemPath>${basedir}/WebContent/WEB-INF/lib/hamcrest-core-1.3.jar</systemPath>
</dependency>

猜你喜欢

转载自www.cnblogs.com/javajetty/p/9948843.html