commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject [text] Update checkstyle version to 6.19 to fix the build
Date Sat, 23 Sep 2017 19:33:58 GMT
Repository: commons-text
Updated Branches:
  refs/heads/master 50e0bec36 -> efcd2249f


Update checkstyle version to 6.19 to fix the build

The default checkstyle version (6.11.2) of maven-checkstyle-plugin 2.17 contains a bug related
to NoWhitespaceAfter and two-dimensional array initialization. This bug is triggered twice
in LevenshteinDetailedDistance.


Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/efcd2249
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/efcd2249
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/efcd2249

Branch: refs/heads/master
Commit: efcd2249f28e221c27880fa216ef62872add016e
Parents: 50e0bec
Author: Pascal Schumacher <pascalschumacher@gmx.net>
Authored: Sat Sep 23 21:33:50 2017 +0200
Committer: Pascal Schumacher <pascalschumacher@gmx.net>
Committed: Sat Sep 23 21:33:50 2017 +0200

----------------------------------------------------------------------
 pom.xml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-text/blob/efcd2249/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 8971768..b10927d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -152,7 +152,8 @@
     <commons.clirr.version>2.8</commons.clirr.version>
 
     <checkstyle.plugin.version>2.17</checkstyle.plugin.version>
-    
+    <checkstyle.version>6.19</checkstyle.version>
+
     <!-- Overrides for Java 9 compatibility until commons-parent 43 comes out. -->
     <commons.jacoco.version>0.7.9</commons.jacoco.version>
     <!-- Needs an update to the underlying findbugs project for Java 9 -->
@@ -182,6 +183,13 @@
       <plugin>
         <artifactId>maven-checkstyle-plugin</artifactId>
         <version>${checkstyle.plugin.version}</version>
+        <dependencies>
+          <dependency>
+            <groupId>com.puppycrawl.tools</groupId>
+            <artifactId>checkstyle</artifactId>
+            <version>${checkstyle.version}</version>
+          </dependency>
+        </dependencies>
         <configuration>
           <enableRulesSummary>false</enableRulesSummary>
           <configLocation>${basedir}/checkstyle.xml</configLocation>


Mime
View raw message