Skip to content

Generate a Token on NXRM servers⚓︎

Tokens for publishing

Previously, tokens were the encouraged solution for publishing to OSSRH, but using your username/password was allowed. As a part of the deprecation of, tokens will eventually be required and username/password authentication will stop working.

You must use a generate a token and use it instead of your username/password to publish artifacts to the Central Repository.

  1. Go to the NXRM web interface where your project is hosted
  2. Select the Profile option in the yellow top right dropdown menu
    • This should open the Profile tab in the main window
  3. In the Profile tab, select the User Token option in the select input field
    • This should navigate to the User Token view in the tab
  4. Click the Access User Token button (you will need to reenter your credentials) token
  5. You can now use that generated token in your publishing setup

More detailed information of the token's usage can be found here.