You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2010/09/26 18:11:06 UTC
svn commit: r1001465 - in /directory/shared/trunk: i18n/src/checkstyle/
i18n/src/checkstyle/suppressions.xml pom.xml
Author: seelmann
Date: Sun Sep 26 16:11:06 2010
New Revision: 1001465
URL: http://svn.apache.org/viewvc?rev=1001465&view=rev
Log:
o added support for checkstyle suppressions
o exclude variables in 18n from Javadoc check
Added:
directory/shared/trunk/i18n/src/checkstyle/
directory/shared/trunk/i18n/src/checkstyle/suppressions.xml
Modified:
directory/shared/trunk/pom.xml
Added: directory/shared/trunk/i18n/src/checkstyle/suppressions.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/i18n/src/checkstyle/suppressions.xml?rev=1001465&view=auto
==============================================================================
--- directory/shared/trunk/i18n/src/checkstyle/suppressions.xml (added)
+++ directory/shared/trunk/i18n/src/checkstyle/suppressions.xml Sun Sep 26 16:11:06 2010
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+
+<!--
+ 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.1//EN"
+ "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
+
+<suppressions>
+ <suppress checks="JavadocVariable"
+ files="I18n.java"/>
+</suppressions>
Modified: directory/shared/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/pom.xml?rev=1001465&r1=1001464&r2=1001465&view=diff
==============================================================================
--- directory/shared/trunk/pom.xml (original)
+++ directory/shared/trunk/pom.xml Sun Sep 26 16:11:06 2010
@@ -385,6 +385,8 @@
<version>2.6</version>
<configuration>
<configLocation>directory-checks.xml</configLocation>
+ <suppressionsLocation>${basedir}/src/checkstyle/suppressions.xml</suppressionsLocation>
+ <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
<xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
</configuration>
</plugin>