joelittlejohn / embedmongo-maven-plugin

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

Skipping embedmongo initialization when skipITs environment variable is detected #37

Closed ghost closed 10 years ago

ghost commented 10 years ago

This is what the failsafe plugin does, so we can avoid starting and stoping an embedded mongodb server when we are skipping the integration tests anyway

joelittlejohn commented 10 years ago

Hi Pierre, thanks for submitting this.

Although this plugin is usually used for integration testing with failsafe, it can be used in other ways too. I'd prefer not to use the skipITs property to control this. I think it's valuable to be able to skip any maven plugin though so I like the idea of adding a skip property. Could you rename this to embedmongo.skip?

joelittlejohn commented 10 years ago

Thanks!

ghost commented 10 years ago

Thanks to you! This plugin is extremely useful.