To use the repository manager (including Nexus), you need to define a mirrorOf * element that will intercept all the repository URLs and send them to Nexus for permission. In Maven2 and 3, the mirrorOf element cannot be configured in the profile. This means that there is no easy way to flip back and forth without changing the settings.
You will need to comment on the mirrors section, and then disable the Nexus profile so that Maven returns to the standard behavior.
Fortunately, although the Nexus is very stable, it should never go down.
source share