/ Published in: XML
add following parts to the appropriate places in the pom.xml
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<configuration> <!-- scan period (this effects scan period also for java class files changes) --> <scanIntervalSeconds>5</scanIntervalSeconds> <!-- i don't know the reason for setting extraClasspath, but it should be set --> <webAppConfig> <extraClasspath>${basedir}/src/main/resources</extraClasspath> </webAppConfig> <!-- will be scanned paths for changes by jetty additionally (here is the path where js, css, etc... are exist) --> <scanTargets> <scanTarget>src/main/webapp</scanTarget> </scanTargets> </configuration>