Add checkstyle suppressions for false positives
diff --git a/checkstyle-suppressions.xml b/checkstyle-suppressions.xml
new file mode 100644
index 0000000..1002890
--- /dev/null
+++ b/checkstyle-suppressions.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!DOCTYPE suppressions PUBLIC
+ "-//Puppy Crawl//DTD Suppressions 1.0//EN"
+ "http://www.puppycrawl.com/dtds/suppressions_1_0.dtd">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<suppressions>
+ <suppress checks="Header" files="NOTICE.txt" />
+ <suppress checks="Header" files="LICENSE.txt" />
+ <suppress checks="Header" files="target/.*" />
+ <suppress checks="HideUtilityClassConstructor" files="DbUtils.java" />
+ <suppress checks="Javadoc" files=".*[/\\]test[/\\].*" />
+ <suppress checks="LineLength" files="AsyncQueryRunner.java" />
+ <suppress checks="LineLength" files="BaseResultSetHandler.java" />
+ <suppress checks="LineLength" files="QueryRunner.java" />
+ <suppress checks="MagicNumber" files=".*[/\\]test[/\\].*" />
+ <suppress checks="MethodName" files=".*[/\\]test[/\\].*" />
+</suppressions>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 7d01207..9ed67b9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -264,6 +264,8 @@
<configLocation>${basedir}/checkstyle.xml</configLocation>
<enableRulesSummary>false</enableRulesSummary>
<headerLocation>${basedir}/license-header.txt</headerLocation>
+ <suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation>
+ <suppressionsFileExpression>${basedir}/checkstyle-suppressions.xml</suppressionsFileExpression>
<failOnViolation>false</failOnViolation>
</configuration>
<dependencies>