From d7ee84aa7ceb3e85ff0b2fb4641777c6a7d5e090 Mon Sep 17 00:00:00 2001 From: Thomas Vitale Date: Sun, 24 Mar 2024 09:44:29 +0100 Subject: [PATCH] Fix syntax in maven deployer guide for JReleaser Gradle 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. --- docs/modules/examples/pages/maven/maven-central.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/examples/pages/maven/maven-central.adoc b/docs/modules/examples/pages/maven/maven-central.adoc index e42db5df1..da761c12b 100644 --- a/docs/modules/examples/pages/maven/maven-central.adoc +++ b/docs/modules/examples/pages/maven/maven-central.adoc @@ -151,7 +151,7 @@ jreleaser { deploy { maven { nexus2 { - maven-central { + 'maven-central' { active = 'ALWAYS' url = '{deployer_url}' snapshotUrl = '{deployer_snapshot_url}'