| --- |
| layout: post |
| title: Apache Maven PMD Plugin Version 3.13.0 Released |
| date: '2020-02-03T22:07:01+00:00' |
| permalink: apache-maven-pmd-plugin-version2 |
| --- |
| <div class="entry-content"><p>The Maven team is pleased to announce the release of the
|
| <a href="https://maven.apache.org/plugins/maven-pmd-plugin/">Apache Maven PMD Plugin, version 3.13.0</a></p>
|
|
|
| <p>A Maven plugin for the PMD toolkit, that produces a report on both code rule
|
| violations and detected copy and paste fragments, as well as being able to fail
|
| the build based on these metrics.</p>
|
|
|
| <p>You can download the appropriate sources etc. from the
|
| <a href="https://maven.apache.org/plugins/maven-pmd-plugin/download.cgi">download page</a>.</p>
|
|
|
| <p>You should specify the version in your project’s plugin configuration:</p>
|
|
|
| <figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
| <span class='line-number'>2</span>
|
| <span class='line-number'>3</span>
|
| <span class='line-number'>4</span>
|
| <span class='line-number'>5</span>
|
| </pre></td><td class='code'><pre><code class='xml'><span class='line'><span class="nt"><plugin></span>
|
| </span><span class='line'> <span class="nt"><groupId></span>org.apache.maven.plugins<span class="nt"></groupId></span>
|
| </span><span class='line'> <span class="nt"><artifactId></span>maven-pmd-plugin<span class="nt"></artifactId></span>
|
| </span><span class='line'> <span class="nt"><version></span>3.13.0<span class="nt"></version></span>
|
| </span><span class='line'><span class="nt"></plugin></span>
|
| </span></code></pre></td></tr></table></div></figure>
|
|
|
|
|
|
|
|
|
| <!-- more -->
|
|
|
|
|
| <p><a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317621&version=12345409">Release Notes – Apache Maven PMD Plugin – Version 3.13.0</a></p>
|
|
|
| <ul>
|
| <li><p>Bugs:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MPMD-288">MPMD-288</a> – NullPointerException when File.list() returns null</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MPMD-289">MPMD-289</a> – check: unable to find pmd.xml</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MPMD-292">MPMD-292</a> – PMD Log is not always integrated into maven log</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MPMD-295">MPMD-295</a> – Maven PMD Plugin fails on Java 13: Unsupported targetJdk value ‘13’</li>
|
| </ul>
|
| </li>
|
| <li><p>New Feature:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MPMD-269">MPMD-269</a> – Display PMD version that is being used</li>
|
| </ul>
|
| </li>
|
| <li><p>Improvements:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MPMD-241">MPMD-241</a> – Document the version relationship between plugin and pmd</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MPMD-287">MPMD-287</a> – Add additional contribution information for GitHub</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MPMD-296">MPMD-296</a> – Copy ruleset files into a subdirectory of target</li>
|
| </ul>
|
| </li>
|
| <li><p>Wish:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MPMD-225">MPMD-225</a> – Create report even if no warnings have been found by default</li>
|
| </ul>
|
| </li>
|
| <li><p>Tasks:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MPMD-285">MPMD-285</a> – remove pluginTools version override for build (which block reproducible build…)</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MPMD-293">MPMD-293</a> – Fix integration test builds on jenkins</li>
|
| </ul>
|
| </li>
|
| </ul>
|
|
|
|
|
| <p>Dependency upgrade:</p>
|
|
|
| <p><a href="https://issues.apache.org/jira/browse/MPMD-291">MPMD-291</a> – Upgrade to PMD 6.21.0</p>
|
|
|
| <p>Enjoy,</p>
|
|
|
| <p>-The Maven team</p>
|
| </div>
|
|
|