| --- |
| layout: post |
| title: Apache Maven Checkstyle Plugin Version 3.1.0 Released |
| date: '2019-05-30T12:31:02+00:00' |
| permalink: apache-maven-checkstyle-plugin-version |
| --- |
| <div class="entry-content"><p>The Maven team is pleased to announce the release of the
|
| <a href="http://maven.apache.org/plugins/maven-checkstyle-plugin/">Apache Maven Checkstyle Plugin, version 3.1.0</a>.</p>
|
|
|
| <p>The Checkstyle Plugin generates a report regarding the code style used by the
|
| developers. For more information about Checkstyle, see
|
| <a href="http://checkstyle.sourceforge.net/.">http://checkstyle.sourceforge.net/.</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-checkstyle-plugin<span class="nt"></artifactId></span>
|
| </span><span class='line'> <span class="nt"><version></span>3.1.0<span class="nt"></version></span>
|
| </span><span class='line'><span class="nt"></plugin></span>
|
| </span></code></pre></td></tr></table></div></figure>
|
|
|
|
|
| <p></p>
|
|
|
| <!-- more -->
|
|
|
|
|
| <p><a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317223&version=12342397">Release Notes – Apache Maven Checkstyle Plugin – Version 3.1.0</a></p>
|
|
|
| <p>You can download the appropriate sources etc. from the download page:</p>
|
|
|
| <p><a href="https://maven.apache.org/plugins/maven-checkstyle-plugin/download.cgi">https://maven.apache.org/plugins/maven-checkstyle-plugin/download.cgi</a></p>
|
|
|
| <p>Bugs:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-323">MCHECKSTYLE-323</a> – usage of checkstyle 7.0 (jdk8 is required)</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-344">MCHECKSTYLE-344</a> – StringIndexOutOfBoundsException in RuleUtil</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-347">MCHECKSTYLE-347</a> – StringIndexOutOfBoundsException when checkstyle.violation.ignore set to empty value</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-365">MCHECKSTYLE-365</a> – Site Report, Rules: Violation count incorrect for duplicate rules when one uses default severity</li>
|
| </ul>
|
|
|
|
|
| <p>Improvements:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-326">MCHECKSTYLE-326</a> – Running mvn install works first time second it does not</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-350">MCHECKSTYLE-350</a> – Lock version of animal-sniffer-maven-plugin</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-353">MCHECKSTYLE-353</a> – Don’t resolve any dependencies</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-374">MCHECKSTYLE-374</a> – Replace deprecated methods in Checkstyle</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-375">MCHECKSTYLE-375</a> – Upgrade all test XML doctypes</li>
|
| </ul>
|
|
|
|
|
| <p>Dependency upgrades:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-349">MCHECKSTYLE-349</a> – Upgrade to parent pom 31</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-359">MCHECKSTYLE-359</a> – Upgrade maven-plugins parent to version 32</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-360">MCHECKSTYLE-360</a> – Upgrade maven-site-plugin to 3.7.1 for integration tests</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-366">MCHECKSTYLE-366</a> – Upgrade checkstyle to a more recent version</li>
|
| </ul>
|
|
|
|
|
| <p>Enjoy,</p>
|
|
|
| <p>-The Maven team</p>
|
| </div>
|
|
|