org.jibx.maven
Class AbstractBaseBindingMojo

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

public abstract class AbstractBaseBindingMojo
extends AbstractJibxMojo

Runs the JiBX binding compiler.

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
AbstractBaseBindingMojo()
           
 
Method Summary
protected  void checkConfiguration()
          Verifies the plugins configuration and sets default values if needed.
 void execute()
          Determines if running in single- or multi-module mode, collects all bindings and finally runs the binding compiler.
protected  String getSchemaBindingDirectory()
          Get the binding files directory.
 
Methods inherited from class org.jibx.maven.AbstractJibxMojo
addDependentArtifact, addDependentBinding, addManualDependentBinding, extractBaseBindingFile, fixFilePath, getBaseBindingDirectory, getBaseBindings, getFullPath, getIncludedFiles, getProjectBasedir, getProjectCompileClasspathElements
 
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

AbstractBaseBindingMojo

public AbstractBaseBindingMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Determines if running in single- or multi-module mode, collects all bindings and finally runs the binding compiler.

Specified by:
execute in interface org.apache.maven.plugin.Mojo
Specified by:
execute in class AbstractJibxMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

checkConfiguration

protected void checkConfiguration()
Verifies the plugins configuration and sets default values if needed. Note: Remember to call inherited methods first.

Overrides:
checkConfiguration in class AbstractJibxMojo

getSchemaBindingDirectory

protected String getSchemaBindingDirectory()
Get the binding files directory.

Overrides:
getSchemaBindingDirectory in class AbstractJibxMojo
Returns:
The binding files directory.


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