Author: tfischer
Date: Sun May 5 20:21:27 2013
New Revision: 1479375
URL: http://svn.apache.org/r1479375
Log:
add checkstyle suppression file for suppressing checks int he template typed
model.
Added:
db/torque/torque4/trunk/src/main/checkstyle/checkstyle-suppressions.xml
Modified:
db/torque/torque4/trunk/pom.xml
db/torque/torque4/trunk/src/main/checkstyle/checkstyle.xml
Modified: db/torque/torque4/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/pom.xml?rev=1479375&r1=1479374&r2=1479375&view=diff
==============================================================================
--- db/torque/torque4/trunk/pom.xml (original)
+++ db/torque/torque4/trunk/pom.xml Sun May 5 20:21:27 2013
@@ -389,6 +389,7 @@
<configuration>
<configLocation>${basedir}/../src/main/checkstyle/checkstyle.xml</configLocation>
<headerLocation>${basedir}/../src/main/checkstyle/license-header.txt</headerLocation>
+
<suppressionLocation>${basedir}/../src/main/checkstyle/checkstyle-suppressions.xml</suppressionLocation>
</configuration>
</plugin>
<plugin>
Added: db/torque/torque4/trunk/src/main/checkstyle/checkstyle-suppressions.xml
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/src/main/checkstyle/checkstyle-suppressions.xml?rev=1479375&view=auto
==============================================================================
--- db/torque/torque4/trunk/src/main/checkstyle/checkstyle-suppressions.xml
(added)
+++ db/torque/torque4/trunk/src/main/checkstyle/checkstyle-suppressions.xml Sun
May 5 20:21:27 2013
@@ -0,0 +1,43 @@
+<?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 [
+<!ELEMENT suppressions (suppress*)>
+
+<!ELEMENT suppress EMPTY>
+<!ATTLIST suppress files CDATA #REQUIRED
+ checks CDATA #IMPLIED
+ id CDATA #IMPLIED
+ lines CDATA #IMPLIED
+ columns CDATA #IMPLIED>
+]>
+
+<!--
+
+ Checkstyle suppressions file
+-->
+
+<suppressions>
+ <!-- model may have public fields -->
+ <suppress files="org[\\/]apache[\\/]torque[\\/]templates[\\/]model[\\/]"
+ checks="VisibilityModifierCheck" />
+ <!-- model may have fields starting with underscores-->
+ <suppress files="org[\\/]apache[\\/]torque[\\/]templates[\\/]model[\\/]"
+ checks="MemberNameCheck" />
+</suppressions>
Modified: db/torque/torque4/trunk/src/main/checkstyle/checkstyle.xml
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/src/main/checkstyle/checkstyle.xml?rev=1479375&r1=1479374&r2=1479375&view=diff
==============================================================================
--- db/torque/torque4/trunk/src/main/checkstyle/checkstyle.xml (original)
+++ db/torque/torque4/trunk/src/main/checkstyle/checkstyle.xml Sun May 5
20:21:27 2013
@@ -53,6 +53,9 @@
<property name="severity" value="warning"/>
<property name="localeCountry" value="US" />
<property name="localeLanguage" value="en" />
+ <module name="SuppressionFilter">
+ <property name="file" value="${checkstyle.suppressions.file}"/>
+ </module>
<!--
Checks that a package documentation exists for each package.
@@ -223,7 +226,7 @@
</module>
<module name="TodoComment"/>
<module name="UpperEll"/>
-
+
</module>
</module>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]