I am completely new to maven and migration of artifacts aslo.My environment has two nexus repoes.
Nexus Repo A:
projrelases proxy(type)
projsnapshots proxy(type)
Nexus Repo B:
projrelases hosted(type)
projsnapshots hosted(type)
These maven repos needs to be migrated to new nexus repo(Nexus Repo C).
Please help.
You can either just copy the content for each repo after creating it on the target server from sonatype-work/nexus/storage or use rsync to the new server after you have configured it.
Migrate each repository into its own repository on the new target server and then use repository groups to merge them and expose them to the users.
Check out the migration info in the Nexus book as well as our support page for failover for more tips.