批量离线安装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

		
			org.zhixun
			IKAnalyzer
			1.0
			system
			${basedir}/../parent/libs/IKAnalyzer3.2.3Stable.jar
		

  

转载于:https://www.cnblogs.com/SunshineKimi/p/11297036.html

你可能感兴趣的:(批量离线安装jar 包到maven本地仓库)