Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » jetty-maven-plugin: deamon mode keep on running?
jetty-maven-plugin: deamon mode keep on running? [message #953751] Mon, 22 October 2012 14:02
Fhomasp Peeters is currently offline Fhomasp PeetersFriend
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>
Previous Topic:getting the path of the currently working directory
Next Topic:Juno Hangs on Large Project
Goto Forum:
  


Current Time: Fri Apr 19 21:57:29 GMT 2024

Powered by FUDForum. Page generated in 0.02779 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top