| name | verify |
| description | Build, checkstyle, and test the project. Accepts an optional profile argument (m2, p2, fatjar). Defaults to m2 + fatjar. IMPORTANT - Proactively invoke this skill after completing any code changes (new features, bug fixes, refactors) before reporting completion to the user. |
Verify
Run build verification for the Eclipse GLSP server project.
Arguments
$ARGUMENTS can be one of:
m2 — plain Maven build + checkstyle + tests
p2 — Eclipse P2/Tycho build
fatjar — Maven build + fatjar packaging (example workflow)
- (empty) — defaults to fatjar
Steps
-
Determine profile from $ARGUMENTS. If empty, use fatjar.
-
For m2 profile, run in sequence:
mvn clean verify -Pm2 -B
This runs compile, checkstyle, and tests together.
-
For p2 profile, run:
mvn clean verify -Pp2 -B
-
For fatjar profile, run:
mvn clean verify -Pm2 -Pfatjar -B
-
Report results: summarize pass/fail for each phase (compile, checkstyle, tests). If any step fails, show the relevant error output.