commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1150547 - in /commons/proper/compress/trunk: pmd-ruleset.xml pom.xml
Date Mon, 25 Jul 2011 04:58:34 GMT
Author: bodewig
Date: Mon Jul 25 04:58:33 2011
New Revision: 1150547

URL: http://svn.apache.org/viewvc?rev=1150547&view=rev
Log:
disable AvoidUsingOctalValues rule as we have lots of octal constants

Added:
    commons/proper/compress/trunk/pmd-ruleset.xml   (with props)
Modified:
    commons/proper/compress/trunk/pom.xml

Added: commons/proper/compress/trunk/pmd-ruleset.xml
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/pmd-ruleset.xml?rev=1150547&view=auto
==============================================================================
--- commons/proper/compress/trunk/pmd-ruleset.xml (added)
+++ commons/proper/compress/trunk/pmd-ruleset.xml Mon Jul 25 04:58:33 2011
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<ruleset name="compress"
+    xmlns="http://pmd.sf.net/ruleset/1.0.0"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
+    xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
+  <description>Standard Ruleset but excluding the "no octal
+    constants" rule</description>
+  <rule ref="rulesets/basic.xml">
+    <exclude name="AvoidUsingOctalValues"/>
+  </rule>
+  <rule ref="rulesets/finalizers.xml"/>
+  <rule ref="rulesets/imports.xml"/>
+  <rule ref="rulesets/unusedcode.xml"/>
+</ruleset>

Propchange: commons/proper/compress/trunk/pmd-ruleset.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: commons/proper/compress/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/pom.xml?rev=1150547&r1=1150546&r2=1150547&view=diff
==============================================================================
--- commons/proper/compress/trunk/pom.xml (original)
+++ commons/proper/compress/trunk/pom.xml Mon Jul 25 04:58:33 2011
@@ -181,10 +181,7 @@
           <minimumTokens>200</minimumTokens>
           <targetJdk>${maven.compile.source}</targetJdk>
           <rulesets>
-            <ruleset>/rulesets/basic.xml</ruleset>
-            <ruleset>/rulesets/finalizers.xml</ruleset>
-            <ruleset>/rulesets/imports.xml</ruleset>
-            <ruleset>/rulesets/unusedcode.xml</ruleset>
+            <ruleset>${basedir}/pmd-ruleset.xml</ruleset>
           </rulesets>
         </configuration>
       </plugin>



Mime
View raw message