You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2022/07/18 13:37:55 UTC
[sling-feature-launcher-maven-plugin] 01/01: Revert "SLING-11442 - Allow blocking after the features have been launched"
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch issue/SLING-11442
in repository https://gitbox.apache.org/repos/asf/sling-feature-launcher-maven-plugin.git
commit d12a6d3dacb3c384564741d9d2a42469d67bb65e
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Mon Jul 18 16:36:46 2022 +0300
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.
---
.../java/org/apache/sling/maven/feature/launcher/StartMojo.java | 8 --------
1 file changed, 8 deletions(-)
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 @@ public class StartMojo extends AbstractMojo {
@Component
private ProcessTracker processes;
- @Parameter
- private boolean block;
-
@Override
public void execute() throws MojoExecutionException, MojoFailureException {
@@ -202,11 +199,6 @@ public class StartMojo extends AbstractMojo {
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 ) {