The org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13 plugin used for Staging operations in Nexus Repository Pro version 2x has a goal called deploy-staged-repository
The purpose is described by its help:
However the Nexus Repository 3 Maven Staging Plugin does not have an equivalent goal that can bulk deploy a directory of locally staged and not yet remotely deployed artifacts.
The problem this creates is one is forced to not use the Maven plugin to bulk deploy the staged files to a specified tag and remote repo. Instead the staging and tagging REST API of repo 3 along with customized scripting which iterates over the files to be uploaded needs to be used instead. Added complexity can occur in this alternative approach because one has to ensure that artifacts from all modules are consistently tagged, across multiple uploads.
Provide a Maven plugin goal or other maven plugin mechanism to deploy a directory of already locally ( client side using altDeploymentRepository feature ) "staged" components to a Maven hosted repository in Nexus Repository Pro version 3, that works similarly and has similar transactional semantics that the repo 2 maven staging plugin does.