maven 引用本地文件不需要安装本地仓库方式
<dependency>
<groupId>com.ctop.crypt</groupId>
<artifactId>sm</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${pom.basedir}/src/main/resources/lib/sm-1.0.jar</systemPath>
</dependency>
<dependency>
<groupId>com.ctop.crypt</groupId>
<artifactId>sm</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${pom.basedir}/src/main/resources/lib/sm-1.0.jar</systemPath>
</dependency>