<!--  tomcat -->

<plugin>  
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>tomcat-maven-plugin</artifactId>
   <version>1.1</version>     
   <configuration>
    <scanIntervalSeconds>10</scanIntervalSeconds>
    <path>/</path>
    <port>9090</port>
    <uriEncoding>UTF-8</uriEncoding>
   </configuration> 
  </plugin>

 

<!--  jetty -->

<plugin>
   <groupId>org.mortbay.jetty</groupId>
   <artifactId>jetty-maven-plugin</artifactId>
   <configuration>
    <scanIntervalSeconds>10</scanIntervalSeconds>
    <webApp>
     <contextPath>/</contextPath>
    </webApp>
    <connectors>
     <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
      <port>8088</port>
      <maxIdleTime>60000</maxIdleTime>
     </connector>
    </connectors>
   </configuration>
  </plugin>