From 52f9b5a6a465feba671ff45005485b5621947381 Mon Sep 17 00:00:00 2001 From: Simon Taylor Date: Sat, 24 May 2025 15:21:54 +0100 Subject: [PATCH 1/2] Migration from OSSRH to Central Portal --- .github/maven-settings.xml | 10 ++++----- .github/workflows/build.yml | 4 ++-- documentation/releases/release-3.1.18.md | 3 +++ pom.xml | 26 ++++++++---------------- 4 files changed, 19 insertions(+), 24 deletions(-) create mode 100644 documentation/releases/release-3.1.18.md diff --git a/.github/maven-settings.xml b/.github/maven-settings.xml index e71dc59..d26ffb9 100644 --- a/.github/maven-settings.xml +++ b/.github/maven-settings.xml @@ -5,9 +5,9 @@ - ossrh - ${env.OSSRH_USERNAME} - ${env.OSSRH_PASSWORD} + central + ${env.CENTRAL_USERNAME} + ${env.CENTRAL_PASSWORD} github.com @@ -17,13 +17,13 @@ - ossrh + central true gpg - + diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 47c8ad4..b3b64b3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -64,8 +64,8 @@ jobs: - name: Create release run: ./mvnw --settings .github/maven-settings.xml release:prepare release:perform -DskipTests -Prelease -B env: - OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} - OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} + CENTRAL_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }} + CENTRAL_PASSWORD: ${{ secrets.CENTRAL_TOKEN_PASSWORD }} GIT_HUB_USERNAME: ${{ secrets.GIT_HUB_USERNAME }} GIT_HUB_TOKEN: ${{ secrets.GIT_HUB_TOKEN }} MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} diff --git a/documentation/releases/release-3.1.18.md b/documentation/releases/release-3.1.18.md new file mode 100644 index 0000000..8aa0380 --- /dev/null +++ b/documentation/releases/release-3.1.18.md @@ -0,0 +1,3 @@ +## Dependencies + +* Aligned dependencies with [Spring Boot 3.5.0](https://github.com/spring-projects/spring-boot/releases/tag/v3.5.0) diff --git a/pom.xml b/pom.xml index 85c23ae..67a0e42 100644 --- a/pom.xml +++ b/pom.xml @@ -52,6 +52,7 @@ 3.6.0 + 0.7.0 3.6.0 12.1.1 2.5.0 @@ -65,7 +66,6 @@ 3.1.1 2.1.0 3.3.1 - 1.7.0 4.9.3.0 2.18.0 @@ -225,9 +225,9 @@ ${license-maven-plugin.version} - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus-staging-plugin.version} + org.sonatype.central + central-publishing-maven-plugin + ${central-publishing-plugin.version} @@ -618,13 +618,13 @@ - org.sonatype.plugins - nexus-staging-maven-plugin + org.sonatype.central + central-publishing-maven-plugin true - ossrh - https://oss.sonatype.org/ - true + central + true + published @@ -655,13 +655,5 @@ github https://github.com/spt-development/spt-development-test - - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - From c810122347c3cb5e5057ff5cb6fd0a89f051d8d1 Mon Sep 17 00:00:00 2001 From: Simon Taylor Date: Sat, 24 May 2025 16:05:15 +0100 Subject: [PATCH 2/2] Updated dependencies to align with Spring Boot 3.5.0 --- pom.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 67a0e42..bdfdfcd 100644 --- a/pom.xml +++ b/pom.xml @@ -40,15 +40,15 @@ 3.17.0 - 2.2 + 3.0 5.3.4 - 5.4.3 + 5.4.4 3.1.0 - 5.11.4 + 5.12.2 1.5.18 - 5.14.2 + 5.17.0 2.0.17 - 6.2.6 + 6.2.7 3.6.0 @@ -70,7 +70,7 @@ 2.18.0 - 10.23.1 + 10.24.0 1.5.0 1.14.0 7.13.0