xiaohongshu
xiaohongshu
manage-maven-profiles
Maven build profile classification and user workflow for unmatched profiles
Full skill instructions
Classify Maven build profiles that weren't auto-matched during discovery.
This skill is invoked by analyze-project-architecture when:
build_systems includes maven)Do not use directly - invoked conditionally from architecture analysis workflow.
Maven profiles enable optional build features. Extension API classifies profiles during discovery:
| Classification | Meaning |
|---|---|
Canonical (e.g., coverage) | Generates build command |
NO-MATCH-FOUND | No command generated |
Key Insight: Most NO-MATCH-FOUND profiles are correctly unmatched:
apache-release → Release process, not a build commandskip-unit-tests → Test skipping, not a positive commanduse-apache-snapshots → Repository config, not a commandpython3 .plan/execute-script.py plan-marshall:analyze-project-architecture:architecture modules
Output (TOON):
modules[N]:
- module-a
- module-b
- module-c
For each module in the list:
python3 .plan/execute-script.py plan-marshall:analyze-project-architecture:architecture \
derived-module --name {module-name}
Parse the TOON output:
build_systems contains mavenmetadata.profiles for entries with canonical: NO-MATCH-FOUNDCollect all NO-MATCH-FOUND profiles into a deduplicated set:
unmatched_profiles = {profile-id-1, profile-id-2, ...}
Note: Same profile ID may appear in multiple modules. Only ask once per unique profile ID.
If set is empty → Exit, nothing to do.
For each NO-MATCH-FOUND profile:
AskUserQuestion:
question: "Maven profile '{profile-id}' is unmatched. What should it do?"
header: "Profile"
options:
- label: "Ignore"
description: "Leave as NO-MATCH-FOUND, no command generated"
- label: "Skip"
description: "Add to skip list, exclude from all processing"
- label: "Map to canonical"
description: "Map to integration-tests, coverage, benchmark, or quality-gate"
multiSelect: false
| Choice | Action | Command |
|---|---|---|
| Ignore | Leave as-is | None |
| Skip | Add to skip list | See below |
| Map | Add mapping | See below |
Skip - Add to skip list:
# Get current value first
python3 .plan/execute-script.py plan-marshall:manage-plan-marshall-config:plan-marshall-config ext-defaults get \
--key build.maven.profiles.skip
# Append new profile (comma-separated)
python3 .plan/execute-script.py plan-marshall:manage-plan-marshall-config:plan-marshall-config ext-defaults set \
--key build.maven.profiles.skip --value "{existing},{profile-id}"
Map - Add canonical mapping:
# Get current mappings first
python3 .plan/execute-script.py plan-marshall:manage-plan-marshall-config:plan-marshall-config ext-defaults get \
--key build.maven.profiles.map.canonical
# Append new mapping (comma-separated profile:canonical pairs)
python3 .plan/execute-script.py plan-marshall:manage-plan-marshall-config:plan-marshall-config ext-defaults set \
--key build.maven.profiles.map.canonical --value "{existing},{profile-id}:{canonical}"
After any configuration change:
python3 .plan/execute-script.py plan-marshall:analyze-project-architecture:architecture discover --force
| Canonical | Description | Example Profile IDs |
|---|---|---|
integration-tests | Integration/E2E tests | it, e2e, local-integration-tests |
coverage | Code coverage | jacoco, istanbul |
benchmark | Benchmarks | jmh, perf, stress |
quality-gate | Quality checks | pre-commit, lint, checkstyle |
skip | Exclude from command generation | Internal profiles |
When multiple profiles map to the same canonical:
all_profilesUser override: Add unwanted profiles to skip list.
Configuration stored in marshal.json under extension_defaults:
{
"extension_defaults": {
"build.maven.profiles.skip": "itest,native",
"build.maven.profiles.map.canonical": "local-integration-tests:integration-tests,perf:benchmark"
}
}
Key Formats:
build.maven.profiles.skip - Comma-separated profile IDs to excludebuild.maven.profiles.map.canonical - Comma-separated profile:canonical pairsSkip list and profile mappings are read during architecture discovery to classify profiles.
| Document | Purpose |
|---|---|
| maven-impl.md | Maven profile pipeline implementation |
| canonical-commands.md | Command vocabulary |
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience