------ Maven 2 Jspc Plugin ------ Jeff Genender ------ December 31, 2005 How To Use This plugin allows you to precompile your JSPs and have them included in your war file. First, your web.xml needs to have a tag that tells the jspc plugin where to inject the servlet/jsp mapping. The default tag is <<<\ . . . +------------------------------------------+ You must use the jspc plugin in conjunction with the maven-war-plugin. The maven-war-plugin must have its configuration parameter set to the newly created web.xml, which is ${basedir}/target/jspweb.xml by default. See the following example configuration. +------------------------------------------+ . . . org.codehaus.mojo jspc-maven-plugin jspc compile org.apache.maven.plugins maven-war-plugin ${basedir}/target/jspweb.xml . . . +------------------------------------------+