Liquibase Linter is built with the Extensions feature in Liquibase, so it works by simply being on the classpath with Liquibase.
liquibase-linteras a dependency of the Liquibase Maven plugin:
lqlint.jsonto the root of your project
See this simple example maven project to help get you started
liquibase-linteras a dependency of the Liquibase Gradle plugin:
lqlintdirectory under the root of your project
See this simple example gradle project to help get you started
- Start with the latest Liquibase release zip.
- Download the latest Liquibase Linter jar from maven central and download
the dependencies required by Liquibase Linter, then add them to
- Add your
lqlint.jsonconfiguration file to the
It doesn't matter whether you use Liquibase scripts written in XML, JSON or YAML, they will be linted just the same.
Liquibase Linter has been tested with Liquibase versions 3.4.0 through to the latest version, so you can confidently use it with those. We'll be working to keep up with newer versions of Liquibase as they happen.
As for Java support, Liquibase Linter needs at least Java 8, but you should have no issues with higher versions, unless they are with Liquibase itself.