Skip to content Skip to sidebar Skip to footer

Sql Server Driver To Work With Liquibase In Maven

I´m having a problem getting the liquibase-maven-plugin to work with MS Sql Server. I have added the lastest sqljdbc4.jar to my local maven repo and I have generated a changeset f

Solution 1:

You need to specify the liquibase database credentials as properties, for example:

<properties><liquibase.url>jdbc:h2:target/db1/liquibaseTest;AUTO_SERVER=TRUE</liquibase.url><liquibase.driver>org.h2.Driver</liquibase.driver><liquibase.username>user</liquibase.username><liquibase.password>pass</liquibase.password></properties>

See the following example:

Post a Comment for "Sql Server Driver To Work With Liquibase In Maven"