Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nexus3: move a specific Maven repository into an another blob store

I've just installed Nexus 3 by upgrading from Nexus 2 and noticed that every Maven repository is now in the default blob store. I would like to move the releases repository to be hosted from a separate blob store. What's the easiest way to achieve this?

like image 226
NagyI Avatar asked Jan 02 '17 09:01

NagyI


2 Answers

Currently this is not possible. You would need to recreate the repository with a different blob store. We have some future plans for supporting something like this, but that's a bit off. Pop over to https://issues.sonatype.org/browse/NEXUS and file an issue if you would, it will help raise awareness of your need :)

like image 165
DarthHater Avatar answered Dec 17 '22 12:12

DarthHater


I think it's also noteworthy that when you upgrade, you can select what blobstore you want the upgraded repos to fall in as documented here; specifically 'Repository Defaults' section 'Destination' field.

So, for people who haven't upgraded yet or who are willing to rerun (basically scrap and start over) the upgrade, it is possible to get things organized as you want before hand. First, you can first create the blobstores you want things to be organized in and then during the upgrade process select where you want things to go.

UPDATE: As shown in NEXUS-12016, this is now possible for Professional (licensed) instances (for hosted repositories) as of 3.28.0.

like image 21
joedragons Avatar answered Dec 17 '22 14:12

joedragons