From f9d039d2afb32479e97796f09ba51eb5ee7c1513 Mon Sep 17 00:00:00 2001 From: Martin Bonnin Date: Sun, 11 Feb 2024 22:58:06 +0100 Subject: [PATCH] tweak REAMDE, tweak publication --- README.md | 8 +++++--- build.gradle.kts | 1 - 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e7a5c6f..1fc5a57 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ +# Nmcp: New Maven Central Publishing (or New Maven Central Portal) + A plugin that uses the new [Central Portal publisher API](https://central.sonatype.org/publish/publish-portal-api/) to publish to Maven Central. -New accounts created after Feb. 1st 2024 are configured to use the new publishing by defaults. Other accounts can continue publishing to OSSRH. +New accounts created after Feb. 1st 2024 are configured to use the new publishing by defaults and can use this plugin. Other accounts can continue publishing to OSSRH. -Nmcp does not create or sign publications or apply the `maven-publish`. This must be done using other means. Nmcp uses existing publications, creates a new repo to stage them and upload a zip to the Central Portal publisher API. +Nmcp does not create publications or apply the `maven-publish`. This must be done using other means. Nmcp uses existing publications, stages them locally and upload a zip to the Central Portal publisher API. ### QuickStart: @@ -21,7 +23,7 @@ nmcp { // publish manually from the portal publicationType = "USER_MANAGED" // or if you want to publish automatically - publicationType = "USER_MANAGED" + publicationType = "AUTOMATIC" } } ``` \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index fe71bd2..72f895f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -51,7 +51,6 @@ publishing { pom { name.set(project.name) - packaging = "jar" description.set(pluginDescription) url.set("https://github.com/gradleup/nmcp")