1. 程式人生 > >maven pom 增加本地jar 依賴

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>