I\'m using resource filtering on jsps, based on profiles. I\'m also developing locally using mvn jetty:run
, but the filtering phase does not run.
How can I
The filtered files usually end up in the build target-directory. If you run 'mvn jetty:run' it uses per default your unfiltered src/main/webapp directory. All you got to do is to add the build-target as additional resource directory. Done so, jetty will create an overlay and will also use the filtered files.
org.mortbay.jetty
maven-jetty-plugin
6.1.26
/${project.build.finalName}
src/main/webapp,${project.build.directory}/${project.build.finalName}
2