Anybody using Sonatype Nexus Repository Manager to mirror plugins?

I’ve been trying for about three hours now to mirror Index of /download internally with the open source Nexus repository manager.

The reason is that I’m really hitting the public mirrors pretty hard when I build my docker image and I’d like to be a bit more of a good citizen and pull from an internal repo.

I’ve been completely unsuccessful and was hoping someone could give me a few hints. I’ve tried “raw/proxy” with every combination of Index of /download that I can think of but nothing works.

Any helpful hints would be most appreciated.

nothing is more frustrating than a vague “I tried something and it doesn’t work now help”

you should be able to setup your nexus as a pull through cache. Using Nexus 3 as Your Repository – Part 1: Maven Artifacts looks like it has details. Then you’d have to tell maven ($HOME/.m2/settings.xml) to use that cache.