org.codehaus.mojo.jaxb2
Class SchemagenMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.jaxb2.AbstractSchemagenMojo
org.codehaus.mojo.jaxb2.SchemagenMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class SchemagenMojo
- extends AbstractSchemagenMojo
Creates XML Schema file(s) for sources.
- 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 |
SchemagenMojo
public SchemagenMojo()
getOutputDirectory
protected File getOutputDirectory()
- Specified by:
getOutputDirectory in class AbstractSchemagenMojo
- Returns:
- The directory where the schema files should be placed.
getWorkDirectory
protected File getWorkDirectory()
- Description copied from class:
AbstractSchemagenMojo
- If files will be renamed, keep the original files here.
- Specified by:
getWorkDirectory in class AbstractSchemagenMojo
- Returns:
- the work directory
getCompileSourceRoots
protected List<String> getCompileSourceRoots()
- Specified by:
getCompileSourceRoots in class AbstractSchemagenMojo
getClasspathElements
protected List<String> getClasspathElements(org.apache.maven.project.MavenProject project)
throws org.apache.maven.artifact.DependencyResolutionRequiredException
- Specified by:
getClasspathElements in class AbstractSchemagenMojo
- Throws:
org.apache.maven.artifact.DependencyResolutionRequiredException
Copyright © 2005-2012 Codehaus. All Rights Reserved.