migration:script
Full name:
org.mybatis.maven:migrations-maven-plugin:1.2.0:script
Description:
Goal which executes the ibatis migration script command.
Attributes:
- Requires a Maven project to be executed.
- The goal is not marked as thread-safe and thus does not support parallel builds.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
<v1> |
String |
- |
Initial version. User Property: migration.v1 |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<environment> |
String |
- |
Environment to configure. Default environment is 'development'. Default: development User Property: migration.env |
<force> |
boolean |
- |
Forces script to continue even if SQL errors are encountered. Default: false User Property: migration.force |
<output> |
File |
- |
The output file to be create. User Property: migration.output |
<repository> |
File |
- |
Location of migrate repository. Default: . User Property: migration.path |
<skip> |
boolean |
- |
Skip migration actions. Default: false User Property: migration.skip |
<v2> |
String |
- |
Final version. User Property: migration.v2 |
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
<output>
The output file to be create.
- Type:
java.io.File
- Required:
No
- User Property:
migration.output
<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
<v1>
Initial version.
- Type:
java.lang.String
- Required:
Yes
- User Property:
migration.v1
<v2>
Final version.
- Type:
java.lang.String
- Required:
No
- User Property:
migration.v2