Integrating Maven Central
To authenticate and integrate Maven Central within your Java SDK, you’ll need to create a Maven Central User Token and add it to your repository.
Creating a Maven Central User Token
Log In
Log into the Nexus Repository Manager web interface where you host your project. This is likely oss.sonatype.org or s01.oss.sonatype.org.
If you don’t have an existing Nexus Repository Manager, you can log in or create a Maven Central account here
Adding User Tokens to your GitHub repository
Using GitLab? Follow these steps.