wagon:sshexec
Full name:
org.codehaus.mojo:wagon-maven-plugin:2.0.2:sshexec
Description:
Executes a list of commands against a given server.
Attributes:
- Requires a Maven project to be executed.
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 is: wagon.url. |
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<displayCommandOutputs> |
boolean |
- |
Option to display remote command's outputs. Default value is: false. |
<failOnError> |
boolean |
- |
Allow option not to fail the build on error. Default value is: true. |
<serverId> |
String |
- |
settings.xml's server id for the URL. This is used when wagon needs
extra authentication information. Default value is: serverId.User property is: wagon.serverId. |
<skip> |
boolean |
2.0.0 |
When true, skip the execution.User property is: 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

