diff --git a/services/src/main/java/io/druid/cli/Main.java b/services/src/main/java/io/druid/cli/Main.java index 7e529860517..551acea0706 100644 --- a/services/src/main/java/io/druid/cli/Main.java +++ b/services/src/main/java/io/druid/cli/Main.java @@ -59,7 +59,7 @@ public class Main builder.withGroup("tools") .withDescription("Various tools for working with Druid") .withDefaultCommand(Help.class) - .withCommands(ConvertProperties.class, DruidJsonValidator.class); + .withCommands(ConvertProperties.class, DruidJsonValidator.class, PullDependencies.class); builder.withGroup("index") .withDescription("Run indexing for druid") diff --git a/services/src/main/java/io/druid/cli/PullDependencies.java b/services/src/main/java/io/druid/cli/PullDependencies.java new file mode 100644 index 00000000000..cd5ada1941d --- /dev/null +++ b/services/src/main/java/io/druid/cli/PullDependencies.java @@ -0,0 +1,16 @@ +package io.druid.cli; + +import io.airlift.command.Command; + + +@Command( + name = "pull-deps", + description = "Pull down dependencies to the local repository specified by druid.extensions.localRepository" +) +public class PullDependencies implements Runnable +{ + @Override + public void run() { + // dependencies are pulled down as a side-effect of Guice injection + } +}