ccw-maven-setup

Installs Java 25 and configures a local Maven proxy for Claude Code Web sessions.

2|Updated Aug 25, 2025
One-click install
npx skills add https://github.com/frcusaca/foolish --skill ccw-maven-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ccw-maven-setup
Source: https://github.com/frcusaca/foolish/tree/main/support/shared/claude/skills/ccw-maven-setup
Command: npx skills add https://github.com/frcusaca/foolish --skill ccw-maven-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sdkman, curl, bash, java.

What problem does it solve?

This Skill automates the preparation of a Claude Code Web Maven environment by installing Java 25 and configuring a local Maven proxy, ensuring builds run smoothly in CCW.

Core Features & Use Cases

  • Installs Java 25 via SDKMAN (Temurin) and selects a compatible JDK for the session.
  • Starts and configures a local Maven authentication proxy to handle upstream credentials transparently.
  • Updates ~/.m2/settings.xml with proxy details and ensures settings persist for the session.
  • Automatically runs before Maven operations in Claude Code Web, and is safe to re-run (idempotent).

Quick Start

To set up the environment manually, run: bash support/shared/claude/skills/ccw-maven-setup/prep_if_ccw.sh

Frequently Asked Questions about ccw-maven-setup

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

FAQPage Schema
How do I set up a Maven environment with Java 25 in Claude Code Web?

To set up a Maven environment with Java 25 in Claude Code Web, you need to install the JDK via SDKMAN and configure a local Maven proxy for repository access. This ensures your builds run reliably.

Why does my Maven build fail in Claude Code Web sessions?

Maven builds fail in Claude Code Web when the correct Java version is missing or repository credentials are not proxied. Configuring Java 25 and a local Maven authentication proxy resolves these upstream access issues.

How do I configure a local Maven proxy for upstream repository credentials?

Configuring a local Maven proxy involves starting the proxy service and updating your ~/.m2/settings.xml file with the proxy details. This transparently handles upstream repository credentials during your Maven builds.

Do I need SDKMAN to install Java 25 for Maven builds?

Yes, SDKMAN is used to install the Java 25 Temurin JDK and select it for your current session. This ensures the Maven environment uses the correct Java version for reliable builds.

Is the Maven environment setup idempotent if I run it multiple times?

Yes, the Maven environment setup is completely safe to re-run because it is idempotent. It automatically detects the Claude Code Web context and updates settings without causing conflicts on subsequent executions.

What's the best way to automate Maven settings updates for proxied repositories?

The best way to automate Maven settings updates is by running a preparation script that starts a local proxy and modifies ~/.m2/settings.xml. This ensures your proxied repository configuration persists throughout the session.