Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Maven + Hibernate

$
0
0
Hi,

I am trying to use Maven plugin diff goal with my Hibernate mappings. I have been able to make it but I encountered several issues:
  • some goals are missing in the documentation http://www.liquibase.org/documentation/maven/index.html
  • the goal works with Liquibase 2.0.5 but fails with 3.0.2 with this message: [ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:3.0.2:diff (default-cli) on project test_liquibase: Execution default-cli of goal org.liquibase:liquibase-maven-plugin:3.0.2:diff failed: An API incompatibility was encountered while executing org.liquibase:liquibase-maven-plugin:3.0.2:diff: java.lang.AbstractMethodError: null
  • I had to add a plugin dependency on spring-hibernate3 2.0.8. I did not see this in the documentation
  • In Maven central repository, there are 2 versions of liquibase-hibernate: org.liquibase.ext liquibase-hibernate 2.0.0 that looks like the official one but has not changed since 2010 and net.customware.liquibase liquibase-hibernate 2.1.0 that is a fork. Which one should I use ?
Did I miss something ?

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>