jvm

Manage JVM project builds and tests using Gradle or Maven.

1|Updated Dec 1, 2016
One-click install
npx skills add https://github.com/aaron-vaz/dotfiles --skill jvm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jvm
Source: https://github.com/aaron-vaz/dotfiles/tree/main/opencode/.opencode/skills/jvm
Command: npx skills add https://github.com/aaron-vaz/dotfiles --skill jvm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of building, testing, and troubleshooting Java Virtual Machine (JVM) projects, particularly those using Gradle or Maven, and helps resolve common Java versioning issues.

Core Features & Use Cases

  • Build & Test Execution: Run build commands (./gradlew build, mvn clean install) and execute tests.
  • Java Version Management: Detects and sets the correct Java Development Kit (JDK) version using jabba.
  • Troubleshooting: Provides strategies for resolving build failures, dependency conflicts, and test execution problems.
  • Use Case: When a JVM project fails to build due to incompatible Java versions, this Skill can identify the required version and execute the build command with the correct JDK.

Quick Start

Use the jvm skill to build the current project using Java 21.

Frequently Asked Questions about jvm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build and test a JVM project using Gradle or Maven?

To build and test a JVM project, you can execute standard commands like `./gradlew build` or `mvn clean install` to compile source code, resolve dependencies, and run automated tests.

Why does my Java build fail due to incompatible Java version conflicts?

Java build failures from version conflicts occur when the active JDK does not match project requirements. You can resolve this by detecting the correct version and setting the specific Java environment using `jabba`.

What's the best way to troubleshoot common Maven and Gradle build errors?

Troubleshooting Maven and Gradle build errors involves identifying dependency resolution conflicts, analyzing test execution failures, and correcting formatting errors to restore the build process.

Can I set a specific JDK version for my JVM project builds?

Yes, you can set a specific JDK version for JVM project builds by using `jabba` to manage explicit Java versioning, ensuring the environment matches your project's required Java Development Kit.

How do I resolve dependency resolution and test execution problems in JVM projects?

Resolving dependency resolution and test execution problems in JVM projects requires troubleshooting strategies that target failing dependencies, analyze test failures, and correct build configurations.