在maven工程中,有时候我们需要使用的jar包在maven仓库不能找到,需要在pom.xml文件中配置本地依赖,如下所示
<dependency>
<groupId>cn.jpush.api</groupId>
<artifactId>jpush-client</artifactId>
<version>3.1.3</version>
<scope>system</scope>
<systemPath>
/localres/cn/jpush/api/jpush-client/3.1.3/jpush-client-3.1.3.jar
</systemPath>
</dependency>