migration:check
Full name:
org.mybatis.maven:migrations-maven-plugin:1.2.1-SNAPSHOT:check
Description:
Goal which check the presence of pending migration.
Attributes:
- Requires a Maven project to be executed.
- The goal is not marked as thread-safe and thus does not support parallel builds.
- Binds by default to the lifecycle phase:
test.
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<environment> |
String |
- |
Environment to configure. Default environment is 'development'. Default: developmentUser Property: migration.env |
<force> |
boolean |
- |
Forces script to continue even if SQL errors are encountered. Default: falseUser Property: migration.force |
<repository> |
File |
- |
Location of migrate repository. Default: .User Property: migration.path |
<skip> |
boolean |
- |
Skip migration actions. Default: falseUser Property: migration.skip |
Parameter Details
<environment>
Environment to configure. Default environment is 'development'.
- Type:
java.lang.String - Required:
No - User Property:
migration.env - Default:
development
<force>
Forces script to continue even if SQL errors are encountered.
- Type:
boolean - Required:
No - User Property:
migration.force - Default:
false
<repository>
Location of migrate repository.
- Type:
java.io.File - Required:
No - User Property:
migration.path - Default:
.
<skip>
Skip migration actions.
- Type:
boolean - Required:
No - User Property:
migration.skip - Default:
false
MyBatis