org.jboss.as.plugin.server
Class Start
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.jboss.as.plugin.common.AbstractServerMojo
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
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Constructor Summary |
Start()
|
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 |
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
Start
public Start()
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.
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.