blob: ddf6b79cf4a4fe2d9ff061e56299456bcad267bc [file] [log] [blame]
---
layout: post
status: PUBLISHED
published: true
title: Apache Maven Checkstyle Plugin Version 3.1.0 Released
id: 71f40d37-58a8-49f4-8750-22d915bf2581
date: '2019-05-30 12:31:02 -0400'
categories: maven
tags:
- maven-plugin
permalink: maven/entry/apache-maven-checkstyle-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-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<br />
developers. For more information about Checkstyle, see<br />
<a href="http://checkstyle.sourceforge.net/.">http://checkstyle.sourceforge.net/.</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"><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> <!-- more --></p>
<p><a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317223&amp;version=12342397">Release Notes &ndash; Apache Maven Checkstyle Plugin &ndash; 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> &ndash; usage of checkstyle 7.0 (jdk8 is required)</li>
<li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-344">MCHECKSTYLE-344</a> &ndash; StringIndexOutOfBoundsException in RuleUtil</li>
<li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-347">MCHECKSTYLE-347</a> &ndash; StringIndexOutOfBoundsException when checkstyle.violation.ignore set to empty value</li>
<li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-365">MCHECKSTYLE-365</a> &ndash; 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> &ndash; 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> &ndash; Lock version of animal-sniffer-maven-plugin</li>
<li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-353">MCHECKSTYLE-353</a> &ndash; Don&rsquo;t resolve any dependencies</li>
<li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-374">MCHECKSTYLE-374</a> &ndash; Replace deprecated methods in Checkstyle</li>
<li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-375">MCHECKSTYLE-375</a> &ndash; 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> &ndash; Upgrade to parent pom 31</li>
<li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-359">MCHECKSTYLE-359</a> &ndash; Upgrade maven-plugins parent to version 32</li>
<li><a href="https://issues.apache.org/jira/browse/MCHECKSTYLE-360">MCHECKSTYLE-360</a> &ndash; 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> &ndash; Upgrade checkstyle to a more recent version</li>
</ul>
<p>Enjoy,</p>
<p>-The Maven team</p>
</div>