| name | dev-workflow |
|---|---|
| description | Use when branching, running CI locally, building, testing, or releasing this Maven project. |
- Setting up the repo locally or onboarding
- Matching what CI runs before opening a PR
- Cutting releases or understanding deploy steps in
pom.xml
- Remote:
https://github.com/contentstack/contentstack-marketplace-java(seepom.xml<scm>). - CI in
.github/workflows/maven.ymlruns on pushes and pull requests targetingmain: checkout, JDK 11 (Temurin),mvn -B package --file pom.xml.
- Full package (compile, test, package):
mvn -B package --file pom.xml— aligns with CI. - Tests only:
mvn test. - Coverage HTML after tests:
target/site/jacoco/index.html(JaCoCo is bound to thetestphase).
pom.xmldocuments release flow (e.g.mvn clean deploy, Central Publishing plugin, GPG signing inverify). Coordinate with maintainers before changing version or release profiles.
- Ensure
mvn -B packagepasses; note that Surefire may be configured withtestFailureIgnore— still fix failing tests before merging when possible.
- ../testing/SKILL.md — test env and credentials
- ../java/SKILL.md — compiler and layout
- Official: Maven, GitHub Actions Java + Maven