blob: 40e1afcde90fbc658efdbe68e1610ebcd6c279c8 [file] [log] [blame]
---
layout: post
title: Apache Maven PMD Plugin 3.11.0 Released
date: '2018-10-26T13:30:00+00:00'
permalink: apache-maven-pmd-plugin-3
---
<div class="entry-content"><p>The Maven team is pleased to announce the release of the
<a href="http://maven.apache.org/plugins/maven-pmd-plugin/">Apache Maven PMD Plugin, version 3.11.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.11.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=12343406">Release Notes &ndash; Apache Maven PMD Plugin &ndash; Version 3.11.0</a></p>
<p>Bugs:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MPMD-268">MPMD-268</a> &ndash; Missing warnings about deprecated rules</li>
<li><a href="https://issues.apache.org/jira/browse/MPMD-266">MPMD-266</a> &ndash; Aggregate report in multi-module projects does not use correct auxclasspath</li>
</ul>
<p>New Feature:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MPMD-272">MPMD-272</a> &ndash; Support ignoreAnnotations options for CPD</li>
</ul>
<p>Tasks:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MPMD-271">MPMD-271</a> &ndash; Upgrade pmd 6.8.0</li>
<li><a href="https://issues.apache.org/jira/browse/MPMD-270">MPMD-270</a> &ndash; JDK 11 compatibility</li>
</ul>
<p>Enjoy,</p>
<p>-The Maven team</p>
</div>