Liquibase extensions

Hi all,

I’m trying to work out if creating extensions is pro feature?

I’ve downloaded the example project, but don’t have maven so compiled the jar using eclipse, put it into the liquibase folder and it works (except froze on changes set 3 for some reason).

Then I simply created my own class based on ClearPasswordsChange, but called it MoneyFieldChange (with @DatabaseChange(name = “MoneyField”…)) and added a println instead of the current code. Then I added the class name to liquibase.change.Change, and recompiled the jar.

I’m getting the error saying it doesn’t recognise the change type moneyField - is there anything I’ve missed?

Hi again

I now can’t even get the example ClearPasswords to work even though it was yesterday. My steps :

  • clone example repo
  • delete pom file. Delete test class and MyUpdateCommandStep due to compilation errors
  • include lib/liquibase-core.jar and add as a library in Eclipse
  • export jar and place in liquibase libs folder
  • create a change set to just do ext:ClearPasswords

The result is that I’m told "Unknown change type ‘ClearPasswords’. Any ideas? Is it that I’m on a free license?