agentsclimarketplace

Druid maven build

Skill cxcscmu/SkillLearnBench/skills/b4-skill-creator-gemini-3.1-flash-lite-preview/fix-security-bug/druid-maven-build

How to rebuild Apache Druid after applying patches. Use this whenever the codebase has been modified and needs a partial or full rebuild.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill druid-maven-build

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.0 KB, 192 tokens by cl100k_base, as published. Nobody here has run it

Druid Build Procedure

Overview

Rebuilding the patched Druid component requires using Maven, ensuring specific modules and skips are handled correctly to avoid OOM or code quality failures on patched code.

Build Command

Execute the following to build the relevant module:

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

Important Notes

  • -pl '!web-console': Skips the web-console to avoid OOM errors.
  • -D*.skip=true: Skips various quality checks which may fail on custom patches.
  • Ensure you are in the /root/druid directory before running the command.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.