Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

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 the Maven Jetty Plugin configuration guide.

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