On 12 July 2016 at 10:14, Lori Jakab <[email protected]> wrote:
> On Tue, Jul 12, 2016 at 8:40 AM, Thanh Ha <[email protected]> > wrote: > > [...] > > FWIW I use docker locally and setup my own Nexus mirror in docker. It >> takes very little time to do and makes local development quite fast in >> terms of redownloading things. >> > > Do you have scripts/info to share? I would like something similar, since > testing stuff with many small files downloaded across the pond is not too > much fun. > Pretty much all I do is run the official docker container here: https://hub.docker.com/r/sonatype/nexus/ There's some instructions on how to setup mirroring here: https://wiki.opendaylight.org/view/Infrastructure:Nexus I only mirror 2 repos. The "public" one for Maven Central + released artifacts and the "opendaylight.snapshot" one for your dev artifacts. Finally update your ~/.m2/settings.xml to use the mirrors. I have on occasion run into problems with building from a mirror which I haven't figured out why yet. So I keep 2 settings.xml files and symlink them in case I need to switch back to the nexus.opendaylight.org host. Hope this helps, Thanh
_______________________________________________ Discuss mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/discuss
