Lint4j is a Java code analyzer that identifies locking and threading problems through static analysis.
One of the standout features of Lint4j is its integration with various development tools. This includes command line, Ant, Maven, Eclipse, and Emacs. This means that regardless of which tool you're using, you can easily incorporate Lint4j into your workflow.
In terms of requirements, all you need is JDK or JRE 1.4.x and Maven 1.x. Installing Lint4j is straightforward - simply add the following snippet to the dependencies section of your project.xml:
< dependency >
< groupId >lint4j< /groupId >
< artifactId >jutils-lint4j-plugin< /artifactId >
< version >1.3< /version >
< type >plugin< /type >
< /dependency >
Next, add the following snippet to the reports section of your project.xml:
< report >jutils-lint4j-plugin< /report >
Finally, add the following line to your project's maven.properties file:
maven.repo.remote=[
The latest release of Lint4j (at the time of writing) includes a fix for a bug that caused a build failure in Maven multi-projects that don't contain source code. Overall, I found Lint4j to be a powerful tool that's easy to incorporate into my workflow.
Version 1.3.1: N/A