The packet is added to the jar Maven- local repository dependent

command:

mvn install:install-file -Dfile=jar包的位置 -DgroupId=你的groupId -DartifactId=上面的artifactId -Dversion=此次version -Dpackaging=jar

Note: If you use this dependency discovery is not found, then go to C: \ Users \ Lujie.m2 \ repository by default Maven repository go look for maybe on the inside, and then copy to your own warehouse folder can be, Lujie is my default user directory, press yourself to

Published 24 original articles · won praise 42 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_42875895/article/details/104618523