[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-274) EmbeddedMaven - Support running Maven builds in the background

Matous Jobanek (JIRA) issues at jboss.org
Thu May 18 17:22:00 EDT 2017


    [ https://issues.jboss.org/browse/SHRINKRES-274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408510#comment-13408510 ] 

Matous Jobanek edited comment on SHRINKRES-274 at 5/18/17 5:21 PM:
-------------------------------------------------------------------

Pushed upstream in: https://github.com/shrinkwrap/resolver/commit/e095776d2fd03d9c94bf414d63b21d92a67d61b2


was (Author: mjobanek):
Pushed upstream in: https://github.com/shrinkwrap/resolver/pull/119

> EmbeddedMaven - Support running Maven builds in the background
> --------------------------------------------------------------
>
>                 Key: SHRINKRES-274
>                 URL: https://issues.jboss.org/browse/SHRINKRES-274
>             Project: ShrinkWrap Resolvers
>          Issue Type: Feature Request
>          Components: maven
>    Affects Versions: 3.0.0-beta-1
>            Reporter: Matous Jobanek
>            Assignee: Matous Jobanek
>             Fix For: 3.0.0-beta-2
>
>
> 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:
> {noformat}
> EmbeddedMaven
>     .forProject("path/to/pom.xml")
>     .useMaven3Version("3.5.0")
>     .setGoals("spring-boot:run")
>     .useAsDaemon()
>     .withWaitUntilOutputLineMathes(".*Started Application.*", 30, TimeUnit.SECONDS)
>     .build();
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the shrinkwrap-issues mailing list