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 start mongod process from MongoDB version 4.2 onward #86

Open g2nconnell opened 4 years ago

g2nconnell commented 4 years ago

The reason is that the command line arg --noprealloc was removed in version 4.2 but, the embedmongo-maven-plugin still generates --noprealloc as an argument. Here's the entry from the command line: [mongod error]Error parsing command line: unrecognised option '--noprealloc'

I have not found a way to not generate this flag. This prevents using embedmongo-maven-plugin with anything over mongoDB versions 4.0.x

joelittlejohn commented 4 years ago

Hi Glenn. What we really need here is for flapdoodle-oss/de.flapdoodle.embed.mongo#307 to be merged and a new version of that library to be released. Can you add your vote to that issue?

g2nconnell commented 3 years ago

Thanks for replying. I did as you asked and added comments for both issues over at flapdoodle (#307).