Skip to content

Commit

Permalink
Fix syntax in maven deployer guide for JReleaser Gradle
Browse files Browse the repository at this point in the history
When using the JReleaser Gradle plugin, the name of the Maven deploy configuration doesn't support dashes. Either avoid dashes or write the name within single quotes.
  • Loading branch information
ThomasVitale authored and aalmiray committed Mar 24, 2024
1 parent 2004656 commit d7ee84a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/modules/examples/pages/maven/maven-central.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jreleaser {
deploy {
maven {
nexus2 {
maven-central {
'maven-central' {
active = 'ALWAYS'
url = '{deployer_url}'
snapshotUrl = '{deployer_snapshot_url}'
Expand Down

0 comments on commit d7ee84a

Please sign in to comment.