Skip to content

Refactor Maven properties and centralize Spring BOM versions#106

Merged
mercyblitz merged 3 commits intomicrosphere-projects:dev-1.xfrom
mercyblitz:dev-1.x
Mar 27, 2026
Merged

Refactor Maven properties and centralize Spring BOM versions#106
mercyblitz merged 3 commits intomicrosphere-projects:dev-1.xfrom
mercyblitz:dev-1.x

Conversation

@mercyblitz
Copy link
Copy Markdown
Contributor

This pull request updates dependency and configuration management in the project’s Maven POM files, primarily focusing on clarifying version management and improving consistency. The main changes involve moving Spring Cloud and related dependency versions into a dedicated Maven profile, updating the JUnit Jupiter version, and removing explicit Java compiler version settings.

Dependency and configuration management improvements:

  • Moved spring-boot, spring-cloud, and spring-cloud-alibaba version properties from the global properties section into a dedicated Maven profile named spring-cloud-2021, which is now active by default. This clarifies version scoping and makes the configuration more maintainable. [1] [2]
  • Updated the junit-jupiter.version property from 6.0.3 to 5.14.3 in the global properties, ensuring the correct and latest compatible version is used.

Build configuration cleanup:

  • Removed explicit maven.compiler.source and maven.compiler.target properties from microsphere-spring-cloud-openfeign/pom.xml, likely to allow these to be inherited or set elsewhere, reducing redundancy.

Delete explicit maven.compiler.source and maven.compiler.target (set to 8) from microsphere-spring-cloud-openfeign/pom.xml to rely on parent/default compiler plugin settings and reduce duplication.
Remove Spring Boot/Cloud version properties from the top-level and place them into a renamed profile (java8-16 -> spring-cloud-2021). The profile is now activeByDefault (was activated by a JDK range) and contains spring-boot.version, spring-cloud.version and spring-cloud-alibaba.version. Also update junit-jupiter.version to 5.14.3 at the top level. This centralizes Spring BOM versions in a dedicated, enabled profile and upgrades the JUnit version.
@sonarqubecloud
Copy link
Copy Markdown

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mercyblitz mercyblitz merged commit 36a0fcb into microsphere-projects:dev-1.x Mar 27, 2026
17 checks 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