happygiraffe/jslint4java — pull request #11 by danigiri (2012-05-01 23:43:41+00:00)
Title: Timestamp skip: optional feature to skip unmodified source files to speed up builds

When doing several maven runs, processing several JS files that haven't been modified is quite slow.
With this fork, setting the optional parameter checkFileModificationTimes=true means that maven will skip checking files that haven't been modified on the previous builds.
Features:

* 'mvn clean' will ensure all of them are checked on the next run, handy for CI builds
* skipped files are not present on the reports
* added or removed files between builds should be taken into account automagically
* all tests pass and new tests have been added to account for new functionality
* no API changes are needed and class structure is pretty much as it was before
* optionality means existing POM files are not broken and that this optimized behavior is an opt-in feature
* report formats are unchanged

Caveats:

* files with issues that haven't been modified will be skipped

Please let me know if you think this is useful and if there are any required tweaks, thanks.