Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery
DOCUMENTATION: Jetty 6 - this wiki. Jetty 7 - at Eclipse. Jetty8 - at Eclipse. Jetty 9 - at Eclipse.
Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current ·  View Page History

What files are scanned by the Jetty Maven2 plugin?

If you set a non zero positive <scanInterval> configuration parameter, the jetty maven2 plugin will scan certain files every <scanInterval> seconds for changes, and redeploy the webapp if necessary.

The files that are scanned depend on the goal being executed:

Goal

Files and Directories

run

pom.xml, <dependencies>, <classesDirectory>, <webXml> or <webAppSourceDirectory>/WEB-INF/web.xml, <jettyEnvXml> or <webAppSourceDirectory>/WEB-INF/jetty-web.xml, <scanTargets>

run-war

pom.xml, <webApp>

run-exploded

pom.xml, <webApp>/WEB-INF/web.xml, <webApp>/WEB-INF/jetty-web.xml, <webApp>/WEB-INF/jetty-env.xml,<webApp>/WEB-INF/classes, <webApp>/WEB-INF/lib

For an explanation of the configuration parameters and their default values, see http://jetty.mortbay.org/maven-plugin/howto.html.

Labels
  • None
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery