embedmongo-maven-plugin icon indicating copy to clipboard operation
embedmongo-maven-plugin copied to clipboard

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

Open g2nconnell opened this issue 3 years ago • 2 comments

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.

g2nconnell avatar Oct 22 '20 17:10 g2nconnell

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.

joelittlejohn avatar Oct 23 '20 17:10 joelittlejohn

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

g2nconnell avatar Nov 01 '21 18:11 g2nconnell