Frequently Asked Questions

  1. What is MyBatis Migration Schema?
  2. How can I configure my JDBC connection?
  3. How can I skip the migration goals?
What is MyBatis Migration Schema?

MyBatis Migrations Schema is a tool that will change the way you manage changes to your database. You can watch an amazing introductive video!!!


How can I configure my JDBC connection?

Users can configure their preferred JDBC connection in this way:

<plugins>
  <plugin>
    <groupId>org.mybatis.maven</groupId>
    <artifactId>migrations-maven-plugin</artifactId>
    <version>X.X</version>
    <configuration>
      <repository> [your migration repository] </repository>
    </configuration>
    <dependencies>
      <dependency>
        <groupId>org.apache.derby</groupId>
        <artifactId>derby</artifactId>
        <version>10.5.3.0_1</version>
      </dependency>
    </dependencies>
  </plugin>
<plugins>

How can I skip the migration goals?

Simply setting the property migration.skip to true, i.e.

mvn -Dmigration.skip=true clean test