Skip to content
xml
<dependency>
    <groupId>org.hamcrest</groupId>
    <artifactId>hamcrest-core</artifactId>
    <version>1.5</version>
    <!-- 指定作用域 -->
    <scope>system</scope>
    <!-- 指定jar包路径 -->
    <systemPath>${basedir}/WebContent/WEB-INF/lib/hamcrest-core-1.3.jar</systemPath>
</dependency>
scope作用域编译(compile)测试(test)运行(run)打包(package)
compile××
provided××
test×××
runtime×

To Be Continued!😎