Use codehaus jsp compiler plugin.
- As it is somewhat outdated, you have to tweak it with exclusions to work with TC7.
- Use slightly older version TC 7.0.34 because of https://issues.apache.org/bugzilla/show_bug.cgi?id=54440.