org.codehaus.mojo.castor
Class AbstractMappingMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.castor.AbstractMappingMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- MappingMojo, MappingsMojo
public abstract class AbstractMappingMojo
- extends org.apache.maven.plugin.AbstractMojo
A mojo that uses Castor MappingTool to generate mapping files from a Class.
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 |
AbstractMappingMojo
public AbstractMappingMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
-
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
- See Also:
Mojo.execute()
getProjectClassLoader
protected java.lang.ClassLoader getProjectClassLoader()
throws org.apache.maven.artifact.DependencyResolutionRequiredException,
java.net.MalformedURLException
- Throws:
org.apache.maven.artifact.DependencyResolutionRequiredException
java.net.MalformedURLException
getClassName
protected abstract java.lang.String getClassName()
- Returns:
- the classname
getMappingName
protected abstract java.lang.String getMappingName()
- Returns:
- the mappingName
Copyright © 2005-2009. All Rights Reserved.