mina-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lgoldst...@apache.org
Subject [3/5] mina-sshd git commit: Added checkstyle suppressions configuration
Date Wed, 25 Jul 2018 06:13:44 GMT
Added checkstyle suppressions configuration


Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/75a56bcd
Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/75a56bcd
Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/75a56bcd

Branch: refs/heads/master
Commit: 75a56bcdcc17f568a4f024c0bdf50d8a46667195
Parents: c7f3a3d
Author: Goldstein Lyor <lyor@c-b4.com>
Authored: Wed Jul 25 08:10:05 2018 +0300
Committer: Goldstein Lyor <lyor@c-b4.com>
Committed: Wed Jul 25 09:04:40 2018 +0300

----------------------------------------------------------------------
 pom.xml                          |  2 ++
 sshd-checkstyle-suppressions.xml | 10 ++++++++++
 2 files changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/75a56bcd/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index c3d395e..9f5b4d0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -800,6 +800,8 @@
                 <configuration>
                     <configLocation>${workspace.root.dir}${file.separator}sshd-checkstyle.xml</configLocation>
                     <headerLocation>${workspace.root.dir}${file.separator}java-checkstyle-license-header.txt</headerLocation>
+                    <suppressionsLocation>${workspace.root.dir}${file.separator}sshd-checkstyle-suppressions.xml</suppressionsLocation>
+                    <includeTestSourceDirectory>true</includeTestSourceDirectory>
                 </configuration>
                 <executions>
                     <execution>

http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/75a56bcd/sshd-checkstyle-suppressions.xml
----------------------------------------------------------------------
diff --git a/sshd-checkstyle-suppressions.xml b/sshd-checkstyle-suppressions.xml
new file mode 100644
index 0000000..0cd2719
--- /dev/null
+++ b/sshd-checkstyle-suppressions.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.1//EN" "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
+
+<!-- Suppress text files checks -->
+<!-- See http://stackoverflow.com/questions/18013322/checkstyle-exclude-folder -->
+<suppressions>
+    <suppress files="[\\/]*\.txt" checks="[a-zA-Z0-9]*"/>
+    <suppress files="[\\/]*\.properties" checks="[a-zA-Z0-9]*"/>
+</suppressions>
+


Mime
View raw message