embedmongo-maven-plugin
embedmongo-maven-plugin copied to clipboard
Unable to start mongod process from MongoDB version 4.2 onward
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
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?
Thanks for replying. I did as you asked and added comments for both issues over at flapdoodle (#307).