I’m faced with a dilemma. It’s a maven dilemma. I’ll spare you the saga and suffice it to say that the storage array that holds the data for our nexus2 install was damaged and so were the local and remote backups.
I figured we would turn this setback into an opportunity to prune the artifact tree and transition fully to nexus3. I’m sure I have most of our hosted artifacts living in my local .m2/repository folder. In nexus2, the files on disk were basically a plain-old-m2-repo. In nexus3, there’s this blob store.
Is there a tool or technique to push up all the artifacts I have locally into nexus3 hosted repositories? I know I could probably do it one by one using curl or the mvn deploy-file goal, but that seems like the hardest way to make this happen.
Could I stand up a nexus2, copy over all my artifacts, reindex, and then upgrade?
What is the best way to make this work?