It makes using Liquibase easy.
Simply wrap your data source like this :
final DataSource source =
new LiquibaseDataSource(
<!-- put here your data source -->,
"liquibase/db.changelog-master-test.xml"
);
Or your connection like this :
final Connection connection =
new LiquibaseConnection(
<!-- put here your connection -->,
"liquibase/db.changelog-master-test.xml"
);
These commands run automatically scripts contained in the change log master file.
If you're using Maven, you should add it to your pom.xml
dependencies like this:
<dependency>
<groupId>com.baudoliver7</groupId>
<artifactId>easy-liquibase4j</artifactId>
<version><!-- latest version --></version>
</dependency>
<dependency>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-core</artifactId>
<version><!-- latest version --></version>
</dependency>
Fork repository, make changes, send us a pull request. We will review
your changes and apply them to the master
branch shortly, provided
they don't violate our quality standards. To avoid frustration, before
sending us your pull request please run full Maven build:
mvn clean install -Pqulice
Keep in mind that JDK 8 and Maven 3.1.0 are the lowest versions you may use.
If you have questions or general suggestions, don't hesitate to submit a new Github issue.