maven 打依赖包命令

jar包所在目录:D:\person\project\ko-time-master\target\ko-time-2.0.1-SNAPSHOT.jar

mvn install:install-file -Dfile=D:\person\project\ko-time-master\target\ko-time-2.0.1-SNAPSHOT.jar -DgroupId=cn.langpy -DartifactId=ko-time -Dversion=2.0.1 -Dpackaging=jar

maven 依赖:

1         <dependency>
2             <groupId>cn.langpy</groupId>
3             <artifactId>ko-time</artifactId>
4             <version>2.0.1</version>
5         </dependency>

 

posted @ 2021-08-24 23:04  明天,你好啊  阅读(370)  评论(0编辑  收藏  举报