Revert "SLING-11442 - Allow blocking after the features have been launched"
This reverts commit 15236c7f4517d299e34335dba21bc99a09b65659, as this overlaps
with the work from SLING-10364 and it's not yet clear what a "proper" solution is.
diff --git a/src/main/java/org/apache/sling/maven/feature/launcher/StartMojo.java b/src/main/java/org/apache/sling/maven/feature/launcher/StartMojo.java
index 85473e9..6676dc7 100644
--- a/src/main/java/org/apache/sling/maven/feature/launcher/StartMojo.java
+++ b/src/main/java/org/apache/sling/maven/feature/launcher/StartMojo.java
@@ -96,9 +96,6 @@
@Component
private ProcessTracker processes;
- @Parameter
- private boolean block;
-
@Override
public void execute() throws MojoExecutionException, MojoFailureException {
@@ -202,11 +199,6 @@
processes.startTracking(launch.getId(), process);
}
- if ( block ) {
- getLog().info("Waiting until any key is pressed");
- System.in.read();
- }
-
} catch (ArtifactResolutionException | IOException e) {
throw new MojoExecutionException(e.getMessage(), e);
} catch ( InterruptedException e ) {