Does anyone know how to use maven jetty:run with filtering? I've seen some other answers using other maven goals (jetty:run-exploded) but these don't let me modify my html pages on the fly without restarting.
Thanks.
Does anyone know how to use maven jetty:run with filtering? I've seen some other answers using other maven goals (jetty:run-exploded) but these don't let me modify my html pages on the fly without restarting.
Thanks.
afaik, with jetty:run it uses the source code's files, not the target.
you might need to run replacements on your source code files in a phase before you start jetty.
if you dont want replacements on your source files, i think you're stuck with run-exploded
I found the solution and posted an answer to my own stack overflow question, FYI: How to filter resources when using maven jetty plugin?
Not sure whether I should duplicate that post, but I can if that's a requirement for acceptance.