nexus:staging-close

Full name:

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

Description:

Close a Nexus staging repository so it's available for use by Maven.

Attributes:

  • Executes as an aggregator plugin.

Optional Parameters

Name Type Since Description
artifactId String - The artifact artifactId used to select which open staging repository should be closed.
Default value is: ${project.artifactId}.
auto boolean - Deprecated. Use parameter 'automatic' instead.
Default value is: false.
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.
description String - The description for the newly closed staging repository. This will show up in the Nexus UI.
groupId String - The artifact groupId used to select which open staging repository should be closed.
Default value is: ${project.groupId}.
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.
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.
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.
version String - The artifact version used to select which open staging repository should be closed.
Default value is: ${project.version}.

Parameter Details

artifactId:

The artifact artifactId used to select which open staging repository should be closed.
  • Type: java.lang.String
  • Required: No
  • Expression: ${nexus.artifactId}
  • Default: ${project.artifactId}

auto:

Deprecated. Use parameter 'automatic' instead.
If true, the mojo will simply select the first result from the list of open staging repositories that match the given groupId, artifactId, and version. Otherwise, the mojo will prompt the user for input.
  • Type: boolean
  • Required: No
  • Expression: ${auto}
  • Default: false

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

description:

The description for the newly closed staging repository. This will show up in the Nexus UI.
  • Type: java.lang.String
  • Required: No
  • Expression: ${nexus.description}

groupId:

The artifact groupId used to select which open staging repository should be closed.
  • Type: java.lang.String
  • Required: No
  • Expression: ${nexus.groupId}
  • Default: ${project.groupId}

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}

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}

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

version:

The artifact version used to select which open staging repository should be closed.
  • Type: java.lang.String
  • Required: No
  • Expression: ${nexus.version}
  • Default: ${project.version}