# java-maven-gradle

java-maven-gradle configures Maven and Gradle builds with BOM dependencies, Kotlin DSL version catalogs, and GitHub Actions CI pipelines.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 293 installs · ★ 42 repo stars
- Author: pluginagentmarketplace
- License: LicenseRef-Proprietary · policy=link-only · description only; the file stays with the author
- Source: https://github.com/pluginagentmarketplace/custom-plugin-java/tree/HEAD/skills/java-maven-gradle/SKILL.md
- Updated: 2026-01-05
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/java-maven-gradle

## What it does

The skill provides blueprints and instructions for structuring Java build files. It guides the model through writing `pom.xml` hierarchies with BOM imports, enforcing build rules, and splitting code into multi-module architectures.

The skill handles `build.gradle.kts` files. It also centralises dependencies inside `libs.versions.toml` catalogs and creates GitHub Actions workflows running Temurin Java 21 with active caching.

Execution depends on access to `Read`, `Write`, `Bash`, `Glob`, and `Grep`. Denying shell execution stops the agent from diagnosing build trees through console commands.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-maven-gradle -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/java-maven-gradle/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/java-maven-gradle/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-maven-gradle -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/java-maven-gradle/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-maven-gradle -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/java-maven-gradle/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install pluginagentmarketplace/custom-plugin-java skills/java-maven-gradle
```

2. **Manually: put the files in place**
- File: `.github/skills/java-maven-gradle/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-maven-gradle -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/pluginagentmarketplace/custom-plugin-java --path skills/java-maven-gradle
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/java-maven-gradle/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-maven-gradle -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/pluginagentmarketplace/custom-plugin-java/tree/HEAD/skills/java-maven-gradle/SKILL.md

## When to use it
- manage transitive dependency versions using Maven BOMs
- migrate build configurations to Gradle Kotlin DSL and Version Catalogs
- generate GitHub Actions workflows with dependency cache
- diagnose version conflicts and memory issues during builds

## Example prompts
- Set up a multi-module Maven project using Java 21 and Spring Boot dependencies
- Extract dependencies into a libs.versions.toml catalog for Gradle
- Add a GitHub Actions workflow to build and test our Gradle repository

## Similar
- [gradle](https://affpapa.org/en/nevibecode/rules/gradle.md) — rule · ★ 3589 repo stars
- [110-java-maven-best-practices](https://affpapa.org/en/nevibecode/skills/110-java-maven-best-practices.md) — skill · 512 installs
- [114-java-maven-search](https://affpapa.org/en/nevibecode/skills/114-java-maven-search.md) — skill · 337 installs
- [Gradle Build taste](https://affpapa.org/en/nevibecode/prompts/gradle-build-taste.md) — prompt · ★ 178201 repo stars
- [java-development](https://affpapa.org/en/nevibecode/skills/java-development.md) — skill · 3 installs
- [java-mcp-server-generator](https://affpapa.org/en/nevibecode/skills/java-mcp-server-generator.md) — skill · 8800 installs

From the same set: [pluginagentmarketplace/custom-plugin-java](https://affpapa.org/en/nevibecode/by/pluginagentmarketplace/custom-plugin-java.md) — 12 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
