-
Feature Request
-
Resolution: Done
-
Major
-
3.0.0-beta-1
-
None
It should possible to also stop the execution of the main thread and wait till some line matches a regex. Useful for cases when maven build triggers some server or other application (eg. using mvn spring-boot:run)
use-case:
EmbeddedMaven .forProject("path/to/pom.xml") .useMaven3Version("3.5.0") .setGoals("spring-boot:run") .useAsDaemon() .withWaitUntilOutputLineMathes(".*Started Application.*", 30, TimeUnit.SECONDS) .build();