Closed neodem closed 7 years ago
Hi. You can specify your own local mirror for downloads that will be used instead of fastdl.mongodb.org. Mongo binaries aren't Maven artifacts so I don't think Nexus is a good place for these.
how would I specify the mirror? Can you let me know?
You need to use the downloadPath
config option and point this at your own server. There's an example in the README.md.
To understand how to organise the files in your mirror, you can check this method:
The basic layout is:
{platform}/mongodb-{platform}-{bitSize}-{version}.{archiveType}
for example:
https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-amazon-3.4.0.tgz
super cool.. thank you
It seems that the plugin doesn't attempt to load the mongo artifact from the current mvn repo and instead caches it in a .embedmongo dir. Is there a way to use the mvn repo? My build agents don't have access to the outside internet and can only get stuff from our nexus. Thoughts?