Maven build skip
Guide on how to rebuild Druid using Maven while skipping unnecessary checks. Use this skill when asked to compile or build Druid.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill maven-build-skipAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.9 KB, 186 tokens by cl100k_base, as published. Nobody here has run it
Druid Maven Rebuild
When patching Druid, you typically need to recompile the project without running slow test suites, code quality checks, and web console builds (which can cause OOM errors).
Build Command
To quickly build the indexing-service (and its dependencies) while skipping the web-console, use:
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
This compiles the required artifacts while avoiding heavy QA plugins and frontend compilation steps.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.