From 71f5b469d03af375485f05c0b167eec08a115c58 Mon Sep 17 00:00:00 2001 From: Stefan Date: Sun, 11 Feb 2024 21:31:56 +0100 Subject: [PATCH] Update docs: Nexus compatibility --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 360ac86c..0bd69521 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![CI Status](https://github.com/gradle-nexus/publish-plugin/workflows/CI/badge.svg)](https://github.com/gradle-nexus/publish-plugin/actions?workflow=CI) [![Gradle Plugin Portal](https://img.shields.io/maven-metadata/v/https/plugins.gradle.org/m2/io.github.gradle-nexus/publish-plugin/maven-metadata.xml.svg?label=Gradle%20Plugin%20Portal)](https://plugins.gradle.org/plugin/io.github.gradle-nexus.publish-plugin) -This Gradle plugin is a turn-key solution for publishing to Nexus. You can use it to publish your artifacts to any Nexus instance (internal or public). It is great for publishing your open source to Sonatype, and then to Maven Central, in a fully automated fashion. +This Gradle plugin is a turn-key solution for publishing to Nexus. You can use it to publish your artifacts to any Nexus Repository Manager 2.x instance (internal or public). It is great for publishing your open source to Sonatype, and then to Maven Central, in a fully automated fashion. Vanilla Gradle is great, but it cannot fully automate publications to Nexus. This plugin enables isolation of staging repositories so that you can reliably publish from CI, and each publication uses a brand new, explicitly created staging repo ([more](https://github.com/gradle-nexus/publish-plugin/issues/63)). Moreover, the plugin provides tasks to close and release staging repositories, covering the whole releasing process to Maven Central. @@ -391,6 +391,14 @@ nexusPublishing { - `maxRetries` default value is 60. - `delayBetween` default value is 10 seconds. +### Compatibility + +| Nexus Version | Compatible | +|--------------------------|------------| +| Maven Central Repository | X | +| Nexus 2.x | X | +| Nexus 3.x | - | + ### Troubleshooting Log into your staging repository account. On the left side, expand "Build Promotion", then click "Staging Repositories".