首页 > 编程语言 > 详细

batched insatll jars offline to mvn localrepo

时间:2019-08-04 11:19:37      阅读:61      评论:0      收藏:0      [点我收藏+]

//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>

  

batched insatll jars offline to mvn localrepo

原文:https://www.cnblogs.com/SunshineKimi/p/11297036.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!