AGENT SKILL

apply-and-rebuild

Applying patches to the Druid source code and performing a targeted Maven build.

License 许可
MIT
最近更新
2026-10-02
Stars
★ 93
Forks
8

01 前言 Front Matter

name
apply-and-rebuild
description
Applying patches to the Druid source code and performing a targeted Maven build.

03 SKILL.md 正文

  1. Apply the patch to the local repository:

    cd /root/druid
    git apply /root/patches/fix-js-config.patch
    
  2. Rebuild the project focusing on the affected modules:

    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
    
  3. Ensure the processing module (where JavaScriptConfig resides) is included in the build and that the resulting JARs contain the patched classes.

04 同仓库更多 Skills