onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marcospera...@apache.org
Subject svn commit: r1435874 - in /incubator/onami/trunk/test: checkstyle-suppressions.xml pom.xml
Date Sun, 20 Jan 2013 16:20:25 GMT
Author: marcosperanza
Date: Sun Jan 20 16:20:25 2013
New Revision: 1435874

URL: http://svn.apache.org/viewvc?rev=1435874&view=rev
Log:
ONAMI-59 Add checkstyle suppressions file

Added:
    incubator/onami/trunk/test/checkstyle-suppressions.xml   (with props)
Modified:
    incubator/onami/trunk/test/pom.xml

Added: incubator/onami/trunk/test/checkstyle-suppressions.xml
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/test/checkstyle-suppressions.xml?rev=1435874&view=auto
==============================================================================
--- incubator/onami/trunk/test/checkstyle-suppressions.xml (added)
+++ incubator/onami/trunk/test/checkstyle-suppressions.xml Sun Jan 20 16:20:25 2013
@@ -0,0 +1,25 @@
+<?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=".+\.java" lines="0-9999" />
+</suppressions>

Propchange: incubator/onami/trunk/test/checkstyle-suppressions.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/onami/trunk/test/checkstyle-suppressions.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/onami/trunk/test/checkstyle-suppressions.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/onami/trunk/test/pom.xml
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/test/pom.xml?rev=1435874&r1=1435873&r2=1435874&view=diff
==============================================================================
--- incubator/onami/trunk/test/pom.xml (original)
+++ incubator/onami/trunk/test/pom.xml Sun Jan 20 16:20:25 2013
@@ -155,4 +155,17 @@
     </plugins>
   </build>
 
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <version>2.9.1</version>
+        <configuration>
+          <suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation>
+          <suppressionsFileExpression>${basedir}/checkstyle-suppressions.xml</suppressionsFileExpression>
+        </configuration>
+      </plugin>
+    </plugins>
+  </reporting>
 </project>



Mime
View raw message