From 620b20d2b6a82afe956fe9a22edd501634d6397a Mon Sep 17 00:00:00 2001 From: "Vincent A. Cicirello" Date: Thu, 15 May 2025 16:49:54 -0400 Subject: [PATCH 1/3] Maven Central migration --- .github/workflows/maven-publish.yml | 6 ++-- CHANGELOG.md | 12 ++++++-- pom.xml | 43 ++++++++++------------------- 3 files changed, 28 insertions(+), 33 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 8a7fbe41..c6038e99 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -19,12 +19,12 @@ jobs: id: get_version run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_OUTPUT - - name: Set up JDK 17 for deploy to OSSRH + - name: Set up JDK 17 for deploy to Central uses: actions/setup-java@v4 with: distribution: 'adopt' java-version: '17' - server-id: ossrh + server-id: central server-username: MAVEN_USERNAME server-password: MAVEN_CENTRAL_TOKEN gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} @@ -37,7 +37,7 @@ jobs: run: mvn versions:set -DnewVersion=${{ steps.get_version.outputs.VERSION }} - name: Publish to Apache Maven Central - run: mvn deploy -PossrhDeploy + run: mvn deploy -PcentralDeploy env: MAVEN_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }} MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d99250f..eb52a964 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] - 2024-08-28 +## [Unreleased] - 2025-05-15 ### Added @@ -17,13 +17,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed ### Dependencies -* Bump org.cicirello:rho-mu from 4.1.0 to 4.2.0 ### CI/CD ### Other +## [6.0.1] - 2025-05-15 + +### Dependencies +* Bump org.cicirello:rho-mu from 4.1.0 to 4.2.0 + +### Other +* Migrated deployment from the old OSSRH to the new Central. + + ## [6.0.0] - 2024-07-25 ### Added diff --git a/pom.xml b/pom.xml index 35f0313e..aaf7f4a1 100644 --- a/pom.xml +++ b/pom.xml @@ -30,7 +30,7 @@ repo JavaPermutationTools (JPT): A library for computation on permutations and sequences. - Copyright (C) 2005-2024 Vincent A. Cicirello. + Copyright (C) 2005-2025 Vincent A. Cicirello. JavaPermutationTools is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -65,32 +65,19 @@ - ossrhDeploy - - - ossrh - Central Repository OSSRH - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - ossrh - Central Repository OSSRH - https://oss.sonatype.org/content/repositories/snapshots - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.7.0 - true - - ossrh - https://oss.sonatype.org/ - true - - + centralDeploy + + + + org.sonatype.central + central-publishing-maven-plugin + 0.7.0 + true + + central + true + + org.apache.maven.plugins maven-gpg-plugin @@ -283,7 +270,7 @@ https://rho-mu.cicirello.org/api https://core.cicirello.org/api - Vincent A. Cicirello. All rights reserved.]]> + Vincent A. Cicirello. All rights reserved.]]> From 8450b8f653439aa76504b0aa68e0bf4344af0137 Mon Sep 17 00:00:00 2001 From: "Vincent A. Cicirello" Date: Thu, 15 May 2025 16:50:43 -0400 Subject: [PATCH 2/3] Bump org.cicirello:core to 2.7.1 --- CHANGELOG.md | 1 + pom.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb52a964..ce8935b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Dependencies * Bump org.cicirello:rho-mu from 4.1.0 to 4.2.0 +* Bump org.cicirello:core from 2.7.0 to 2.7.1 ### Other * Migrated deployment from the old OSSRH to the new Central. diff --git a/pom.xml b/pom.xml index aaf7f4a1..f5d2fc0d 100644 --- a/pom.xml +++ b/pom.xml @@ -213,7 +213,7 @@ org.cicirello core - 2.7.0 + 2.7.1 From 8a9625d28d575376b54fd76d1f72ab5bcdd59f38 Mon Sep 17 00:00:00 2001 From: "Vincent A. Cicirello" Date: Thu, 15 May 2025 16:57:26 -0400 Subject: [PATCH 3/3] Bump org.cicirello:rho-mu to 4.2.1 --- CHANGELOG.md | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce8935b1..0a75e786 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,7 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [6.0.1] - 2025-05-15 ### Dependencies -* Bump org.cicirello:rho-mu from 4.1.0 to 4.2.0 +* Bump org.cicirello:rho-mu from 4.1.0 to 4.2.1 * Bump org.cicirello:core from 2.7.0 to 2.7.1 ### Other diff --git a/pom.xml b/pom.xml index f5d2fc0d..54a42886 100644 --- a/pom.xml +++ b/pom.xml @@ -208,7 +208,7 @@ org.cicirello rho-mu - 4.2.0 + 4.2.1 org.cicirello