Skip to content

chore: bump spring version to 4.0.5#27

Merged
RMCampos merged 16 commits intomainfrom
chore/bump-server-version
Apr 8, 2026
Merged

chore: bump spring version to 4.0.5#27
RMCampos merged 16 commits intomainfrom
chore/bump-server-version

Conversation

@RMCampos
Copy link
Copy Markdown
Owner

@RMCampos RMCampos commented Apr 6, 2026

This pull request updates the Maven wrapper and related build tooling to improve reliability, maintainability, and ensure key dependencies are kept up to date. The changes include upgrading the Maven wrapper version, improving the robustness of the wrapper scripts, refactoring the build configuration to use version properties, and adding a script to check for outdated Maven plugin dependencies.

Key changes:

Maven Wrapper and Build Tooling Updates

  • Upgraded the Maven wrapper from version 3.3.2 to 3.3.4, and updated the Maven distribution from 3.9.7 to 3.9.14 in maven-wrapper.properties.
  • Improved the mvnw and mvnw.cmd scripts to better handle extraction of Maven distributions, especially for snapshot versions where the extracted directory name may differ from the archive filename. The scripts now robustly locate the correct Maven directory before moving it. [1] [2] [3] [4] [5]
  • Updated copyright/license URLs and wrapper version comments in mvnw and mvnw.cmd. [1] [2] [3] [4]

Build Configuration Improvements

  • Refactored pom.xml to use properties for plugin and dependency versions (e.g., failsafe.version, surefire.version, jacoco.version, checkstyle.version, springboot.version, jjwt.version), and updated plugin/dependency declarations to reference these properties. This makes version management easier and more consistent. [1] [2] [3] [4] [5] [6] [7]
  • Updated the Spring Boot parent version from 4.0.3 to 4.0.5.

Dependency Version Checking

  • Added a new script, tools/check-be-deps.sh, which checks if key Maven plugins and Spring Boot dependencies are up to date by comparing the current version in pom.xml with the latest available from Maven Central. This helps ensure the project uses the latest stable versions of important build tools.

Minor Enhancements and Fixes

  • Improved SHA256 checksum validation in mvnw for better compatibility.
  • Improved handling of Maven home directory creation and symlink resolution in mvnw.cmd for Windows environments.

These changes collectively improve build reliability, simplify dependency management, and help keep the project up to date with the latest build tooling.

@RMCampos RMCampos self-assigned this Apr 6, 2026
@RMCampos RMCampos merged commit 1c3e6a9 into main Apr 8, 2026
4 checks passed
@RMCampos RMCampos deleted the chore/bump-server-version branch April 8, 2026 13:46
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