From d318ce4e3409e487b04f67a077910c541a6b8ffe Mon Sep 17 00:00:00 2001 From: Carmine DiMascio Date: Sun, 15 Jan 2023 19:36:29 -0500 Subject: [PATCH] v2.3.2 --- CONTRIBUTING.md | 9 +++------ pom.xml | 44 ++++++++++++++++++++++---------------------- 2 files changed, 25 insertions(+), 28 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1194ff9..c67a521 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -45,12 +45,6 @@ mvn clean test jacoco:report package Contributors are not responsible for deploying to mavencentral. -```shell - -mvn clean dokka:javadocJar deploy - -``` - **Maven Central** - Publish with Maven - https://central.sonatype.org/publish/publish-maven/ @@ -90,6 +84,9 @@ Add `distributionManagement` to `pom.xml` ```shell # deploy to github packages mvn deploy -Dregistry=https://maven.pkg.github.com/cdimascio -Dtoken=XXXX +# or +mvn clean test jacoco:report package deploy -Dregistry=https://maven.pkg.github.com/cdimascio -Dtoken=XXXX + ``` https://docs.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-apache-maven-for-use-with-github-packages diff --git a/pom.xml b/pom.xml index 1df0d27..b491a92 100644 --- a/pom.xml +++ b/pom.xml @@ -312,34 +312,34 @@ - - - - - - - - - - - + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ossrh + https://oss.sonatype.org/ + true + + - - - - - - - - + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + - github - Carmine M DiMascio - https://maven.pkg.github.com/cdimascio/dotenv-java + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + +