org.codehaus.mojo.jboss
Class StartMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.jboss.AbstractJBossServerMojo
          extended by org.codehaus.mojo.jboss.StartMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
StartAndWaitMojo

public class StartMojo
extends AbstractJBossServerMojo

Starts JBoss.

Author:
Jeff Genender
Requires a Maven project to run:
false
Is defined by the goal name:
start

Field Summary
protected  String options
          Deprecated. use startOptions instead
protected  String startOptions
          The set of space separated options to pass to the JBoss "run" command.
static String STARTUP_COMMAND
          The command to start JBoss.
 
Fields inherited from class org.codehaus.mojo.jboss.AbstractJBossServerMojo
jbossHome, serverName
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
StartMojo()
           
 
Method Summary
 void execute()
          Main plugin execution.
 
Methods inherited from class org.codehaus.mojo.jboss.AbstractJBossServerMojo
checkConfig, getPassword, getUsername, launch, launchUnixScript, launchWindowsBatch
 
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
 

Field Detail

STARTUP_COMMAND

public static final String STARTUP_COMMAND
The command to start JBoss.

See Also:
Constant Field Values

startOptions

protected String startOptions
The set of space separated options to pass to the JBoss "run" command.

Since:
1.5.0
Is defined by:
expression:
${jboss.startOptions}
default-value:

options

protected String options
Deprecated. use startOptions instead
The set of options to pass to the JBoss "run" command.

Is defined by:
expression:
${jboss.options}
default-value:
Constructor Detail

StartMojo

public StartMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Main plugin execution.

Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2005-2012 Codehaus. All Rights Reserved.