Skip to content

Latest commit

 

History

History
62 lines (44 loc) · 1.33 KB

File metadata and controls

62 lines (44 loc) · 1.33 KB

Contributing

Thanks for taking the time to contribute.

Before You Start

  • Use Java 21 and Maven.
  • Make sure you can run a local compile and test pass.
  • If your change affects runtime behavior, test it in a Velocity environment.

Setup

git clone <repo-url>
cd ServerFeatures
mvn -q -DskipTests compile

Contribution Workflow

  1. Create a branch from main.
  2. Keep the change focused on one clear problem.
  3. Add or update tests with the code change.
  4. Run local checks before opening a PR.
  5. Update docs when operator behavior or configuration expectations change.

Local Validation

Minimum checks:

mvn -q -DskipTests compile
mvn -q test

Recommended before merge:

mvn -B verify
mvn -B -DskipTests checkstyle:check

Pull Request Expectations

  • Use a clear title and summary.
  • Explain what changed and why.
  • Call out configuration or migration impact.
  • Link related issues where relevant.
  • Keep commits readable and review-friendly.

Coding Principles

  • Prefer clear, explicit code over clever shortcuts.
  • Keep feature boundaries clean.
  • Handle malformed input safely.
  • Avoid blocking critical paths with long-running work.
  • Log failures in a way operators can act on.

Security

Do not report vulnerabilities in public issues. Follow SECURITY.md for private reporting.