Skip to content

Jetty dev run, Hot Swapping

Innokentiy Krivonosov edited this page Nov 28, 2017 · 1 revision

Hot Swapping Maven multi-module web application, Jetty and IntelliJ

Hot Swapping With Maven, Jetty and IntelliJ

install jetty:run -Djetty.http.port=8200 -Dmaven.artifact.threads=1

   <plugin>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-maven-plugin</artifactId>
    <version>9.4.3.v20170317</version>
    <configuration>
     <scanIntervalSeconds>0</scanIntervalSeconds>
     <webApp>
      <webInfIncludeJarPattern>^$</webInfIncludeJarPattern>
      <containerIncludeJarPattern>^$</containerIncludeJarPattern>
     </webApp>
    </configuration>
   </plugin>

Clone this wiki locally