| name | dev-workflow |
|---|---|
| description | Use when branching, building with Maven, CI, or release/publish workflows for this repo. |
- You need the canonical build/test commands or CI expectations.
- You are opening a PR and need branch rules (
mastervsstaging). - You are changing
pom.xml, plugins, or publishing configuration.
- Default collaboration flow is documented in .github/workflows/check-branch.yml: PRs targeting
masterfrom branches other thanstagingmay be blocked; prefer the documented Contentstack branching policy for your team.
- Compile:
mvn clean compile - Tests:
mvn clean test -DskipTests=false(Surefire is configured withskipTeststrue by default inpom.xml; always pass-DskipTests=falsefor real test runs unless you intentionally skip.) - Package:
mvn clean package— note tests may be skipped unless you add-DskipTests=false. - Coverage report: after tests with skip disabled,
mvn jacoco:reportand opentarget/site/jacoco/index.html.
- On push, .github/workflows/coverage.yml uses Java 11 on Ubuntu and runs Maven + JaCoCo. Align local verification with those steps when debugging CI-only failures.
- Publishing and security scans live under .github/workflows/; read the relevant workflow before changing release or scan behavior.
- Run tests locally with
-DskipTests=falsebefore pushing. - Update changelog.md or version metadata when your team’s release process requires it.