helper:execute-remote-command

Full name:

org.nuiton:helper-maven-plugin:2.3.2:execute-remote-command

Description:

Mojo to execute on a remote server some scripts.

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 1.3.1.
  • Binds by default to the lifecycle phase: validate.
  • Requires that Maven runs in online mode.

Required Parameters

Name Type Since Description
command String 1.3.1 Command to execute on remote server.
User property is: helper.command.
repositoryId String 1.3.1 Id of the server to use to obtain user login. Must be found in your settings.xml.
User property is: helper.repositoryId.
repositoryUrl String 1.3.1 Url where to execute script. The url must contains the wagon protocol (says scp:... or scpexe:...).
User property is: helper.repositoryUrl.

Optional Parameters

Name Type Since Description
verbose boolean 1.3.1 A flag to activate verbose mode.
Default value is: ${maven.verbose}.
User property is: helper.verbose.

Parameter Details

command:

Command to execute on remote server.
  • Type: java.lang.String
  • Since: 1.3.1
  • Required: Yes
  • User Property: helper.command

repositoryId:

Id of the server to use to obtain user login. Must be found in your settings.xml.
  • Type: java.lang.String
  • Since: 1.3.1
  • Required: Yes
  • User Property: helper.repositoryId

repositoryUrl:

Url where to execute script. The url must contains the wagon protocol (says scp:... or scpexe:...).
  • Type: java.lang.String
  • Since: 1.3.1
  • Required: Yes
  • User Property: helper.repositoryUrl

verbose:

A flag to activate verbose mode.
  • Type: boolean
  • Since: 1.3.1
  • Required: No
  • User Property: helper.verbose
  • Default: ${maven.verbose}