maven添加jar包到本地仓库(中央仓库没有的jar包)
mvn install:install-file -Dfile=${jar path} -DgroupId=${groupId} -DartifactId=${artifactId} -Dversion=${version} -Dpackaging=jar
maven引用工程中的jar包
<dependency>
<groupId>groupId</groupId>
<artifactId>artifactId</artifactId>
<version>version</version>
<scope>system</scope>
<systemPath>${basedir}/lib/path</systemPath>
</dependency>