jetty-maven-plugin: deamon mode keep on running? [message #953751] |
Mon, 22 October 2012 14:02 |
Fhomasp Peeters Messages: 4 Registered: January 2011 |
Junior Member |
|
|
First of all. The jetty-maven-plugin is kept under the Eclipse Foundation, though I can't seem to find anything related on the forum.
So on to the question.
I want to run a Jetty server by starting it using Daemon Mode, but it needs to keep on running after the maven command has finished. The maven command also needs to finish as it needs to be started in a CI environment. I can't seem to find any combination in the plugin settings to do that.
If I use daemon mode the server stops from the moment the maven command evaluates as finished. Or in non-daemon mode the Maven command never finishes unless the server stops.
Settings:
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>8.1.5.v20120716</version>
<configuration>
<contextPath>/bulk-uploader</contextPath>
<stopKey>stopherding</stopKey>
<stopPort>9999</stopPort>
<jettyXml>src/main/resources/env/${env}/jetty.xml</jettyXml>
<daemon>true</daemon>
<webApp>
<contextPath>/bulk-uploader</contextPath>
</webApp>
</configuration>
<executions>
<execution>
<id>deploy</id>
<phase>install</phase>
<goals>
<goal>deploy-war</goal>
</goals>
<configuration>
<reload>manual</reload>
</configuration>
</execution>
</executions>
</plugin>
|
|
|
Powered by
FUDForum. Page generated in 0.02779 seconds