cxcscmu/skilllearnbench/maven-druid-build

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Building Apache Druid with Maven, managing memory constraints, and skipping verification checks.

Install

npx vskill@latest install cxcscmu/skilllearnbench/maven-druid-build

SKILL.md

The same SKILL.md was published earlier as majiayu000/claude-skill-registry-data/maven-druid-build.

Maven Build for Apache Druid

Build Command Reference

Full Build (from instructions)
bash
cd /root/druid
mvn clean package \
-DskipTests \
-Dcheckstyle.skip=true \
-Dpmd.skip=true \
-Dforbiddenapis.skip=true \
-Dspotbugs.skip=true \
-Danimal.sniffer.skip=true \
-Denforcer.skip=true \
-Djacoco.skip=true \
-Ddependency-check.skip=true \
-pl '!web-console' \
-pl indexing-service \
-am

Flag Explanations

FlagPurpose
cleanRemove previous build artifacts
packageCompile and package into JAR/WAR
-DskipTestsSkip unit test execution
-Dcheckstyle.skip=trueSkip code style checking
-Dpmd.skip=trueSkip PMD analysis
-Dforbiddenapis.skip=trueSkip forbidden API checking
-Dspotbugs.skip=trueSkip SpotBugs (FindBugs) analysis
-Danimal.sniffer.skip=trueSkip JDK version compatibility checks
-Denforcer.skip=trueSkip Maven Enforcer rules
-Djacoco.skip=trueSkip code coverage analysis
-Ddependency-check.skip=trueSkip OWASP dependency checking
-pl '!web-console'Exclude web-console module (memory constraint)
-pl indexing-serviceInclude indexing-service module
-amAlso make dependencies of selected projects

Memory Management

Memory Issues

If you encounter OOM (Out of Memory) errors:

bash
# Increase heap size
export MAVEN_OPTS="-Xmx2g -Xms1g"
# Very aggressive heap limit
export MAVEN_OPTS="-Xmx1g -Xms512m"
Parallel Builds

To speed up builds with multiple cores:

bash
mvn clean package -T 1C # 1 thread per core

Output Artifacts

After successful build:

druid/indexing-service/target/druid-indexing-service-0.20.0-SNAPSHOT.jar
druid/distribution/target/apache-druid-0.20.0-SNAPSHOT/lib/

Verifying Build

bash
# Check if JAR was created
ls -la indexing-service/target/*.jar
# Check build log for errors
tail -100 build.log
# Verify specific file was included
jar tf indexing-service/target/*.jar | grep "JavaScriptFilter"

Maven Troubleshooting

Module Not Found
bash
# Verify module exists
ls -la indexing-service/pom.xml
# Rebuild parent projects
mvn clean install -pl '!web-console'
Compilation Errors
bash
# Detailed error output
mvn clean package -X 2>&1 | tail -50
# Compile only (no packaging)
mvn clean compile

Selective Compilation

bash
# Build specific module and dependencies
mvn clean package -pl indexing-service -am
# Build without tests but with other checks
mvn clean package -DskipTests
# Minimal build for testing
mvn clean package -DskipTests -Denforcer.skip=true

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
83
Repository forks
7
7-day trend score
27

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cxcscmu/skilllearnbench/maven-druid-build/badge)](https://verified-skill.com/skills/cxcscmu/skilllearnbench/maven-druid-build)

Something wrong with this skill or its page? Tell us.