in src/main/java/org/apache/sling/maven/feature/launcher/StopMojo.java [77:98]
public void execute() throws MojoExecutionException, MojoFailureException {
if (waitForInput) {
if (executionRequest.isInteractiveMode()) {
waitForUserInput();
} else {
getLog().warn("Don't wait for user input as Maven is not running in interactive mode");
}
}
try {
for ( Launch launch : launches ) {
if (launch.isSkip()) {
getLog().info("Skipping stopping launch with id " + launch.getId());
continue; // skip it
}
getLog().info("Stopping launch with id " + launch.getId());
processes.stop(launch.getId());
}
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
}
}