Version: 9.4.27.v20200227 |

Files Scanned by the Jetty Maven Plugin
Previous | Chapter 23. Maven and Jetty Home | Next

##### 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 for sponsored feature development

## Files Scanned by the Jetty Maven Plugin

If you set a non zero `scanIntervalSeconds` configuration parameter, the `jetty-maven-plugin` will scan certain files for changes, and redeploy the webapp if necessary. The files that are scanned depend on the goal being executed.

### Scanner Matrix

Goal | Files
--- | ---

jetty:run

- pom.xml
- <dependencies>
- <classesDirectory>
- <testClassesDirectory>
- <webXml> or <webAppSourceDirectory>/WEB-INF/web.xml
- <jettyEnvXml> or <webAppSourceDirectory>/WEB-INF/jetty-web.xml
- <webAppSourceDirectory>/WEB-INF/jetty-web.xml
- <scanTargets>
- <scanTargetPatterns>
- any defaultsDescriptor for the webapp
- any overrideDescriptor for the webapp
- any dependencies that are wars or zips

jetty:run-war

- pom.xml
- <war>

jetty:run-exploded

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

jetty:deploy-war

- pom.xml
- <war>

jetty:run-forked |
jetty:effective-web-xml |
jetty:run-distro |
jetty:start |
jetty:stop |

Previous | Top | Next
Configuring the Jetty Maven Plugin | Home | Jetty Jspc Maven Plugin

See an error or something missing? Contribute to this documentation at Github!(Generated: 2020-02-27)