Posted on September 4, 2021September 4, 2021 by adminStatic Analysis using PMD PMD is a popular static analysis tool for Java. Here is a simple example showing to use PMD and get it to fail your build for any detected issues. How PMD failure is reported.