org.codehaus.mojo.was6
Class WsDefaultBindingsMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.was6.AbstractWas6Mojo
          extended by org.codehaus.mojo.was6.WsDefaultBindingsMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class WsDefaultBindingsMojo
extends AbstractWas6Mojo

This goal enables you to generate default IBM WebSphere Bindings for the specified EAR file. The goal provides options to control how the bindings are generated and mimics the options provided by the WebSphere Application Install wizards. The goal binds to the package phase by default.

Author:
David J. M. Karlsen
Is bound to the specified phase of the standard build lifecycle:
package
Is defined by the goal name:
wsDefaultBindings

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
WsDefaultBindingsMojo()
           
 
Method Summary
protected  void configureBuildScript(org.dom4j.Document document)
          Method to be implemented by subclasses for configuring their task.
protected  String getTaskName()
          Defines the task name in the build script.
 
Methods inherited from class org.codehaus.mojo.was6.AbstractWas6Mojo
configureTaskAttribute, execute, getMavenProject, getSettings, getTaskElement, getWasHome, getWorkingDirectory, getWsAntExecutable, isVerbose
 
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

WsDefaultBindingsMojo

public WsDefaultBindingsMojo()
Method Detail

configureBuildScript

protected void configureBuildScript(org.dom4j.Document document)
                             throws MojoExecutionException
Method to be implemented by subclasses for configuring their task.

Specified by:
configureBuildScript in class AbstractWas6Mojo
Parameters:
document - the build document.
Throws:
MojoExecutionException - if any failure occurs.

getTaskName

protected String getTaskName()
Defines the task name in the build script.

Specified by:
getTaskName in class AbstractWas6Mojo
Returns:
name of the task


Copyright © 2007-2012 Codehaus. All Rights Reserved.