[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C1W303Z347XEGHMZ128D4Q":3,"skill-same:01M7C1W303Z347XEGHMZ128D4Q":43},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7C1W303Z347XEGHMZ128D4Q","maven-plugin-configuration",null,"linyouxue\u002Fskill-repair-benchmark","linyouxue","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F216151464?v=4","01M7BJEVCXKD74KH6FG9CBVSQB","林宥学","01M7BJEVE02NP217V93BKZFC0J",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FSkillrevise\u002Ftasks\u002Ffix-build-google-auto\u002Frepaired_run\u002Finputs\u002Fskills\u002Fmaven-plugin-configuration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# Maven Build Failure Triage: Plugin vs Dependency vs JDK Artifacts\n\n## Purpose\nProvide a reusable workflow to diagnose and fix Maven build failures where the apparent symptom mentions plugins but the root cause is often dependency declaration, inherited POM configuration, or JDK-specific artifacts (for example, tools.jar on JDK 9+). The procedure prioritizes reproducing the repo entrypoint, locating the exact origin of the failing artifact\u002Fconfig, and applying the smallest safe POM change.\n\n## When to Use\nUse when a Maven build fails in CI or locally and the error mentions missing artifacts, system-scoped JARs, plugin execution failures, or JDK-dependent paths (notably references to tools.jar, com.sun:* coordinates, or a hardcoded JDK lib directory). Do not use as a general plugin configuration reference when there is no failing build signal.\n\n## Procedure\n- 1) Confirm the execution context before edits\n- Discover how the repo expects the build to run:\n- Prefer CI config (for example, .travis.yml, GitHub Actions) or documented commands.\n- Identify any non-default POM file used (-f ...) and active profiles.\n- Check toolchain basics without assuming versions:\n- Record java -version and mvn -version (or the wrapper command if present).\n- Checkpoint: You can state the exact build command you will run and the Java\u002FMaven versions detected.\n- 2) Reproduce the failure and capture the first failure signal (execution anchor)\n- Run the repo-specified Maven command with minimal noise changes (avoid adding new flags unless needed to reproduce).\n- Capture the first error that causes failure (not downstream cascades).\n- If the failure mentions a missing artifact or path (example: com.sun:tools and ...\u002Flib\u002Ftools.jar), extract:\n- groupId:artifactId:packaging:version\n- any referenced filesystem path (systemPath) and which JDK it points to\n- Checkpoint: You have a single, precise failure signature to trace.\n- 3) Trace where the failing artifact\u002Fconfig is introduced (execution anchor)\n- Ground in the actual project structure:\n- Locate the relevant pom.xml files (root and modules) and any parent POM references.\n- Identify the introducer using Maven diagnostics (choose what exists in the environment):\n- Preferred: generate effective POM for the failing module (help:effective-pom) and search it for the failing coordinates (groupId\u002FartifactId).\n- Also useful: dependency tree filtered to the failing coordinates (dependency:tree with includes\u002Ffiltering).\n- Decide the origin category:\n- Direct dependency in a module POM\n- Inherited from parent or dependencyManagement\n- Transitive dependency pulled by another library\n- Plugin dependency or plugin configuration (less common for tools.jar issues)\n- Checkpoint: You can point to the exact POM location (file and section) that declares or forces the failing artifact.\n- 4) Apply the smallest fix that removes the failing requirement, then re-check (execution anchor + bounded fallback)\n- If the failure is tools.jar \u002F com.sun:tools on JDK 9+:\n- Prefer removing the requirement rather than inventing a tools.jar path.\n- Choose the smallest applicable remedy based on origin:\n- If transitive: add an exclusion on the dependency that pulls it in.\n- If direct\u002Fsystem-scoped: remove it, or replace\u002Fupgrade the library that requires it to a version compatible with JDK 9+.\n- If needed only for specific JDKs: gate the dependency with a profile activated only on older JDKs (do not assume JDK numbers; use the detected runtime).\n- Re-run the smallest Maven step that previously failed (for example, the same phase\u002Fgoal up to the failure point).\n- Bounded fallback branch (fallback-after-tool-failure):\n- If the same missing tools.jar\u002Fcom.sun:tools error repeats after your change, stop editing plugins and:\n- Re-run effective POM\u002Fdependency tree and search again for any remaining declaration sources (multiple modules can introduce it).\n- Apply exactly one more minimal change (next introducer), then re-run the minimal failing check.\n- If it still repeats, escalate to method-level: propose a targeted upgrade\u002Freplace of the introducing library or a JDK-conditional profile strategy, and do not continue random version pinning.\n\n## Constraints \u002F Pitfalls\n- Do not hard-code Java release levels, plugin versions, or filesystem paths unless they are already present in the repo and verified by discovery; prefer aligning with existing POM constraints and only changing what the traced origin requires.\n- Do not respond to a dependency\u002Fpath resolution error by only tuning plugins (surefire\u002Fcompiler\u002Fenforcer) without first proving via effective POM\u002Fdependency tree where the failing coordinate is introduced; otherwise you risk repeated failures and irrelevant churn.",{},"main","cdcb6d230f3b15c3c33f8a2bdd16439f43602cbe","evaluation\u002Fresults\u002FSkillrevise\u002Ftasks\u002Ffix-build-google-auto\u002Frepaired_run\u002Finputs\u002Fskills\u002Fmaven-plugin-configuration",1,"https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark","https:\u002F\u002Fgithub.com\u002Flinyouxue","2026-11-14 20:28:35",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add linyouxue\u002Fskill-repair-benchmark --skill maven-plugin-configuration",{"tool":35,"command":36},"bunx","bunx skills add linyouxue\u002Fskill-repair-benchmark --skill maven-plugin-configuration",{"tool":38,"command":39},"pnpm","pnpm dlx skills add linyouxue\u002Fskill-repair-benchmark --skill maven-plugin-configuration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FSkillrevise\u002Ftasks\u002Ffix-build-google-auto\u002Frepaired_run\u002Finputs\u002Fskills\u002Fmaven-plugin-configuration\u002FSKILL.md",true,[],[44,51,58,65,70,75],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M7E1HGVRY73NBJ022CJG13X6","video-frame-extraction","Extract frames from video files and save them as images using OpenCV","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M7E1HAG5R7CJ9C8NYJS771MB","openai-vision","Analyze images and multi-frame sequences using OpenAI GPT vision models","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7E1H7DADKB6QBWKC2KQ63SZ","image-ocr","Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[],{"skillNo":66,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M7E1H0WBNT43TENGQY7AVZHD","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":71,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M7E1GTC7D4N4Q2EF03875J9E","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":76,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7E1GQ92CWFMGH53KSSE4WER","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[]]