cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [2/2] git commit: Add some exclude patters for file types we know PMD doesn't need to check
Date Fri, 23 May 2014 17:09:59 GMT
Add some exclude patters for file types we know PMD doesn't need to check


Project: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/commit/bd64ac5b
Tree: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/tree/bd64ac5b
Diff: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/diff/bd64ac5b

Branch: refs/heads/master
Commit: bd64ac5b47bd068d5c5907a5ec6b0b3aedc7c3cc
Parents: c340f2a
Author: Daniel Kulp <dkulp@apache.org>
Authored: Fri May 23 13:09:30 2014 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Fri May 23 13:09:30 2014 -0400

----------------------------------------------------------------------
 .../src/main/resources/cxf-pmd-ruleset-generated.xml   | 13 ++++++++++---
 buildtools/src/main/resources/cxf-pmd-ruleset.xml      |  8 ++++++++
 2 files changed, 18 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-build-utils/blob/bd64ac5b/buildtools/src/main/resources/cxf-pmd-ruleset-generated.xml
----------------------------------------------------------------------
diff --git a/buildtools/src/main/resources/cxf-pmd-ruleset-generated.xml b/buildtools/src/main/resources/cxf-pmd-ruleset-generated.xml
index d6b0e68..349a8cc 100644
--- a/buildtools/src/main/resources/cxf-pmd-ruleset-generated.xml
+++ b/buildtools/src/main/resources/cxf-pmd-ruleset-generated.xml
@@ -29,9 +29,16 @@
 <ruleset name="pmd-cxf-eclipse-generated" xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
-        <description>CXF PMD Plugin preferences rule set</description>
-        
-
+    <description>CXF PMD Plugin preferences rule set</description>
+
+    <exclude-pattern>.*.xml</exclude-pattern>
+    <exclude-pattern>.*.xsl</exclude-pattern>
+    <exclude-pattern>.*.wsdl</exclude-pattern>
+    <exclude-pattern>.*.xsd</exclude-pattern>
+    <exclude-pattern>.*.html</exclude-pattern>
+    <exclude-pattern>.*.class</exclude-pattern>
+    <exclude-pattern>.*.txt</exclude-pattern>
+    <exclude-pattern>.*NOTICE</exclude-pattern>
 
     <rule ref="rulesets/java/basic.xml/BooleanInstantiation"/>
     <rule ref="rulesets/java/basic.xml/CollapsibleIfStatements"/>

http://git-wip-us.apache.org/repos/asf/cxf-build-utils/blob/bd64ac5b/buildtools/src/main/resources/cxf-pmd-ruleset.xml
----------------------------------------------------------------------
diff --git a/buildtools/src/main/resources/cxf-pmd-ruleset.xml b/buildtools/src/main/resources/cxf-pmd-ruleset.xml
index 500a755..afefe51 100644
--- a/buildtools/src/main/resources/cxf-pmd-ruleset.xml
+++ b/buildtools/src/main/resources/cxf-pmd-ruleset.xml
@@ -22,6 +22,14 @@
     xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
     <description>CXF PMD Plugin preferences rule set</description>
 
+    <exclude-pattern>.*.xml</exclude-pattern>
+    <exclude-pattern>.*.xsl</exclude-pattern>
+    <exclude-pattern>.*.wsdl</exclude-pattern>
+    <exclude-pattern>.*.xsd</exclude-pattern>
+    <exclude-pattern>.*.html</exclude-pattern>
+    <exclude-pattern>.*.class</exclude-pattern>
+    <exclude-pattern>.*.txt</exclude-pattern>
+    <exclude-pattern>.*NOTICE</exclude-pattern>
 
     <rule ref="rulesets/java/basic.xml/BooleanInstantiation"/>
     <rule ref="rulesets/java/basic.xml/CollapsibleIfStatements"/>


Mime
View raw message