Skip to content

Commit

Permalink
tweak REAMDE, tweak publication
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin committed Feb 11, 2024
1 parent 9b5f148 commit f9d039d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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:

Expand All @@ -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"
}
}
```
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ publishing {

pom {
name.set(project.name)
packaging = "jar"
description.set(pluginDescription)
url.set("https://github.com/gradleup/nmcp")

Expand Down

0 comments on commit f9d039d

Please sign in to comment.