joelittlejohn / embedmongo-maven-plugin

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

If the underlying flapdoodle project has not yet defined the exact mo… #79

Closed glajchs closed 5 years ago

glajchs commented 6 years ago

…ngo version that is being used, walk backwards through the point versions (but not major versions) until we find one that matches. Use this version's parameters as the default parameters used to start the mongo processes.

glajchs commented 6 years ago

Actually this doesn't seem to function as designed. It changes both the params used and the actual version downloaded to the previous point release. I looked into trying to jerry-rig it to use the new version, but copy the old version's params, and since the features variable in the Version class in flapdoodle is private, there is no way to do that. It looks like this change will have to be made at the flapdoodle layer after all.

joelittlejohn commented 6 years ago

We're using the latest flapdoodle embedmongo API now (2.1.1) which I think includes the version of embedprocess that you need. So I guess this means you can change the implementation here.