From 907a5182f34c78460bfcf4251d67973e4b91c2f4 Mon Sep 17 00:00:00 2001 From: Martin Albert Date: Thu, 22 Aug 2024 10:34:47 +0200 Subject: [PATCH 1/3] fix: replace maven-deploy-plugin with nexus-staging-maven-plugin - this change is required due to missing features in original plugin - promoting staging deployment to maven cetral repository - nexus-staging-maven-plugin is meant to completely replace the maven-deploy-plugin as it supports same functionality and more --- pom.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 0a2463c..775c97b 100644 --- a/pom.xml +++ b/pom.xml @@ -190,8 +190,15 @@ - maven-deploy-plugin - 2.8.2 + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.8 + true + + ossrh + https://oss.sonatype.org/ + true + default-deploy From a9ac0162d0c0b80984fb533617dbd0f7df2a47c7 Mon Sep 17 00:00:00 2001 From: Martin Albert Date: Thu, 22 Aug 2024 10:44:57 +0200 Subject: [PATCH 2/3] docs: update versions in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eddb0af..bec9dd4 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ For a comprehensive list of examples, check out the [API documentation](https:// com.buttercms buttercmsclient - 1.6 + 1.12.0 ... @@ -29,7 +29,7 @@ For a comprehensive list of examples, check out the [API documentation](https:// **build.gradle** ``` dependencies { - implementation 'com.buttercms:buttercmsclient:1.6' + implementation 'com.buttercms:buttercmsclient:1.12.0' } ``` From 3378741e5b772d03a6d8551e104db5c7c66baeaf Mon Sep 17 00:00:00 2001 From: Martin Albert Date: Thu, 22 Aug 2024 12:58:50 +0200 Subject: [PATCH 3/3] chore: add version customization elements --- README.md | 6 +++++- pom.xml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bec9dd4..1f959bd 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,9 @@ For a comprehensive list of examples, check out the [API documentation](https:// ### Maven + **pom.xml** -``` +```xml ... @@ -23,15 +24,18 @@ For a comprehensive list of examples, check out the [API documentation](https:// ... ``` + ### Gradle + **build.gradle** ``` dependencies { implementation 'com.buttercms:buttercmsclient:1.12.0' } ``` + ## Usage diff --git a/pom.xml b/pom.xml index 775c97b..73bee55 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ buttercmsclient 1.12.0 - + buttercmsclient https://github.com/ButterCMS/buttercms-java