private JSLintResult lintFile(JSLint jsLint, File file) throws MojoExecutionException {
getLog().debug("lint " + file);
BufferedReader reader = null;
try {
UnicodeBomInputStream stream = new UnicodeBomInputStream(new FileInputStream(file));
stream.skipBOM();
reader = new BufferedReader(new InputStreamReader(stream, getEncoding()));
return jsLint.lint(file.toString(), reader);
} catch (FileNotFoundException e) {
throw new MojoExecutionException("file not found: " + file, e);
} catch (UnsupportedEncodingException e) {