Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DRAFT

Notes on using Nexus

NOTE - much of this content can be replaced simply by referencing the new unified docs: Publishing Maven Artifacts

What is Nexus?

Nexus is a repository manager, and acts as a staging repository which "intercepts" artifacts uploaded by mvn deploy.

...

However, components that use different groupIds may need to be set up. Just create a JIRA subtask under https://issues.apache.org/jira/browse/INFRA-1896, for example see: https://issues.apache.org/jira/browse/INFRA-2725 (Commons) or https://issues.apache.org/jira/browse/INFRA-2799 (CLI)See the instructions in Publishing Maven Artifacts to request adjustments to the Nexus configuration to support additional groupIds.

  • If you have not done so already, create a master password.

...

Otherwise, the artifacts will be deployed to the release staging repository in Nexus.

To review the files that have been uploaded, login to Nexus using your Apache login and password: https://repository.apache.org/index.html You should then see additional menu items in the LHS:

  • Enterprise
    • Staging
    • Staging Upload

Click on Enterprise/Staging and a list of your uploads should appear. Click on the appropriate one, and it will appear below. Click that and a listing will appear at the bottom.

Check that all the files are there (currently you can only see file names, not contents. This is a known bug.). If OK, right-click the "open" status and select "Close" (or "Drop" if you need to try again).

Now you can right-click to download files (and drop any that should not be there e.g. .asc.md5 - if you can be bothered). Also at this point the "Repository Path" URL becomes active to others.

See Closing the Staged Repository for information about reviewing your staged artifacts and making them available for others to review.

Send Out The Vote

Below you find a vote template to save you some time ...

...

React to the Vote

If the vote passes, right-click on the "closed" status and select "Promote" otherwise "Drop"you can Promote otherwise Drop the repo and start again.