nexus:staging-promote

Full name:

org.sonatype.plugins:nexus-maven-plugin:1.4:staging-promote

This plugin goal has been deprecated:

Replaced by: staging-release.

Description:

Promote a finished Nexus staging repository into a permanent Nexus repository for general consumption.

Attributes:

  • Executes as an aggregator plugin.

Optional Parameters

Name Type Since Description
automatic boolean - If false, the Nexus discovery process will prompt the user to accept any Nexus connection information it finds before using it.
NOTE: Batch-mode executions will override this parameter with an effective value of 'true'.
Default value is: false.
nexusUrl String - The base URL for a Nexus Professional instance that includes the nexus-staging-plugin. If missing, the mojo will prompt for this value.
password String - The password that should be used to log into Nexus. If missing, the mojo will prompt for this value.
promoteAutoSelectOverride boolean - If set to true, allow auto-selection of the repository to promote in cases where no repositoryId has been specified during execution, and only one staged repository is available.
NOTE: Use with care! This can be dangerous!
Default value is: false.
repositoryId String - If provided, and this repository is available for selection, use it.
serverAuthId String - If provided, lookup username/password from this server entry in the current Maven settings.
targetRepositoryId String - (no description)
username String - The username that should be used to log into Nexus.
Default value is: ${user.name}.
verboseDebug boolean -

If set to true, enable the debug log-level inside commons-httpclient (used to interact with Nexus).

NOTE: This parameter will ONLY work when used with the -X Maven switch (which enables debug logging for the build).


Default value is: false.

Parameter Details

automatic:

If false, the Nexus discovery process will prompt the user to accept any Nexus connection information it finds before using it.
NOTE: Batch-mode executions will override this parameter with an effective value of 'true'.
  • Type: boolean
  • Required: No
  • Expression: ${nexus.automaticDiscovery}
  • Default: false

nexusUrl:

The base URL for a Nexus Professional instance that includes the nexus-staging-plugin. If missing, the mojo will prompt for this value.
  • Type: java.lang.String
  • Required: No
  • Expression: ${nexus.url}

password:

The password that should be used to log into Nexus. If missing, the mojo will prompt for this value.
  • Type: java.lang.String
  • Required: No
  • Expression: ${nexus.password}

promoteAutoSelectOverride:

If set to true, allow auto-selection of the repository to promote in cases where no repositoryId has been specified during execution, and only one staged repository is available.
NOTE: Use with care! This can be dangerous!
  • Type: boolean
  • Required: No
  • Expression: ${nexus.promote.autoSelectOverride}
  • Default: false

repositoryId:

If provided, and this repository is available for selection, use it.
  • Type: java.lang.String
  • Required: No
  • Expression: ${nexus.repositoryId}

serverAuthId:

If provided, lookup username/password from this server entry in the current Maven settings.
  • Type: java.lang.String
  • Required: No
  • Expression: ${nexus.serverAuthId}

targetRepositoryId:

(no description)
  • Type: java.lang.String
  • Required: No
  • Expression: ${targetRepositoryId}

username:

The username that should be used to log into Nexus.
  • Type: java.lang.String
  • Required: No
  • Expression: ${nexus.username}
  • Default: ${user.name}

verboseDebug:

If set to true, enable the debug log-level inside commons-httpclient (used to interact with Nexus).

NOTE: This parameter will ONLY work when used with the -X Maven switch (which enables debug logging for the build).

  • Type: boolean
  • Required: No
  • Expression: ${nexus.verboseDebug}
  • Default: false