| --- |
| 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’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.11.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=12343406">Release Notes – Apache Maven PMD Plugin – Version 3.11.0</a></p>
|
|
|
| <p>Bugs:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MPMD-268">MPMD-268</a> – Missing warnings about deprecated rules</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MPMD-266">MPMD-266</a> – 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> – 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> – Upgrade pmd 6.8.0</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MPMD-270">MPMD-270</a> – JDK 11 compatibility</li>
|
| </ul>
|
|
|
|
|
| <p>Enjoy,</p>
|
|
|
| <p>-The Maven team</p>
|
| </div> |