cn.dreampie
类 RepairMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
cn.dreampie.AbstractFlywayMojo
cn.dreampie.RepairMojo
- 所有已实现的接口:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="repair",
threadSafe=true)
public class RepairMojo- extends AbstractFlywayMojo
Repairs the Flyway metadata table. This will perform the following actions:
- Remove any failed migrations on databases without DDL transactions (User objects left behind must still be cleaned up manually)
- Correct wrong checksums
| 从接口 org.apache.maven.plugin.Mojo 继承的字段 |
ROLE |
| 从类 org.apache.maven.plugin.AbstractMojo 继承的方法 |
getLog, getPluginContext, setLog, setPluginContext |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepairMojo
public RepairMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- 抛出:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2014. All rights reserved.