agentsclimarketplace

Maven build optimization

Skill cxcscmu/SkillLearnBench/skills/b4-skill-creator-gemini-3-flash-preview/fix-security-bug/maven-build-optimization

[COLM'26] SkillLearnBench is the first benchmark for evaluating continual learning methods that automatically generate agent skills.

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

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

What its author says it does

Copied from the file, not written here

Optimized Maven build commands for Apache Druid to save time and resources. Use this when you need to rebuild Druid after applying patches.

SKILL.md

1.2 KB, 257 tokens by cl100k_base, as published. Nobody here has run it

Maven Build Optimization for Druid

Standard Fast Build Command

Use the following flags to skip non-essential steps during development and patching:

  • -DskipTests: Skips unit tests.
  • -Dcheckstyle.skip=true: Skips Checkstyle code analysis.
  • -Dpmd.skip=true: Skips PMD analysis.
  • -Dforbiddenapis.skip=true: Skips forbidden API checks.
  • -Dspotbugs.skip=true: Skips SpotBugs static analysis.
  • -Danimal.sniffer.skip=true: Skips API compatibility checks.
  • -Denforcer.skip=true: Skips Maven Enforcer rules.
  • -Djacoco.skip=true: Skips code coverage reporting.
  • -pl '!web-console': Excludes the web-console module (prevents OOM and save time).

Building Specific Modules

To build only the necessary modules and their dependencies:

mvn clean package [skip-flags] -pl indexing-service -am

-am (also-make) ensures that all dependencies of the specified project are also built.

Memory Management

If Maven runs out of memory, you can increase the heap size:

export MAVEN_OPTS="-Xmx2048m"

Keep looking

Skills are one crate of 328,083. 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.