Archives

Pre-compile JSP pages for Apache Geronimo with Maven

In Apache Geronimo 2.2/w tomcat 6 they don’t appear to be using the tomcat jasper JSP compiler. So to pre-compile JSP pages you will need to modify the dependencies of the jspc maven compiler. <plugin> <groupId>org.codehaus.mojo.jspc</groupId> <artifactId>jspc-maven-plugin</artifactId> <version>2.0-alpha-3</version> <executions> <execution> <goals> <goal>compile</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.codehaus.mojo.jspc</groupId> <artifactId>jspc-compiler-tomcat6</artifactId> <version>2.0-alpha-3</version> <exclusions> <exclusion> <groupId>org.apache.tomcat</groupId> <artifactId>jasper</artifactId> </exclusion> […]