compile_project
Compile Java projects with Maven or Gradle, returning structured error and warning details to simplify build debugging.
Instructions
Compile a Java project using Maven or Gradle. Returns structured error/warning information.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clean | No | Run clean before compile (default: false) | |
| module | No | Module(s) to include/exclude (e.g., "core,api" or "!slow-tests" or "core,!tests") | |
| alsoMake | No | Build required dependencies with -am flag (default: true, Maven only) | |
| javaVersion | No | Java version to use (e.g., "17.0.16-amzn", "21.0.8-tem") | |
| projectPath | Yes | Path to the project root directory |