org.codehaus.mojo.jaxb2
Class TestSchemagenMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.jaxb2.AbstractSchemagenMojo
          extended by org.codehaus.mojo.jaxb2.TestSchemagenMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class TestSchemagenMojo
extends AbstractSchemagenMojo

Creates XML Schema file(s) for test sources.

Since:
1.3
Author:
rfscholte

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TestSchemagenMojo()
           
 
Method Summary
protected  List<String> getClasspathElements(org.apache.maven.project.MavenProject project)
           
protected  List<String> getCompileSourceRoots()
           
protected  File getOutputDirectory()
           
protected  File getWorkDirectory()
          If files will be renamed, keep the original files here.
 
Methods inherited from class org.codehaus.mojo.jaxb2.AbstractSchemagenMojo
execute
 
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
 

Constructor Detail

TestSchemagenMojo

public TestSchemagenMojo()
Method Detail

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.