org.apache.torque.mojo
Class MorphSchemaMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.torque.mojo.BaseMojo
org.apache.torque.mojo.AbstractMorphSingleMojo
org.apache.torque.mojo.MorphSchemaMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class MorphSchemaMojo
- extends AbstractMorphSingleMojo
Convert an Ant impex schema XML file into a maven-impex-plugin schema XML file
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.torque.mojo.BaseMojo |
afterExecution, execute, getEncoding, getMavenSession, getProject, getSettings, isForceMojoExecution, isSkip, isStartMavenLogger, setEncoding, setForceMojoExecution, setMavenSession, setProject, setSettings, setSkip, setStartMavenLogger |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newSchemaXMLFile
private File newSchemaXMLFile
- The XML file describing the database schema (Maven style)
oldSchemaXMLFile
private File oldSchemaXMLFile
- The XML file describing the database schema (Ant style)
MorphSchemaMojo
public MorphSchemaMojo()
beforeExecution
protected void beforeExecution()
- Overrides:
beforeExecution
in class BaseMojo
executeMojo
protected void executeMojo()
throws org.apache.maven.plugin.MojoExecutionException
- Overrides:
executeMojo
in class AbstractMorphSingleMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
getMorpher
protected Morpher getMorpher(MorphRequest request,
String artifactId)
- Specified by:
getMorpher
in class AbstractMorphSingleMojo
getNewSchemaXMLFile
public File getNewSchemaXMLFile()
setNewSchemaXMLFile
public void setNewSchemaXMLFile(File newSchemaXMLFile)
getOldSchemaXMLFile
public File getOldSchemaXMLFile()
setOldSchemaXMLFile
public void setOldSchemaXMLFile(File oldSchemaXMLFile)
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.