批量离线安装jar 包到maven本地仓库
//installer.bat
@echo off
set localdir=%~dp0
call mvn install:install-file -DgroupId=org.zhixun -DartifactId=IKAnalyzer -Dversion=3.2.3 -Dpackaging=jar -Dfile=%localdir%/libs/IKAnalyzer3.2.3Stable.jar
call mvn install:install-file -DgroupId=org.zhixun -DartifactId=IKAnalyzer -Dversion=3.2.3 -Dpackaging=jar -Dfile=%localdir%/libs/IKAnalyzer3.2.3Stable.jar
pause
<dependency> <groupId>org.zhixun</groupId> <artifactId>IKAnalyzer</artifactId> <version>1.0</version> <scope>system</scope> <systemPath>${basedir}/../parent/libs/IKAnalyzer3.2.3Stable.jar</systemPath> </dependency>