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>