install_project
Installs a Java project into the local Maven repository via Maven or Gradle. Supports multi-module builds with module selection, clean, dependency building, and test skipping.
Instructions
Install a Java project to the local Maven repository using Maven (mvn install) or Gradle (publishToMavenLocal). Supports multi-module projects with -pl flag for inclusion/exclusion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clean | No | Run clean before install (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) | |
| skipTests | No | Skip running tests during install (default: true) | |
| javaVersion | No | Java version to use (e.g., "17.0.16-amzn", "21.0.8-tem") | |
| projectPath | Yes | Path to the project root directory |