10

I am finding any maven plugin for versioning database changes.

eugenn
  • 1,638
  • 6
  • 23
  • 38

3 Answers3

10

There are a few plugins that offer some support for this task:

I don't have much experience with them, we currently use a custom tool to apply our change scripts. But the Maven Database Migration Plugin is a serious candidate to replace it. LiquiBase is pretty famous but also different, changes are described in a generic XML format. About DbMaintain, it works well (in Unitils) but I've never tested the wrapper plugin mentioned above.

Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124
6

Here is one more, it's simple to use and has excellent support for Mysql stored procedures:

Flyway Maven Plugin

Axel Fontaine
  • 34,542
  • 16
  • 106
  • 137
1

I used this one http://jsoftware.org/maven-dbpatch-plugin

It supports rollback patches too.

m-szalik
  • 3,546
  • 1
  • 21
  • 28