@Mojo(name="export") public class MybatisDBExportMojo extends AbstractMybatisDBSetupMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
encoding
Encoding of exported data.
|
protected boolean |
ordered
Set to true to order exported data according to integrity constraints defined in DB.
|
protected File |
outputFile
Location of exported DataSet file
|
protected String[] |
tables
List of database Table that would be exported
|
| Constructor and Description |
|---|
MybatisDBExportMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
@Parameter(defaultValue="${project.build.directory}/dbsetup-export.xml",
required=true)
protected File outputFile
@Parameter protected String[] tables
@Parameter protected boolean ordered
@Parameter(defaultValue="UTF-8") protected String encoding
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class AbstractMybatisDBSetupMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2019. All rights reserved.