project_register
Register a Maven project by adding its pom.xml path and settings to the Java Project Runner configuration for build and run management.
Instructions
Add a project to ~/.java-project-runner/projects.json (path must contain pom.xml)
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": {
"id": "<id>",
"name": "<name>",
"path": "<path>",
"jarPath": "<jarPath>",
"enabled": "<enabled>"
},
"name": "project_register"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| path | Yes | ||
| enabled | Yes | ||
| jarPath | Yes | ||
| jvmArgs | No | ||
| javaHome | No | ||
| profiles | No | ||
| buildGoal | No | ||
| skipTests | No | ||
| defaultProfile | No | ||
| healthCheckUrl | No | ||
| stopTimeoutSeconds | No |