Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 30th, 2012  |  syntax: None  |  size: 1.25 KB  |  hits: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <plugin>
  2.         <groupId>org.mortbay.jetty</groupId>
  3.         <artifactId>maven-jetty-plugin</artifactId>
  4.         <version>6.1.26</version>
  5.         <configuration>
  6.                 <scanIntervalSeconds>10</scanIntervalSeconds>
  7.                 <stopKey>foo</stopKey>
  8.                 <stopPort>9999</stopPort>
  9.                 <contextPath>/</contextPath>
  10.                 <webApp>
  11.                         /your/path/to/the/external.war
  12.                 </webApp>
  13.         </configuration>
  14.         <executions>
  15.                 <execution>
  16.                         <id>start-jetty</id>
  17.                         <phase>pre-integration-test</phase>
  18.                         <goals>
  19.                                 <goal>deploy-war</goal>
  20.                         </goals>
  21.                         <configuration>
  22.                                 <scanIntervalSeconds>0</scanIntervalSeconds>
  23.                                 <daemon>true</daemon>
  24.                         </configuration>
  25.                 </execution>
  26.                 <execution>
  27.                         <id>stop-jetty</id>
  28.                         <phase>post-integration-test</phase>
  29.                         <goals>
  30.                                 <goal>stop</goal>
  31.                         </goals>
  32.                 </execution>
  33.         </executions>
  34. </plugin>