Dashboard > Jetty > ... > Jetty Documentation > Which files are scanned by the Jetty Maven Plugin
Which files are scanned by the Jetty Maven Plugin Log In | Sign Up   View a printable version of the current page.

Added by Jan Bartel , last edited by Jan Bartel on Nov 16, 2006  (view change)
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

Which 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.

Site running on a free Atlassian Confluence Open Source Project License granted to The Codehaus. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.6.2 Build:#919 Nov 26, 2007) - Bug/feature request - Contact Administrators