jreleaser / jreleaser.github.io

🌐 jreleaser.org website
4 stars 38 forks source link

Missing Nexus2 username variable for Maven Deploy #35

Closed manikmagar closed 1 year ago

manikmagar commented 1 year ago

When deploying to Maven with the instructions on the maven publish page, I got below error. Looks like document is missing one environment variable.

[ERROR] == JReleaser ==
[ERROR] nexus2.username must not be blank. Configure a value using the CLI yaml DSL, or define [JRELEASER_NEXUS2_MAVEN_CENTRAL_USERNAME, JRELEASER_NEXUS2_USERNAME] environment variables, or define a key/value pair in /Users/manik/.jreleaser/config.properties with keys = [JRELEASER_NEXUS2_MAVEN_CENTRAL_USERNAME, JRELEASER_NEXUS2_USERNAME]
JReleaser has not been properly configured.
nexus2.username must not be blank. Configure a value using the CLI yaml DSL, or define [JRELEASER_NEXUS2_MAVEN_CENTRAL_USERNAME, JRELEASER_NEXUS2_USERNAME] environment variables, or define a key/value pair in /Users/manik/.jreleaser/config.properties with keys = [JRELEASER_NEXUS2_MAVEN_CENTRAL_USERNAME, JRELEASER_NEXUS2_USERNAME]