Skip to content

chore(deps): upgrade dependencies and move gpg signing to release profile#5

Merged
marevol merged 2 commits into
mainfrom
chore/upgrade-dependencies
Apr 25, 2026
Merged

chore(deps): upgrade dependencies and move gpg signing to release profile#5
marevol merged 2 commits into
mainfrom
chore/upgrade-dependencies

Conversation

@marevol

@marevol marevol commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Refresh build dependencies and Maven plugins to current versions, and move the GPG signing plugin into a dedicated release profile so non-release builds no longer require a signing key.

Changes Made

  • Library upgrades in core/pom.xml:
    • org.apache.santuario:xmlsec 4.0.1 → 4.0.4
    • commons-codec:commons-codec 1.16.0 → 1.22.0
    • com.azure:azure-security-keyvault-keys 4.7.3 → 4.10.6
  • Property/dependency upgrades in pom.xml:
    • corelib 0.5.5 → 0.7.1
    • commons-text 1.11.0 → 1.15.0
    • mockito-core 5.6.0 → 5.23.0
  • Maven plugin upgrades in pom.xml:
    • maven-compiler-plugin 3.11.0 → 3.15.0
    • maven-javadoc-plugin 3.6.0 → 3.12.0
    • maven-jar-plugin 3.3.0 → 3.5.0
    • maven-surefire-plugin 2.22.2 → 3.5.5
    • jacoco-maven-plugin 0.8.10 → 0.8.14
    • central-publishing-maven-plugin 0.7.0 → 0.10.0
  • Build configuration:
    • Removed always-on maven-gpg-plugin execution
    • Added a release profile (activated via -Prelease) that runs maven-gpg-plugin 3.2.8 with <bestPractices>true</bestPractices>

Testing

  • CI runs mvn -B package on Java 17 / Ubuntu and should validate the upgraded dependencies and plugins.
  • Local verification (recommended): mvn clean package for non-release builds and mvn -Prelease clean verify (with a configured GPG key) for the release path.

Breaking Changes

  • Releases now require explicitly activating the release profile (-Prelease) for artifacts to be GPG-signed. Standard development builds no longer require a GPG key.

Additional Notes

  • maven-surefire-plugin jumps from 2.x to 3.x; please double-check the test run output in CI for any behavioral differences.
  • All upgrades are point/minor version bumps within their respective major lines except commons-codec (1.16 → 1.22) and corelib (0.5.5 → 0.7.1) — please skim release notes if anything looks unexpected.

marevol added 2 commits April 25, 2026 14:55
…file

- Bump xmlsec 4.0.1 -> 4.0.4
- Bump commons-codec 1.16.0 -> 1.22.0
- Bump azure-security-keyvault-keys 4.7.3 -> 4.10.6
- Bump corelib 0.5.5 -> 0.7.1
- Bump commons-text 1.11.0 -> 1.15.0
- Bump mockito-core 5.6.0 -> 5.23.0
- Bump maven-compiler-plugin 3.11.0 -> 3.15.0
- Bump maven-javadoc-plugin 3.6.0 -> 3.12.0
- Bump maven-jar-plugin 3.3.0 -> 3.5.0
- Bump maven-surefire-plugin 2.22.2 -> 3.5.5
- Bump jacoco-maven-plugin 0.8.10 -> 0.8.14
- Bump central-publishing-maven-plugin 0.7.0 -> 0.10.0
- Move maven-gpg-plugin into a 'release' profile and enable bestPractices
corelib 0.7.0+ is compiled for Java 21 (class file 65), which breaks the
Java 17 build (expects 61). 0.6.0 is the latest release still targeting
Java 17.

Also limit the workflow to pull_request and workflow_dispatch so CI no
longer runs twice on push + PR for the same commit.
@marevol marevol merged commit 52f9a3e into main Apr 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant