Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Keep Jetty instance alive in daemon mode after maven command completes

Have you considered just using an embedded mode Jetty from your own (unit) testing code as an alternative approach?
Or are you wanting this build initiated Jetty instance to live on _after_ the build has completed?

Joakim Erdfelt <joakim@xxxxxxxxxxx>

On Thu, Oct 25, 2012 at 2:39 AM, Fhomasp <thomas.peeters1@xxxxxxxxxx> wrote:
I saw that example, however it's no good to me.  If I use that config and
don't provide a jetty:stop execution Jetty still stops running in Daemon
mode.  When I do not use daemon mode the maven command keeps running
indefinately and never gives a "build success" message.  I need that to
evaluate the CI build as successful.

So what I need is a maven command that starts Jetty, deploys my war or ear
file, and issues a build-success.  After that Jetty needs to be running
until we issue a jetty:stop command, for example when the next build starts.

I hope I'm clear enough.  Thanks already Jan

View this message in context:
Sent from the Jetty User mailing list archive at
jetty-users mailing list

Back to the top