Если кому-то интересно, вот фрагмент кода Maven POM, который мы используем для запуска JSlint:
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>jslint</id>
<phase>test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<taskdef name="jslint" classname="com.googlecode.jslint4java.ant.JSLintTask" classpathref="maven.plugin.classpath" />
<jslint encoding="UTF-8" options="indent=4,evil,laxbreak">
<formatter type="plain" />
<fileset dir="${basedir}/src/main/javascript" includes="**/*.js" />
</jslint>
</tasks>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.googlecode.jslint4java</groupId>
<artifactId>jslint4java-ant</artifactId>
<version>1.3.3</version>
</dependency>
</dependencies>
</plugin>