Today the boss sent me a project let me see, after importing eclipse appears
The jar was not in the Maven repository, so the boss sent me a copy.
At this point, how do I import this jar package into Maven repository?
So Baidu a bit!
CMD Open command line terminal, execute MVN install:install-file-dfile=jar package location-dgroupid= below groupid-dartifactid= artifactid-dversion= The following Version-dpackaging=jar
Explain:
The location of the jar package: the location of the jar package that you have downloaded back or that someone sent to you is stored in your computer!
The following groupld: The GROUPLD in the picture, the groupld! of Pom.xml in the project
The following artifactid: The Artifactid in the picture, the artifactid! of Pom.xml in the project
The following version: version in the image, which is the Pom.xml version! in the project
Reference Example:
About importing jar packages to the local MAVEN repository