net.sf.xsltmp
Class FinalizeMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.sf.xsltmp.FinalizeMojo
- All Implemented Interfaces:
- XsltGeneratorConstants, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class FinalizeMojo
- extends org.apache.maven.plugin.AbstractMojo
- implements XsltGeneratorConstants
Finalizes the XSLT generator maven plugin at the end of the build.
Sets the timestamp of the xslt generation. This mojo should be run after
other executions of the xslt generator. It takes the prepared timestamp file
and sets the timestamp based on it.
By default runs in process-resources phase, if needed, customize the phase as
required. Generally should be run as the last execution of the generator in
the build (eg. if generate-test-resources phase is the last one you use the
generator in, finalize it in this phase).
| 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 |
FinalizeMojo
public FinalizeMojo()
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.