Maven Jetty Configuration


/ Published in: Java
Save to your folder(s)

this configuration shall be put under build section.


Copy this code and paste it in your HTML
  1. <plugin>
  2. <groupId>org.mortbay.jetty</groupId>
  3. <artifactId>maven-jetty-plugin</artifactId>
  4. <version>6.1.10</version>
  5. <configuration>
  6. <scanIntervalSeconds>10</scanIntervalSeconds>
  7. <connectors>
  8. <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
  9. <port>8080</port>
  10. <maxIdleTime>60000</maxIdleTime>
  11. </connector>
  12. </connectors>
  13. </configuration>
  14. </plugin>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.