I was not found in the local jar file, maven instal. But the jar is correct.
Typically, this is a problem with the MAVEN local repository. The solution is:
Locate the folder where the jar is located in the local repository, delete the folder , and then rerun the MAVEN command.
If it still doesn't work, see if it's for the following reasons:
After the investigation, found that the version of the Jar problem,
The version I set is 1.0.1-snapshot, and this jar is also automatically installed and automatically named by Maven.
Also, my remote (private) warehouse configuration is
<repository>
<id>nexus</id>
<name>nexus</name>
<url>
http ://172.26.1.15:8081/nexus/content/groups/public/
</url>
<releases>
<enabled>true </enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
Notice the <SNAPSHOTS>, and change the value inside to true to find the local jar. I guess Maven saw that jar version number contained the snapshot keyword, blocked it (or MAVEN has a list that marks the jar as a snapshot version, so if you set this option to False, you can't find the jar).
This option is a bit of a pit, obviously the remote warehouse settings, did not expect to affect the local jar lookup.