blob: 1b4622dc36ceeeeaa84ea105c07a2baed7ecfd90 [file] [log] [blame]
---
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&rsquo;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">&lt;plugin&gt;</span>
</span><span class='line'> <span class="nt">&lt;groupId&gt;</span>org.apache.maven.plugins<span class="nt">&lt;/groupId&gt;</span>
</span><span class='line'> <span class="nt">&lt;artifactId&gt;</span>maven-pmd-plugin<span class="nt">&lt;/artifactId&gt;</span>
</span><span class='line'> <span class="nt">&lt;version&gt;</span>3.13.0<span class="nt">&lt;/version&gt;</span>
</span><span class='line'><span class="nt">&lt;/plugin&gt;</span>
</span></code></pre></td></tr></table></div></figure>
<!-- more -->
<p><a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317621&amp;version=12345409">Release Notes &ndash; Apache Maven PMD Plugin &ndash; 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> &ndash; NullPointerException when File.list() returns null</li>
<li><a href="https://issues.apache.org/jira/browse/MPMD-289">MPMD-289</a> &ndash; check: unable to find pmd.xml</li>
<li><a href="https://issues.apache.org/jira/browse/MPMD-292">MPMD-292</a> &ndash; PMD Log is not always integrated into maven log</li>
<li><a href="https://issues.apache.org/jira/browse/MPMD-295">MPMD-295</a> &ndash; Maven PMD Plugin fails on Java 13: Unsupported targetJdk value &lsquo;13&rsquo;</li>
</ul>
</li>
<li><p>New Feature:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MPMD-269">MPMD-269</a> &ndash; 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> &ndash; Document the version relationship between plugin and pmd</li>
<li><a href="https://issues.apache.org/jira/browse/MPMD-287">MPMD-287</a> &ndash; Add additional contribution information for GitHub</li>
<li><a href="https://issues.apache.org/jira/browse/MPMD-296">MPMD-296</a> &ndash; 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> &ndash; 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> &ndash; remove pluginTools version override for build (which block reproducible build&hellip;)</li>
<li><a href="https://issues.apache.org/jira/browse/MPMD-293">MPMD-293</a> &ndash; 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> &ndash; Upgrade to PMD 6.21.0</p>
<p>Enjoy,</p>
<p>-The Maven team</p>
</div>