org.codehaus.mojo.castor
Class MappingsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.castor.AbstractMappingMojo
org.codehaus.mojo.castor.MappingsMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class MappingsMojo
- extends AbstractMappingMojo
A mojo that uses Castor MappingTool to generate mapping files from a set of Classes.
MappingTool.
- Author:
- nicolas
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
MappingsMojo
public MappingsMojo()
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- Overrides:
execute in class AbstractMappingMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException- See Also:
Mojo.execute()
getClassName
protected String getClassName()
- Specified by:
getClassName in class AbstractMappingMojo
- Returns:
- the classname
getMappingName
protected String getMappingName()
- Specified by:
getMappingName in class AbstractMappingMojo
- Returns:
- the mappingName
Copyright © 2005-2011 Codehaus. All Rights Reserved.