Skip to content

baudoliver7/easy-liquibase4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EO principles respected here DevOps By Rultor.com We recommend IntelliJ IDEA

Javadoc License codecov Hits-of-Code Maven Central PDD status

It makes using Liquibase easy.

How does it work ?

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.

Use it in your project

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>

How to contribute

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.

Got questions ?

If you have questions or general suggestions, don't hesitate to submit a new Github issue.