Integrating Maven

Creating a Maven username and password

1

Log In (or create account)

Log into s01.oss.sonatype.org.

3

Click on User Token

Expand the dropdown and click on User Token.

Select user token
4

Click on Access User Token

There will be a lock icon followed by the text Access User Token. Click on Access User Token. You may need to re-authenticate to see the user token.

View your username and password
5

Add GitHub Secrets

You’ll need to store two repository secrets in your fern configuration repository (i.e. not the Java SDK repository), one for the username and one for the password.

Adding GitHub Repository Secret

For each, select New repository secret. Name your secret (we recommend MAVEN_USERNAME and MAVEN_PASSWORD, respectively), add the corresponding value, and click Add secret.