joelittlejohn / embedmongo-maven-plugin

Maven plugin wrapper for the flapdoodle.de embedded MongoDB API
Apache License 2.0
88 stars 51 forks source link

Unable to download since version 4.2 mongodb has changed the download filenames for MACOS from using osx to using macos in the filename. #87

Open g2nconnell opened 4 years ago

g2nconnell commented 4 years ago

Depending on the "features" added to the pom.xml file configuring embedmongo-maven-plugin, for macos the generated file name to download becomes: https://fastdl.mongodb.org/osx/mongodb-osx-ssl-x86_64-4.4.1.tgz https://fastdl.mongodb.org/osx/mongodb-osx-x86_64-4.4.1.tgz Notice the "-osx-" in the filename. However, mongoDB now names the files as mongodb-macos-x86_64-4.4.1.tgz.

It would be good for embedmongo-maven-plugin to take this into account.

joelittlejohn commented 4 years ago

The best way to tackle this is a pull request on https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo. That's the library this Maven plugin uses to download MongoDB. That project looks rather stagnant so I'm sure they would appreciate help maintaining it if you were to offer.

g2nconnell commented 2 years ago

They just fixed this and released (flapdoodle) 3.2.0 which should support Mongo >= 4.2 FYI