You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2016/05/20 13:23:01 UTC
svn commit: r1744734 - in /commons/proper/codec/trunk:
checkstyle-suppressions.xml checkstyle.xml src/assembly/src.xml
Author: sebb
Date: Fri May 20 13:23:01 2016
New Revision: 1744734
URL: http://svn.apache.org/viewvc?rev=1744734&view=rev
Log:
Add checkstyle suppression filter
Added:
commons/proper/codec/trunk/checkstyle-suppressions.xml (with props)
Modified:
commons/proper/codec/trunk/checkstyle.xml
commons/proper/codec/trunk/src/assembly/src.xml
Added: commons/proper/codec/trunk/checkstyle-suppressions.xml
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/checkstyle-suppressions.xml?rev=1744734&view=auto
==============================================================================
--- commons/proper/codec/trunk/checkstyle-suppressions.xml (added)
+++ commons/proper/codec/trunk/checkstyle-suppressions.xml Fri May 20 13:23:01 2016
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+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.
+-->
+
+<!DOCTYPE suppressions PUBLIC
+ "-//Puppy Crawl//DTD Suppressions 1.0//EN"
+ "http://www.puppycrawl.com/dtds/suppressions_1_0.dtd">
+
+<suppressions>
+ <suppress checks="Header" files="LICENSE.txt"/>
+ <suppress checks="Header" files="NOTICE.txt"/>
+</suppressions>
Propchange: commons/proper/codec/trunk/checkstyle-suppressions.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: commons/proper/codec/trunk/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/checkstyle.xml?rev=1744734&r1=1744733&r2=1744734&view=diff
==============================================================================
--- commons/proper/codec/trunk/checkstyle.xml (original)
+++ commons/proper/codec/trunk/checkstyle.xml Fri May 20 13:23:01 2016
@@ -24,6 +24,10 @@ limitations under the License.
<module name="Checker">
<property name="localeLanguage" value="en" />
+ <module name="SuppressionFilter">
+ <property name="file" value="checkstyle-suppressions.xml"/>
+ </module>
+
<!-- Checks whether files end with a new line. -->
<!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
<module name="NewlineAtEndOfFile" />
Modified: commons/proper/codec/trunk/src/assembly/src.xml
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/assembly/src.xml?rev=1744734&r1=1744733&r2=1744734&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/assembly/src.xml (original)
+++ commons/proper/codec/trunk/src/assembly/src.xml Fri May 20 13:23:01 2016
@@ -24,10 +24,7 @@
<fileSets>
<fileSet>
<includes>
- <include>build.properties.sample</include>
- <include>build.xml</include>
- <include>checkstyle.xml</include>
- <include>default.properties</include>
+ <include>checkstyle*.xml</include>
<include>LICENSE.txt</include>
<include>LICENSE-header.txt</include>
<include>NOTICE.txt</include>