wildfly:start

Full name:

org.wildfly.plugins:wildfly-maven-plugin:1.1.0.Alpha1:start

Description:

Starts a standalone instance of WildFly Application Server. The purpose of this goal is to start a WildFly 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
artifact String - A string of the form groupId:artifactId:version[:packaging][:classifier]. Any missing portion of the artifact will be replaced with the it's appropriate default property value
User property is: wildfly.artifact.
artifactId String - The artifactId of the artifact to download. Ignored if artifact artifactId portion is used.
Default value is: wildfly-dist.
User property is: wildfly.artifactId.
classifier String - The classifier of the artifact to download. Ignored if artifact classifier portion is used.
User property is: wildfly.classifier.
groupId String - The groupId of the artifact to download. Ignored if artifact groupId portion is used.
Default value is: org.wildfly.
User property is: wildfly.groupId.
hostname String - Specifies the host name of the server where the deployment plan should be executed.
Default value is: localhost.
User property is: wildfly.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: wildfly.id.
javaHome String - The JAVA_HOME to use for launching the server.
User property is: java.home.
javaOpts String[] - The JVM options to use.
User property is: wildfly.javaOpts.
jbossHome String - The WildFly Application Server's home directory. If not used, WildFly will be downloaded.
User property is: jboss-as.home.
jvmArgs String - Deprecated. use javaOpts
User property is: wildfly.jvmArgs.
modulesPath ModulesPath - The modules path or paths to use. A single path can be used or multiple paths by enclosing them in a paths element.
User property is: wildfly.modulesPath.
packaging String - The packaging of the artifact to download. Ignored if artifact packing portion is used.
Default value is: zip.
User property is: wildfly.packaging.
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: wildfly.password.
port int - Specifies the port number the server is listening on.
Default value is: 9990.
User property is: wildfly.port.
propertiesFile String - The path to the system properties file to load.
User property is: wildfly.propertiesFile.
protocol String - The protocol used to connect to the server for management.
User property is: wildfly.protocol.
serverArgs String[] - The arguments to be passed to the server.
User property is: wildfly.serverArgs.
serverConfig String - The path to the server configuration to use.
User property is: wildfly.serverConfig.
skip boolean - Set to true if you want to skip server start, otherwise false.
Default value is: false.
startupTimeout long - The timeout value to use when starting the server.
Default value is: 60.
User property is: wildfly.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: wildfly.username.
version String - The version of the artifact to download. Ignored if artifact version portion is used. The default version is resolved if left blank.
User property is: wildfly.version.

Parameter Details

artifact:

A string of the form groupId:artifactId:version[:packaging][:classifier]. Any missing portion of the artifact will be replaced with the it's appropriate default property value
  • Type: java.lang.String
  • Required: No
  • User Property: wildfly.artifact

artifactId:

The artifactId of the artifact to download. Ignored if artifact artifactId portion is used.
  • Type: java.lang.String
  • Required: No
  • User Property: wildfly.artifactId
  • Default: wildfly-dist

classifier:

The classifier of the artifact to download. Ignored if artifact classifier portion is used.
  • Type: java.lang.String
  • Required: No
  • User Property: wildfly.classifier

groupId:

The groupId of the artifact to download. Ignored if artifact groupId portion is used.
  • Type: java.lang.String
  • Required: No
  • User Property: wildfly.groupId
  • Default: org.wildfly

hostname:

Specifies the host name of the server where the deployment plan should be executed.
  • Type: java.lang.String
  • Required: No
  • User Property: wildfly.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: wildfly.id

javaHome:

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

javaOpts:

The JVM options to use.
  • Type: java.lang.String[]
  • Required: No
  • User Property: wildfly.javaOpts

jbossHome:

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

jvmArgs:

Deprecated. use javaOpts
A space delimited list of JVM arguments.
  • Type: java.lang.String
  • Required: No
  • User Property: wildfly.jvmArgs

modulesPath:

The modules path or paths to use. A single path can be used or multiple paths by enclosing them in a paths element.
  • Type: org.wildfly.plugin.server.ModulesPath
  • Required: No
  • User Property: wildfly.modulesPath

packaging:

The packaging of the artifact to download. Ignored if artifact packing portion is used.
  • Type: java.lang.String
  • Required: No
  • User Property: wildfly.packaging
  • Default: zip

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: wildfly.password

port:

Specifies the port number the server is listening on.
  • Type: int
  • Required: No
  • User Property: wildfly.port
  • Default: 9990

propertiesFile:

The path to the system properties file to load.
  • Type: java.lang.String
  • Required: No
  • User Property: wildfly.propertiesFile

protocol:

The protocol used to connect to the server for management.
  • Type: java.lang.String
  • Required: No
  • User Property: wildfly.protocol

serverArgs:

The arguments to be passed to the server.
  • Type: java.lang.String[]
  • Required: No
  • User Property: wildfly.serverArgs

serverConfig:

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

skip:

Set to true if you want to skip server start, otherwise false.
  • Type: boolean
  • Required: No
  • Default: false

startupTimeout:

The timeout value to use when starting the server.
  • Type: long
  • Required: No
  • User Property: wildfly.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: wildfly.username

version:

The version of the artifact to download. Ignored if artifact version portion is used. The default version is resolved if left blank.
  • Type: java.lang.String
  • Required: No
  • User Property: wildfly.version