I created a basic hack for this issue to get access to /WEB-INF/lib and /WEB-INF/classes for both MyFaces 2 and Mojarra 2. My solution patches the JettyWebAppContext in the plugin itself to access resources in those directories. There might be a fancier solution, but it works for my applications. The patch is for jetty-7.
Additionally, I provided a JSF-based web application for testing. It is Maven-based, so "mvn jetty:run" (for MyFaces) and "mvn jetty:run -P mojarra" (for Mojarra) should start the app with jetty-maven-plugin 7.1.1-SNAPSHOT.
I created a basic hack for this issue to get access to /WEB-INF/lib and /WEB-INF/classes for both MyFaces 2 and Mojarra 2. My solution patches the JettyWebAppContext in the plugin itself to access resources in those directories. There might be a fancier solution, but it works for my applications. The patch is for jetty-7.
Additionally, I provided a JSF-based web application for testing. It is Maven-based, so "mvn jetty:run" (for MyFaces) and "mvn jetty:run -P mojarra" (for Mojarra) should start the app with jetty-maven-plugin 7.1.1-SNAPSHOT.