all.
I got exactly same scenario like this one - Jetty Maven Plugin is ignoring custom webdefault.xml
the only difference is that I try to deploy my app to local jetty8 inside intellij11 on windows 7
the error is
Error copying 'myproj\src\main\webapp\less\defaults.less' to 'myproj\target\myproj.war
\less\defaults.less'.: myproj\target\myproj.war\less\defaults.less
(The requested operation cannot be performed on a file with a user-mapped section open)
I updated the webdefault.xml and set useFileMappedBuffer to false and later again I added in my filter config in web.xml which should also override the default but nothing helps.
I start jetty with default etc/jetty-jmx.xml.
what am I missing?