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:54 UTC

[sling-feature-launcher-maven-plugin] branch issue/SLING-11442 created (now d12a6d3)

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a change to branch issue/SLING-11442
in repository https://gitbox.apache.org/repos/asf/sling-feature-launcher-maven-plugin.git


      at d12a6d3  Revert "SLING-11442 - Allow blocking after the features have been launched"

This branch includes the following new commits:

     new d12a6d3  Revert "SLING-11442 - Allow blocking after the features have been launched"

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[sling-feature-launcher-maven-plugin] 01/01: Revert "SLING-11442 - Allow blocking after the features have been launched"

Posted by ro...@apache.org.
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 ) {