bmatthews68 / inmemdb-maven-plugin

A Maven 3 plug-in that can be used to launch an in-memory database for use in integration tests. Apache Derby and HSQLDB are both supported.
http://inmemdb-maven-plugin.btmatthews.com
Apache License 2.0
15 stars 7 forks source link

Support for Maven 3.1 #17

Closed crouzet80 closed 10 years ago

crouzet80 commented 10 years ago

inmemdb-maven-plugin 1.4.2 is not compatible with Maven 3.1:

[ERROR] Failed to execute goal com.btmatthews.maven.plugins.inmemdb:inmemdb-maven-plugin:1.4.2:run (run) on project privacy-impl: The plugin com.btmatthews.maven.plugins.inmemdb:inmemdb-maven-plugin:1.4.2 requires Maven version 3.0.5 -> [Help 1]
bmatthews68 commented 10 years ago

It is strange that you are encountering this error. The constraint in the POM is requiring at least Maven 3.0.5. So it should work with 3.1.0 or later and I am actually using it successfully with Maven 3.2.1.

Would it be possible for you to attach the results of mvn -v ?

Also are you using the maven-enforcer-plugin with any custom rules that might check the plugin versions?

crouzet80 commented 10 years ago

Oops. My bad I got it.

I have a Maven 3.0.4 configured under Eclipse but a Maven 3.1 locally. And I was wrong assuming Eclipse was using Maven 3.1 when it wasn't.

Sorry.