wagon:sshexec
Full name:
org.codehaus.mojo:wagon-maven-plugin:3.0.0:sshexec
Description:
Executes a list of commands against a given server.
Attributes:
- Requires a Maven project to be executed.
- The goal is not marked as thread-safe and thus does not support parallel builds.
Required Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<commands> |
String[] |
- |
The commands that we will execute. |
<url> |
String |
- |
URL to upload to or download from or list. Must exist and point to a directory. User Property: wagon.url |
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<displayCommandOutputs> |
boolean |
- |
Option to display remote command's outputs. Default: false |
<failOnError> |
boolean |
- |
Allow option not to fail the build on error. Default: true |
<serverId> |
String |
- |
settings.xml's server id for the URL. This is used when wagon needs extra authentication information. Default: serverIdUser Property: wagon.serverId |
<skip> |
boolean |
2.0.0 |
When true, skip the execution.User Property: wagon.skip |
Parameter Details
<commands>
The commands that we will execute.
- Type:
java.lang.String[] - Required:
Yes
<displayCommandOutputs>
Option to display remote command's outputs.
- Type:
boolean - Required:
No - Default:
false
<failOnError>
Allow option not to fail the build on error.
- Type:
boolean - Required:
No - Default:
true
<serverId>
settings.xml's server id for the URL. This is used when wagon needs extra authentication information.
- Type:
java.lang.String - Required:
No - User Property:
wagon.serverId - Default:
serverId
<skip>
When
true, skip the execution.- Type:
boolean - Since:
2.0.0 - Required:
No - User Property:
wagon.skip
<url>
URL to upload to or download from or list. Must exist and point to a directory.
- Type:
java.lang.String - Required:
Yes - User Property:
wagon.url

