What to do if the 3rd party library of Nexus private server is deleted by mistake

If you accidentally delete the 3rd party by mistake, don't panic, don't worry, there are ways to remedy it.

1. Log in to the maven private server, first find the library you deleted under sonatype-work/nexus/trash, and save it to its place;

 

2. On the private server management website, click Add through the nexus console, select Hosted Repository, and then enter the deleted Repository information; id, name, etc. need to be the same as before;

3. Copy the library file you just saved to the specified sonatype-work/nexus/storage;

 

4. Click on Public Repositories in the list, and then add Releases to Ordered Group Repositories under the Configuration tab below;

5. Finally, Save is fine.

Guess you like

Origin blog.csdn.net/qq_39071599/article/details/113770316