Open-Source Wikis

/

Spring Framework

/

How to contribute

spring-projects/spring-framework

How to contribute

The Spring Framework is open source and welcomes external contributions. Most production code in the repository is written by a small core team, but the project routinely accepts community fixes, polish, and small features.

Contribution checklist

For any non-trivial change, expect the workflow to look roughly like:

  1. Discuss first when in doubt — for non-trivial features, search issues and Stack Overflow for prior conversations. The team prefers one issue per topic.
  2. Branch from main — pull requests target main. Backports to maintenance branches (6.2.x, 7.0.x) are decided by the team after merge.
  3. Sign off your commits — every commit must include a Signed-off-by: trailer (DCO). See CONTRIBUTING.md for details.
  4. Keep commits focused — squash unrelated edits; split unrelated changes into separate PRs.
  5. Write tests — new code without test coverage is rarely accepted.
  6. Follow the code style — see patterns and conventions.
  7. Run ./gradlew check — locally before pushing. CI runs across multiple JDKs.
  8. Reference issues in commit messages — use Closes gh-12345 for the subject's trailer line.

What's in this section

Where to find help

Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.

How to contribute – Spring Framework wiki | Factory