evo-maven-build-diagnosis
SkillMonitoring & opsExecutes Maven builds, captures output, and parses error logs to identify root causes of build failures. Handles compilation errors, dependency resolution failures, POM configuration issues, and JDK version incompatibilities.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the evo-maven-build-diagnosis skill
What this skill tells your AI
The instructions your AI receives, as published by openlair/openskill in tasks-evolved/fix-build-google-auto/environment/skills/evo-maven-build-diagnosis/SKILL.md and read by ahel’s review.
Diagnoses Java Maven build failures by analyzing error logs and .travis.yml configuration.
Key Functions
execute_maven_build(project_dir, goals, java_home, timeout_secs, pom_file)- Run Maven build via subprocessparse_compilation_errors(maven_log)- Extract compilation errors with file/line/col/messageparse_dependency_errors(maven_log)- Extract missing dependency artifactsparse_plugin_errors(maven_log)- Extract plugin execution failuresparse_pom_errors(maven_log)- Extract POM-related errors (missing files, invalid XML)parse_version_incompatibilities(maven_log)- Extract source/target version issuesdetect_java_version_from_pom(pom_path)- Read Java version from pom.xmlclassify_build_failure(maven_log)- Classify the primary failure typeanalyze_travis_yml(travis_yml_path)- Check .travis.yml for issues like wrong file referenceswrite_diagnosis_report(report_path, analysis_results, log_analysis, travis_analysis)- Write failed_reasons.txt
Usage
import sys
sys.path.insert(0, '/app/environment/skills/evo-maven-build-diagnosis/scripts')
from utils import (
execute_maven_build, classify_build_failure, analyze_travis_yml,
write_diagnosis_report, parse_compilation_errors, parse_pom_errors
)
# Analyze build logs
with open('build.log') as f:
log = f.read()
analysis = classify_build_failure(log)
# Check .travis.yml
travis = analyze_travis_yml('.travis.yml')
# Write report
write_diagnosis_report('failed_reasons.txt', analysis, log_analysis=analysis, travis_analysis=travis)
Common Error Patterns
- POM Configuration: Missing/wrong POM file references (e.g.,
build.pom.xmlvsbuild-pom.xml) - Version Incompatibility: Source/target version no longer supported by JDK
- Dependency Resolution: Missing artifacts, tools.jar not found in JDK 9+
- Compilation: Cannot find symbol, missing imports, missing method implementations
- Plugin Execution: Failed plugin goals
Signals
- GitHub stars
- 89
- Forks
- 4
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
evo-maven-build-diagnosis- Source
- github.com/openlair/openskill