org.jibx.maven
Class TestCompileBindingMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.jibx.maven.AbstractJibxMojo
          extended by org.jibx.maven.AbstractBaseBindingMojo
              extended by org.jibx.maven.AbstractBindingMojo
                  extended by org.jibx.maven.TestCompileBindingMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class TestCompileBindingMojo
extends AbstractBindingMojo

Runs the JiBX binding compiler on the test classes.

Author:
Andreas Brenk, Frank Mena, Don Corley

Field Summary
 
Fields inherited from class org.jibx.maven.AbstractJibxMojo
project
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TestCompileBindingMojo()
           
 
Method Summary
protected  String getDefaultSchemaBindingDirectory()
          Get the binding files directory.
protected  Set<String> getProjectCompileClasspathElements(org.apache.maven.project.MavenProject project)
          Returns the build output directory of the given project.
 
Methods inherited from class org.jibx.maven.AbstractBaseBindingMojo
checkConfiguration, execute, getSchemaBindingDirectory
 
Methods inherited from class org.jibx.maven.AbstractJibxMojo
addDependentArtifact, addDependentBinding, addManualDependentBinding, extractBaseBindingFile, fixFilePath, getBaseBindingDirectory, getBaseBindings, getFullPath, getIncludedFiles, getProjectBasedir
 
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

TestCompileBindingMojo

public TestCompileBindingMojo()
Method Detail

getProjectCompileClasspathElements

protected Set<String> getProjectCompileClasspathElements(org.apache.maven.project.MavenProject project)
                                                  throws org.apache.maven.plugin.MojoExecutionException
Returns the build output directory of the given project.

Specified by:
getProjectCompileClasspathElements in class AbstractJibxMojo
Throws:
org.apache.maven.plugin.MojoExecutionException - if DependencyResolutionRequiredException occurs

getDefaultSchemaBindingDirectory

protected String getDefaultSchemaBindingDirectory()
Get the binding files directory.

Returns:
The binding files directory.


Copyright © 2005-2011 jibx.org. All Rights Reserved.