diff --git a/src/main/java/net/revelc/code/zookeeper/maven/plugin/AbstractZooKeeperMojo.java b/src/main/java/net/revelc/code/zookeeper/maven/plugin/AbstractZooKeeperMojo.java index 5eaef0f..87eccef 100644 --- a/src/main/java/net/revelc/code/zookeeper/maven/plugin/AbstractZooKeeperMojo.java +++ b/src/main/java/net/revelc/code/zookeeper/maven/plugin/AbstractZooKeeperMojo.java @@ -100,6 +100,9 @@ public void execute() throws MojoFailureException, MojoExecutionException { runMojo(); } + /** + * Run the configured mojo. + */ protected abstract void runMojo() throws MojoFailureException, MojoExecutionException; // visible for testing diff --git a/src/main/java/net/revelc/code/zookeeper/maven/plugin/ZooKeeperLauncher.java b/src/main/java/net/revelc/code/zookeeper/maven/plugin/ZooKeeperLauncher.java index 945ebe2..67826a5 100644 --- a/src/main/java/net/revelc/code/zookeeper/maven/plugin/ZooKeeperLauncher.java +++ b/src/main/java/net/revelc/code/zookeeper/maven/plugin/ZooKeeperLauncher.java @@ -127,6 +127,9 @@ public void run() { } } + /** + * Launch ZooKeeper with the provided arguments. + */ public ZooKeeperLauncher(String[] args) { parseArgs(args); }