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..0a75e786 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,22 @@ 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.1 +* Bump org.cicirello:core from 2.7.0 to 2.7.1 + +### 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..54a42886 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 @@ -221,12 +208,12 @@ org.cicirello rho-mu - 4.2.0 + 4.2.1 org.cicirello core - 2.7.0 + 2.7.1 @@ -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.]]>