diff --git a/docs/modules/examples/pages/maven/maven-central.adoc b/docs/modules/examples/pages/maven/maven-central.adoc index e9422bed8..e42db5df1 100644 --- a/docs/modules/examples/pages/maven/maven-central.adoc +++ b/docs/modules/examples/pages/maven/maven-central.adoc @@ -176,6 +176,11 @@ file: - `JRELEASER_NEXUS2_MAVEN_CENTRAL_USERNAME` or `JRELEASER_NEXUS2_USERNAME` - `JRELEASER_NEXUS2_MAVEN_CENTRAL_PASSWORD` or `JRELEASER_NEXUS2_PASSWORD` +Alternatively, you may set these for link:https://central.sonatype.org/publish/generate-token/[token based authentication]: + +- `JRELEASER_NEXUS2_MAVEN_CENTRAL_USERNAME` or `JRELEASER_NEXUS2_USERNAME` +- `JRELEASER_NEXUS2_MAVEN_CENTRAL_TOKEN` or `JRELEASER_NEXUS2_TOKEN` + == Maven The following `pom.xml` file shows the minimum required configuration @@ -230,22 +235,22 @@ The following `pom.xml` file shows the minimum required configuration org.apache.maven.plugins maven-deploy-plugin - 3.0.0 + 3.1.1 org.apache.maven.plugins maven-compiler-plugin - 3.10.1 + 3.12.1 org.apache.maven.plugins maven-javadoc-plugin - 3.2.0 + 3.6.3 org.apache.maven.plugins maven-source-plugin - 3.2.1 + 3.3.0 org.jreleaser diff --git a/docs/modules/examples/pages/maven/staging-artifacts.adoc b/docs/modules/examples/pages/maven/staging-artifacts.adoc index 89342047c..0517dc045 100644 --- a/docs/modules/examples/pages/maven/staging-artifacts.adoc +++ b/docs/modules/examples/pages/maven/staging-artifacts.adoc @@ -60,22 +60,22 @@ as plugin configuration to generate all required artifacts. org.apache.maven.plugins maven-deploy-plugin - 3.0.0 + 3.1.1 org.apache.maven.plugins maven-compiler-plugin - 3.10.1 + 3.12.1 org.apache.maven.plugins maven-javadoc-plugin - 3.2.0 + 3.6.3 org.apache.maven.plugins maven-source-plugin - 3.2.1 + 3.3.0