org.codehaus.mojo.jaxb2
Class TestXjcMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.jaxb2.AbstractXjcMojo
org.codehaus.mojo.jaxb2.TestXjcMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public class TestXjcMojo
- extends AbstractXjcMojo
Generates Java test sources from XML Schema(s) and binding file(s)
using the JAXB Binding Compiler (XJC).
- Version:
- $Id: TestXjcMojo.java 14434 2011-08-11 21:06:11Z afloom $
- Author:
- rfscholte
- Is bound to the specified phase of the standard build lifecycle:
- generate-test-sources
- Requires the dependencies in this specified scope:
- NOT DEFINED
- Is defined by the goal name:
- testXjc
Fields inherited from class org.codehaus.mojo.jaxb2.AbstractXjcMojo |
arguments, bindingFiles, catalog, clearOutputDir, dtd, explicitAnnotation, extension, failOnNoSchemas, generatedResourcesDirectory, httpproxy, includeSchemasOutputPath, npa, nv, packageName, quiet, readOnly, relaxng, relaxngCompact, schemaFiles, schemaListFileName, target, verbose, wsdl, xmlschema |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestXjcMojo
public TestXjcMojo()
getOutputDirectory
protected File getOutputDirectory()
- Specified by:
getOutputDirectory
in class AbstractXjcMojo
getStaleFile
protected File getStaleFile()
- Specified by:
getStaleFile
in class AbstractXjcMojo
getClasspathElements
protected List getClasspathElements(MavenProject project)
throws DependencyResolutionRequiredException
- Specified by:
getClasspathElements
in class AbstractXjcMojo
- Throws:
DependencyResolutionRequiredException
addCompileSourceRoot
protected void addCompileSourceRoot(MavenProject project)
- Specified by:
addCompileSourceRoot
in class AbstractXjcMojo
addResource
protected void addResource(MavenProject project,
Resource resource)
- Specified by:
addResource
in class AbstractXjcMojo
getSchemaDirectory
protected File getSchemaDirectory()
- Specified by:
getSchemaDirectory
in class AbstractXjcMojo
getBindingDirectory
protected File getBindingDirectory()
- Specified by:
getBindingDirectory
in class AbstractXjcMojo
Copyright © 2005-2012 Codehaus. All Rights Reserved.