This page is for contributors who want a fast, reliable local workflow for FairPerks.
mvn -q -DskipTests compileUseful commands during development:
mvn -q test
mvn -B -DskipTests checkstyle:check
mvn -q test jacoco:report
mvn -B verify
mvn -B package- Create a branch for one focused change.
- Implement the change with tests in the same pass.
- Run local validation (
testand Checkstyle at minimum). - Update docs when behavior or operator workflow changes.
- Open a PR with context, impact, and migration notes (if any).
- Keep listener logic concise and behavior-driven.
- Push repeated logic into utility helpers instead of copy/paste between listeners.
- Prefer predictable, explicit checks over broad implicit behavior.
- Validate hook and event state defensively to avoid runtime null issues.
- Keep operator-facing messaging clear and actionable.
- Build succeeds locally.
- Relevant tests pass.
- New behavior is covered by tests.
- Checkstyle passes.
- Config or operational impact is documented.