net.sf.xsltmp
Class InitializeMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.sf.xsltmp.InitializeMojo
- All Implemented Interfaces:
- XsltGeneratorConstants, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class InitializeMojo
- extends org.apache.maven.plugin.AbstractMojo
- implements XsltGeneratorConstants
Initializes the XSLT generator maven plugin at the start of the build.
Prepares the timestamp of the xslt generation. This mojo should be run before
other executions of the xslt generator. It touches a prepared timestamp file.
The file is then used as the timestamp of xslt generation after all the
executions of the xslt generator are finished.
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
|
Method Summary |
void |
execute()
|
org.apache.maven.project.MavenProject |
getProject()
|
void |
setProject(org.apache.maven.project.MavenProject project)
|
| 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 |
InitializeMojo
public InitializeMojo()
getProject
public org.apache.maven.project.MavenProject getProject()
setProject
public void setProject(org.apache.maven.project.MavenProject project)
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Specified by:
execute in interface org.apache.maven.plugin.Mojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2008-2010 SEAF. All Rights Reserved.