Maven private warehouse jar upload, not recognized locally

The maven private warehouse jar is uploaded and cannot be recognized locally. This problem has been encountered several times.

 

The following is the page for uploading jars from the private repository:

 

After uploading, it often happens that the local project cannot obtain the jar package. After checking, it is found that the pom file has been obtained once before the jar is uploaded, and the corresponding jar package directory will be generated, and there is no such jar in this directory. After the jar package is uploaded, eclipse finds that the local library already has a directory and will not update the jar package of the warehouse.

 

The solution is to find the local maven directory and delete the directory corresponding to the jar package.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327005138&siteId=291194637