jboss-as:start

Full name:

org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:start

Description:

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.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.

Optional Parameters

Name Type Since Description
bundlesPath String - The bundles path to use.
User property is: jboss-as.bundlesPath.
hostname String - Specifies the host name of the server where the deployment plan should be executed.
Default value is: localhost.
User property is: jboss-as.hostname.
id String - Specifies the id of the server if the username and password is to be retrieved from the settings.xml file
User property is: jboss-as.id.
javaHome String - The JAVA_HOME to use for launching the server.
User property is: java.home.
jbossHome String - The JBoss Application Server's home directory. If not used, JBoss Application Server will be downloaded.
User property is: jboss-as.home.
jvmArgs String - A space delimited list of JVM arguments.
Default value is: -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000.
User property is: jboss-as.jvmArgs.
modulesPath String - The modules path to use.
User property is: jboss-as.modulesPath.
password String - Specifies the password to use if prompted to authenticate by the server. If no password is specified and the server requests authentication the user will be prompted to supply the password,
User property is: jboss-as.password.
port int - Specifies the port number the server is listening on.
Default value is: 9999.
User property is: jboss-as.port.
serverConfig String - The path to the server configuration to use.
User property is: jboss-as.serverConfig.
startupTimeout long - The timeout value to use when starting the server.
Default value is: 60.
User property is: jboss-as.startupTimeout.
username String - Specifies the username to use if prompted to authenticate by the server. If no username is specified and the server requests authentication the user will be prompted to supply the username,
User property is: jboss-as.username.
version String - The version of the JBoss Application Server to run.
Default value is: 7.1.1.Final.
User property is: jboss-as.version.

Parameter Details

bundlesPath:

The bundles path to use.
  • Type: java.lang.String
  • Required: No
  • User Property: jboss-as.bundlesPath

hostname:

Specifies the host name of the server where the deployment plan should be executed.
  • Type: java.lang.String
  • Required: No
  • User Property: jboss-as.hostname
  • Default: localhost

id:

Specifies the id of the server if the username and password is to be retrieved from the settings.xml file
  • Type: java.lang.String
  • Required: No
  • User Property: jboss-as.id

javaHome:

The JAVA_HOME to use for launching the server.
  • Type: java.lang.String
  • Required: No
  • User Property: java.home

jbossHome:

The JBoss Application Server's home directory. If not used, JBoss Application Server will be downloaded.
  • Type: java.lang.String
  • Required: No
  • User Property: jboss-as.home

jvmArgs:

A space delimited list of JVM arguments.
  • Type: java.lang.String
  • Required: No
  • User Property: jboss-as.jvmArgs
  • Default: -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

modulesPath:

The modules path to use.
  • Type: java.lang.String
  • Required: No
  • User Property: jboss-as.modulesPath

password:

Specifies the password to use if prompted to authenticate by the server. If no password is specified and the server requests authentication the user will be prompted to supply the password,
  • Type: java.lang.String
  • Required: No
  • User Property: jboss-as.password

port:

Specifies the port number the server is listening on.
  • Type: int
  • Required: No
  • User Property: jboss-as.port
  • Default: 9999

serverConfig:

The path to the server configuration to use.
  • Type: java.lang.String
  • Required: No
  • User Property: jboss-as.serverConfig

startupTimeout:

The timeout value to use when starting the server.
  • Type: long
  • Required: No
  • User Property: jboss-as.startupTimeout
  • Default: 60

username:

Specifies the username to use if prompted to authenticate by the server. If no username is specified and the server requests authentication the user will be prompted to supply the username,
  • Type: java.lang.String
  • Required: No
  • User Property: jboss-as.username

version:

The version of the JBoss Application Server to run.
  • Type: java.lang.String
  • Required: No
  • User Property: jboss-as.version
  • Default: 7.1.1.Final