org.apache.torque.mojo
Class MorphVersionTableMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.torque.mojo.BaseMojo
org.apache.torque.mojo.AbstractMorphSingleMojo
org.apache.torque.mojo.MorphVersionTableMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class MorphVersionTableMojo
- extends AbstractMorphSingleMojo
Morph the xml inside KS_DB_VERSION.xml so it has Maven friendly placeholders
for version info
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 |
MorphVersionTableMojo
public MorphVersionTableMojo()
beforeExecution
protected void beforeExecution()
- Overrides:
beforeExecution
in class BaseMojo
isMorphNeeded
protected boolean isMorphNeeded()
- Overrides:
isMorphNeeded
in class AbstractMorphSingleMojo
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
getNewVersionXMLFile
public File getNewVersionXMLFile()
- Returns:
- the newVersionXMLFile
setNewVersionXMLFile
public void setNewVersionXMLFile(File newVersionXMLFile)
- Parameters:
newVersionXMLFile
- the newVersionXMLFile to set
getOldVersionXMLFile
public File getOldVersionXMLFile()
- Returns:
- the oldVersionXMLFile
setOldVersionXMLFile
public void setOldVersionXMLFile(File oldVersionXMLFile)
- Parameters:
oldVersionXMLFile
- the oldVersionXMLFile to set
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.