plugged checkstyle suppression filter

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/digester/trunk@1142060 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/checkstyle-suppressions.xml b/checkstyle-suppressions.xml
new file mode 100644
index 0000000..7d0e14f
--- /dev/null
+++ b/checkstyle-suppressions.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!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="RegexpHeader" files="package-info.java" lines="0-9999" />
+  <suppress checks="HiddenField" files=".+\.java" lines="0-9999" />
+  <suppress checks="LineLength" files="BeanPropertySetterRule.java" lines="138" />
+  <suppress checks="LineLength" files="DefaultAnnotationHandlerFactory.java" lines="37" />
+</suppressions>
diff --git a/pom.xml b/pom.xml
index 8e5e9e1..c1eabd0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -304,6 +304,8 @@
         <configuration>
           <configLocation>config/maven_checks.xml</configLocation>
           <headerLocation>config/maven-header.txt</headerLocation>
+          <suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation>
+          <suppressionsFileExpression>${basedir}/checkstyle-suppressions.xml</suppressionsFileExpression>
         </configuration>
       </plugin>
       <plugin>