Full name:
org.wildfly.plugins:wildfly-maven-plugin:1.2.2.Final:execute-commands
Description:
<batch>true</batch> <fail-on-error>false</fail-on-error> <commands> <command>/subsystem=logging/console=CONSOLE:write-attribute(name=level,value=DEBUG)</command> </commands>
Attributes:
Name | Type | Since | Description |
---|---|---|---|
authenticationConfig | URL | - | A URL which points to the authentication configuration
(wildfly-config.xml) the client uses to authenticate
with the server. User property is: wildfly.authConfig. Alias is: authentication-config. |
batch | boolean | - | true if commands should be executed in a batch or
false if they should be executed one at a time. Default value is: false. User property is: wildfly.batch. |
commands | List | - | The CLI commands to execute. User property is: wildfly.commands. |
executeCommands | Commands | - | Deprecated. Use the <commands/>,
<scripts/> and <batch/>
configuration parameters Alias is: execute-commands. |
failOnError | boolean | - | Indicates whether or not subsequent commands should be executed if
an error occurs executing a command. A value of false
will continue processing commands even if a previous command
execution results in a failure.
Note that this value is ignored if offline is set to true. Default value is: true. User property is: wildfly.failOnError. Alias is: fail-on-error. |
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. |
javaOpts | String | - | The JVM options to pass to the offline process if the
offline configuration parameter is set to
true. User property is: wildfly.javaOpts. Alias is: java-opts. |
jbossHome | String | - | The WildFly Application Server's home directory.
This parameter is required when offline is set to true. Otherwise this is not required, but should be used for commands such as module add as they are executed on the local file system. User property is: jboss-as.home. Alias is: jboss-home. |
offline | boolean | - | Indicates whether or not CLI scrips or commands should be executed
in an offline mode. This is useful for using an embedded server or
host controller.
This does not start an embedded server it instead skips checking if a server is running. Default value is: false. User property is: wildfly.offline. |
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. |
propertiesFiles | List | - | The properties files to use when executing CLI scripts or commands. |
protocol | String | - | The protocol used to connect to the server for management. User property is: wildfly.protocol. |
scripts | List | - | The CLI script files to execute. User property is: wildfly.scripts. |
skip | boolean | - | true if commands execution should be skipped. Default value is: false. User property is: wildfly.skip. |
stdout | String | - | Indicates how stdout and stderr should be
handled for the spawned CLI process. Currently a new process is
only spawned if offline is set to true.
Note that stderr will be redirected to
stdout if the value is defined unless the value is
none.
By default stdout and stderr are
inherited from the current process. You can change the setting to
one of the follow:
Default value is: System.out. User property is: wildfly.stdout. |
systemProperties | Map | - | The system properties to be set when executing CLI commands. Alias is: system-properties. |
timeout | int | - | The timeout, in seconds, to wait for a management connection. Default value is: 60. User property is: wildfly.timeout. |
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. |
Note that if defined the commands, scripts and fail-on-error parameters outside of this configuration property are ignored.
Note that this value is ignored if offline is set to true.
id:
This parameter is required when offline is set to true. Otherwise this is not required, but should be used for commands such as module add as they are executed on the local file system.
This does not start an embedded server it instead skips checking if a server is running.
port:
skip: