org.codehaus.mojo.jaxb2
Class AbstractSchemagenMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.jaxb2.AbstractSchemagenMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- SchemagenMojo, TestSchemagenMojo
public abstract class AbstractSchemagenMojo
- extends org.apache.maven.plugin.AbstractMojo
- Since:
- 1.3
- Author:
- rfscholte
| 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 |
AbstractSchemagenMojo
public AbstractSchemagenMojo()
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
getOutputDirectory
protected abstract File getOutputDirectory()
- Returns:
- The directory where the schema files should be placed.
getWorkDirectory
protected abstract File getWorkDirectory()
- If files will be renamed, keep the original files here.
- Returns:
- the work directory
getCompileSourceRoots
protected abstract List<String> getCompileSourceRoots()
getClasspathElements
protected abstract List<String> getClasspathElements(org.apache.maven.project.MavenProject project)
throws org.apache.maven.artifact.DependencyResolutionRequiredException
- Throws:
org.apache.maven.artifact.DependencyResolutionRequiredException
Copyright © 2005-2012 Codehaus. All Rights Reserved.