| --- |
| layout: post |
| status: PUBLISHED |
| published: true |
| title: Apache Maven PMD Plugin Version 3.10.0 Released |
| id: 717d1d4e-b1e2-4096-a2ab-6334d72bcc2d |
| date: '2018-06-07 06:17:06 -0400' |
| categories: maven |
| tags: |
| - maven-plugin |
| permalink: maven/entry/apache-maven-pmd-plugin-version |
| --- |
| <div class="entry-content"> |
| <p>The Maven team is pleased to announce the release of the<br /> |
| <a href="http://maven.apache.org/plugins/maven-pmd-plugin/">Apache Maven PMD Plugin, version 3.10.0</a></p> |
| <p>A Maven plugin for the PMD toolkit, that produces a report on both code rule<br /> |
| violations and detected copy and paste fragments, as well as being able to fail<br /> |
| the build based on these metrics.</p> |
| <p>You can download the appropriate sources etc. from the download page:</p> |
| <p><a href="https://maven.apache.org/plugins/maven-pmd-plugin/download.cgi">https://maven.apache.org/plugins/maven-pmd-plugin/download.cgi</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.10.0<span class="nt"></version></span>
|
| </span><span class='line'><span class="nt"></plugin></span>
|
| </span></code></pre> |
| </td> |
| </tr> |
| </table> |
| </div> |
| </figure> |
| <p><!-- more --></p> |
| <p><a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12342689&styleName=Text&projectId=12317621">Release Notes – Apache Maven PMD Plugin – Version 3.9</a></p> |
| <p>Bugs:</p> |
| <ul> |
| <li>[MPMD-253] – PMD links to java Xref fail in aggregated report</li> |
| <li>[MPMD-257] – Allow to disable analysisCache completely, avoid warnings</li> |
| <li>[MPMD-258] – PMD output multiplies with every module in multi module projects</li> |
| <li>[MPMD-259] – FileNotFoundException with analysisCache=true, includeTests=true and no test classes</li> |
| </ul> |
| <p>New Feature:</p> |
| <ul> |
| <li>[MPMD-256] – Add maxAllowedViolations property for PMD</li> |
| </ul> |
| <p>Improvements:</p> |
| <ul> |
| <li>[MPMD-261] – Upgrade to PMD 6.4.0</li> |
| <li>[MPMD-263] – Add documentation information for GitHub</li> |
| <li>[MPMD-264] – Add rule priority to HTML report</li> |
| </ul> |
| <p>Dependency upgrades:</p> |
| <ul> |
| <li>[MPMD-252] – Upgrade parent to 31</li> |
| <li>[MPMD-262] – Upgrade maven-surefire/failsafe-plugin 2.21.0</li> |
| </ul> |
| <p>Enjoy,</p> |
| <p>-The Maven team</p> |
| </div> |