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>

 

maven 打依赖包命令

上一篇:CF1368G Shifting Dominoes


下一篇:一天任务完成