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 + testsp2— Eclipse P2/Tycho buildfatjar— 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 -Pfatjar -BThis runs compile, checkstyle, tests and building of the fatjar together.
For p2 profile, run:
mvn clean verify -Pp2 -BFor copyright header check, run:
npx @eclipse-glsp/cli checkHeaders . -f java -e "**/src-gen/**" -aThis checks that all Java source files have the correct copyright header, excluding generated sources. Any missing or incorrect headers will be fixed automatically.
Report results: summarize pass/fail for each phase (compile, checkstyle, tests). If any step fails, show the relevant error output.