Jetty has moved!
Jetty is a project at the Eclipse Foundation.
Homepage:http://www.eclipse.org/jetty
Downloads: http://download.eclipse.org/jetty/
Documentation:http://www.eclipse.org/jetty/documentation/current/
About:http://www.eclipse.org/jetty/about.php
Jetty Powered:http://www.eclipse.org/jetty/powered/
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
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

« Previous Version 3 Next »

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.

  • No labels
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