Update Nexus Library Location -
public class Main public static void main(String[] args) NexusLibraryLocationUpdater updater = new NexusLibraryLocationUpdater(); updater.updateLibraryLocation("/new/location/nexus-library");
/** * Updates the Nexus library location. * * @param newLocation the new location of the Nexus library */ public void updateLibraryLocation(String newLocation) { // Validate new location if (!isValidLocation(newLocation)) { logger.error("Invalid new location: {}", newLocation); return; } update nexus library location
(via Admin UI)