Hi all,
is it possible to configure the Jetty Maven Plugin to use the .war final package (as I did with Ant) instead of the /target
directory?
The reason is that when I do mvn jetty:run
the servlet context base directory is set to src/main/webapp/
, which does not contain some files I need.
I.e.: my application tries to load WEB-INF/jasper/report.jasper
from the servlet context base directory. This file (a compiled JasperReports template) will be put in the final .war package in the proper directory when running mvn package
, but will not be found under src/main/webapp/WEB-INF/jasper/report.jasper
when running mvn jetty:run
.
Thanks for your help,
MZ