check_version_exists
Verify whether a specific Maven artifact version exists in declared repositories, falling back to Maven Central, Google Maven, or Gradle Plugin Portal when none are declared.
Instructions
Check if a specific version of a Maven artifact exists in any repository resolved for the project: declared repositories first, then the public Maven Central / Google Maven / Gradle Plugin Portal fallback when the project declares none (see projectPath).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | Yes | Maven group ID | |
| version | Yes | Version to check for existence | |
| artifactId | Yes | Maven artifact ID | |
| projectPath | No | Project root used to resolve declared repositories. Defaults to the current working directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exists | Yes | ||
| groupId | Yes | ||
| version | Yes | ||
| stability | No | ||
| artifactId | Yes | ||
| repository | No | ||
| relocatedTo | No | ||
| resolvedFrom | No |