envs

Maven Central — publishing

maven/central · version 1

envs add maven/central

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
MAVEN_CENTRAL_USERNAME required secret Portal token user. Half of a credential pair.. where to get it
MAVEN_CENTRAL_PASSWORD required secret Portal token password half.. where to get it
MAVEN_GPG_PASSPHRASE optional secret Passphrase for the signing key artifacts are released with.. where to get it

The JSON the CLI reads