The Apache Sling HTL Maven Plugin, M2Eclipse compatible, provides support for validating HTML Template Language scripts from projects during build time.
See Apache Sling HTL Maven Plugin documentation for a list of supported goals.