JBoss AS7 Deployment Plugin 7.9.Final

org.jboss.as.plugin.server
Class Start

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.jboss.as.plugin.common.AbstractServerMojo
          extended by org.jboss.as.plugin.server.Start
All Implemented Interfaces:
Closeable, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, ConnectionInfo

@Mojo(name="start",
      requiresDependencyResolution=RUNTIME)
public class Start
extends AbstractServerMojo

Starts a standalone instance of JBoss Application Server 7.

The purpose of this goal is to start a JBoss Application Server for testing during the maven lifecycle. This can start a remote server, but the server will be shutdown when the maven process ends.

Author:
James R. Perkins

Field Summary
static String JBOSS_DIR
           
protected  org.apache.maven.project.MavenProject project
          The project
 
Fields inherited from class org.jboss.as.plugin.common.AbstractServerMojo
DEBUG_MESSAGE_NO_CREDS, DEBUG_MESSAGE_NO_ID, DEBUG_MESSAGE_NO_SERVER_SECTION, DEBUG_MESSAGE_NO_SETTINGS_FILE, DEBUG_MESSAGE_POM_HAS_CREDS, DEBUG_MESSAGE_SETTINGS_HAS_CREDS, DEBUG_MESSAGE_SETTINGS_HAS_ID
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
Start()
           
 
Method Summary
 void execute()
           
 String goal()
          The goal of the deployment.
 
Methods inherited from class org.jboss.as.plugin.common.AbstractServerMojo
close, getCallbackHandler, getClient, getHostAddress, getPort, hostname, isDomainServer, isSkip
 
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

JBOSS_DIR

public static final String JBOSS_DIR
See Also:
Constant Field Values

project

@Parameter(defaultValue="${project}",
           readonly=true,
           required=true)
protected org.apache.maven.project.MavenProject project
The project

Constructor Detail

Start

public Start()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

goal

public String goal()
Description copied from class: AbstractServerMojo
The goal of the deployment.

Specified by:
goal in class AbstractServerMojo
Returns:
the goal of the deployment.

JBoss AS7 Deployment Plugin 7.9.Final

Copyright © 2016 JBoss by Red Hat. All Rights Reserved.