compile_maven_project
Compiles a Maven project with mvn clean compile, converts errors into a readable log file, and saves it for further analysis.
Instructions
Compiles a Maven project using mvn clean compile, parses any compilation errors into a human-readable format, and writes the log file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectDir": "<projectDir>"
},
"name": "compile_maven_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logPath | No | Optional path to write the formatted compilation error log file. Defaults to logs/merged_source_errors_log.txt. | |
| projectDir | Yes | Path to the mavenized project root directory. |