From java
Look up Java dependency coordinates and current releases from Maven Central, verify artifact versions without hardcoding stale numbers, and emit the smallest correct Maven or Gradle install snippet. Use when the user asks to find the latest Maven dependency version, look up a Java artifact coordinate, check Maven Central for the current release, or needs guidance on version-neutral dependency lookup for Java projects.
How this skill is triggered — by the user, by Claude, or both
Slash command
/java:java-dependency-versioningThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Look up Java dependency coordinates and current releases without hardcoding stale version numbers into durable guidance. The common case is confirming `groupId`, `artifactId`, and the current version from Maven Central, then emitting the smallest Maven or Gradle snippet that fits the project.
Look up Java dependency coordinates and current releases without hardcoding stale version numbers into durable guidance. The common case is confirming groupId, artifactId, and the current version from Maven Central, then emitting the smallest Maven or Gradle snippet that fits the project.
groupId and artifactId before recommending a release.latestVersion as a candidate that still needs coordinate and artifact-type validation.groupId and artifactId before discussing versions.curl.response.docs[0].latestVersion as a candidate value, then confirm the coordinate and artifact type before writing a dependency snippet.Start with one concrete Maven Central check:
curl -fsSL "https://search.maven.org/solrsearch/select?q=g:%22org.awaitility%22+AND+a:%22awaitility%22&rows=1&wt=json"
Use when: you need to verify the current version of a known artifact without trusting memory.
curl -fsSL "https://search.maven.org/solrsearch/select?q=g:%22<groupId>%22+AND+a:%22<artifactId>%22&rows=1&wt=json"
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>${verifiedVersion}</version>
<scope>test</scope>
</dependency>
testImplementation "org.awaitility:awaitility:${verifiedVersion}"
testImplementation("org.awaitility:awaitility:${verifiedVersion}")
gradle/libs.versions.toml:
[versions]
awaitility = "${verifiedVersion}"
[libraries]
awaitility = { module = "org.awaitility:awaitility", version.ref = "awaitility" }
Gradle Groovy DSL usage:
dependencies {
testImplementation libs.awaitility
}
Gradle Kotlin DSL usage:
dependencies {
testImplementation(libs.awaitility)
}
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bom</artifactId>
<version>${verifiedVersion}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
implementation(platform("io.quarkus:quarkus-bom:${verifiedVersion}"))
# 1. response.numFound != 0
# 2. response.docs[0].g == expected groupId
# 3. response.docs[0].a == expected artifactId
# 4. response.docs[0].latestVersion treated as candidate, not final answer
# 5. result shape still matches the intended library, plugin, or BOM kind
latestVersion looks suspiciouscurl -fsSL "https://search.maven.org/solrsearch/select?q=g:%22<groupId>%22+AND+a:%22<artifactId>%22&core=gav&rows=20&wt=json&sort=v%20desc"
groupId and artifactId.latestVersion sorts unexpectedly (e.g., alpha after release), switch to the safer core=gav pattern with explicit sort.Return:
groupId:artifactId:version coordinate.curl command used for verification so the result is reproducible.| If the blocker is... | Open... |
|---|---|
| Maven Central request shape variants, response field details, paginated search, BOM/plugin lookup patterns, or installation notes by artifact kind | maven-central.md |
latestVersion as if it always means most recently released.npx claudepluginhub ririnto/sinon --plugin javaGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.