Class TestXSDToJavaMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.cxf.maven_plugin.AbstractXSDToJavaMojo
org.apache.cxf.maven_plugin.TestXSDToJavaMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="xsdtojava-tests", defaultPhase=GENERATE_TEST_SOURCES, threadSafe=true, requiresDependencyResolution=TEST) public class TestXSDToJavaMojo extends AbstractXSDToJavaMojo
  • Field Details

    • testSourceRoot

      @Parameter(required=true, defaultValue="${project.build.directory}/generated/src/test/java") String testSourceRoot
  • Constructor Details

    • TestXSDToJavaMojo

      public TestXSDToJavaMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Specified by:
      execute in interface org.apache.maven.plugin.Mojo
      Overrides:
      execute in class AbstractXSDToJavaMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • getOutputDir

      String getOutputDir()
      Specified by:
      getOutputDir in class AbstractXSDToJavaMojo
    • getClasspathElements

      protected List<String> getClasspathElements() throws org.apache.maven.artifact.DependencyResolutionRequiredException
      Overrides:
      getClasspathElements in class AbstractXSDToJavaMojo
      Throws:
      org.apache.maven.artifact.DependencyResolutionRequiredException