marketplace/bundles/plan-marshall/skills/build-maven/SKILL.md
Maven build operations — compile, test, verify with JaCoCo coverage, OpenRewrite markers, and multi-module profile management
npx skillsauth add cuioss/plan-marshall build-mavenInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Maven build execution with output parsing, module discovery, and wrapper detection.
See build-api-reference.md § Enforcement for shared rules.
All commands use python3 .plan/execute-script.py plan-marshall:build-maven:maven {command} {args}.
| Script | Purpose |
|--------|---------|
| maven.py | CLI dispatcher |
| _maven_execute.py | Execution config via factory (uses shared default_command_key_fn) |
| _maven_cmd_discover.py | Module discovery via pom.xml + Maven metadata commands |
| _maven_cmd_parse.py | Log parsing with JVM base patterns + Maven-specific extensions |
Supports: run, parse, coverage-report, check-warnings, discover, search-markers.
See build-api-reference.md for the full subcommand API and availability matrix.
--command-args takes Maven goals/options, e.g., "verify -Ppre-commit -pl my-module"no-openrewrite mode filters OpenRewrite markerstarget/site/jacoco/jacoco.xml, target/jacoco/report.xml, target/site/jacoco-aggregate/jacoco.xmldependency:tree, help:all-profiles) for richer metadata including profiles and dependency scopes — slower than static-file approaches.javarun --plan-id)When run is invoked with --plan-id <P>, every parsed issue from a failed build is auto-stored via the producer path (always-on). Without --plan-id, the build parses and formats only (no finding storage). The maven-specific issue→finding-type routing is:
| Parsed category (Issue) | Finding type |
|---------------------------|--------------|
| test_failure, test_* | test-failure |
| categories containing lint or style | lint-issue |
| everything else (compilation, dependency, plugin, surefire/failsafe) | build-error |
Severity is mapped from Issue.severity (error → error, warning → warning). The finding's module carries maven, rule carries the parser category.
For the producer→store→consumer→gate flow including the producer-mismatch fidelity contract, see
ref-workflow-architecture/standards/findings-pipeline.md. This SKILL.md owns the per-tool issue→finding-type routing only.
Reads pom.xml <modules> declarations from the parent POM.
Active: false)build.maven.profiles.skip)build.maven.profiles.map.canonical)The canonical argparse surface for maven.py. The plugin-doctor analyzer (_analyze_manage_invocation.py) reads this section as source-of-truth for the manage-invocation-invalid and missing-canonical-block rules. Consuming docs xref this section by name instead of restating the command inline. See pm-plugin-development:plugin-script-architecture cross-skill-integration.md § "Script invocation in documentation".
python3 .plan/execute-script.py plan-marshall:build-maven:maven run \
--command-args COMMAND_ARGS \
[--timeout SECONDS] [--mode {actionable,structured,errors}] [--format {toon,json}] \
(--project-dir PROJECT_DIR | --plan-id PLAN_ID)
--project-dir and --plan-id are mutually exclusive.
python3 .plan/execute-script.py plan-marshall:build-maven:maven parse \
--log LOG \
[--mode {default,errors,structured,no-openrewrite}] [--format {toon,json}] \
(--project-dir PROJECT_DIR | --plan-id PLAN_ID)
python3 .plan/execute-script.py plan-marshall:build-maven:maven search-markers \
[--source-dir SOURCE_DIR] [--extensions EXTENSIONS] [--format {toon,json}]
python3 .plan/execute-script.py plan-marshall:build-maven:maven coverage-report \
[--project-path PROJECT_PATH] [--report-path REPORT_PATH] [--threshold PERCENT] \
(--project-dir PROJECT_DIR | --plan-id PLAN_ID)
python3 .plan/execute-script.py plan-marshall:build-maven:maven check-warnings \
[--warnings WARNINGS] [--acceptable-warnings ACCEPTABLE_WARNINGS] \
(--project-dir PROJECT_DIR | --plan-id PLAN_ID)
python3 .plan/execute-script.py plan-marshall:build-maven:maven discover \
[--root ROOT] [--format {toon,json}]
python3 .plan/execute-script.py plan-marshall:build-maven:maven run-config-key \
--command-args COMMAND_ARGS [--format {toon,json}]
build-api-reference.md — Shared subcommand API, error categories, issue routing, wrapper detectionbuild-execution.md — Execution contract and lifecyclestandards/maven-impl.md — Maven-specific execution and configuration detailspm-dev-java:java-maintenance/standards/pom-maintenance.md — POM structure standardstools
Plan-marshall-domain implementor of the ext-self-review-{domain} extension point. Surfaces deterministic candidates (regexes, user-facing strings, markdown sections, symmetric-pair functions, flag-guard pairs, contract sources, schema-bearing files) for pre-submission structural self-review.
development
The single shared contract every untrusted-external-content ingestion surface loads — reader/orchestrator/writer isolation, the deterministic validator script as the containment boundary, and the output-schema discipline for candidate structs parsed from web pages, GitHub issue/PR/comment bodies, and Sonar issue messages
development
Domain-invariant recipe for deliberate wide-scope simplification campaigns across a scope x thoroughness cell, with a T4+ relation-graph pre-deliverable
testing
A test skill for README generation