commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hen...@apache.org
Subject svn commit: r929437 - in /commons/proper/jexl/trunk: pom.xml src/main/config/findbugs-exclude-filter.xml
Date Wed, 31 Mar 2010 08:53:57 GMT
Author: henrib
Date: Wed Mar 31 08:53:56 2010
New Revision: 929437

URL: http://svn.apache.org/viewvc?rev=929437&view=rev
Log:
Prepare for 2.0.1 RC2:
- Updated findbugs spec to exclude generated sources

Added:
    commons/proper/jexl/trunk/src/main/config/findbugs-exclude-filter.xml   (with props)
Modified:
    commons/proper/jexl/trunk/pom.xml

Modified: commons/proper/jexl/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/pom.xml?rev=929437&r1=929436&r2=929437&view=diff
==============================================================================
--- commons/proper/jexl/trunk/pom.xml (original)
+++ commons/proper/jexl/trunk/pom.xml Wed Mar 31 08:53:56 2010
@@ -117,7 +117,7 @@
         <commons.componentid>jexl</commons.componentid>
         <commons.release.version>2.0.1</commons.release.version>
         <!-- The RC version used in the staging repository URL. -->
-        <commons.rc.version>RC1</commons.rc.version>
+        <commons.rc.version>RC2</commons.rc.version>
         <commons.release.2.version>1.1</commons.release.2.version>
         <commons.release.2.binary.suffix />
         <commons.jira.id>JEXL</commons.jira.id>
@@ -257,10 +257,7 @@
                 <artifactId>findbugs-maven-plugin</artifactId>
                 <version>2.3.1</version>
                 <configuration>
-                        <excludes>
-                            <exclude>org/apache/commons/jexl2/parser/*.class</exclude>
-                            <exclude>org/apache/commons/jexl2/**/*Test.class</exclude>
-                        </excludes>
+	            <excludeFilterFile>${basedir}/src/main/config/findbugs-exclude-filter.xml</excludeFilterFile>
                     <xmlOutput>true</xmlOutput>
                     <!-- Optional directory to put findbugs xdoc xml report -->
                     <xmlOutputDirectory>target/site</xmlOutputDirectory>
@@ -273,8 +270,7 @@
                 <configuration>
                     <targetJdk>1.5</targetJdk>
                     <excludes>
-                        <exclude>org/apache/commons/jexl2/parser/*.class</exclude>
-                        <exclude>org/apache/commons/jexl2/**/*Test.class</exclude>
+                        <excludes>**/generated-sources/**/*</excludes>
                     </excludes>
                     <rulesets>
                         <ruleset>/rulesets/braces.xml</ruleset>
@@ -327,6 +323,17 @@
                 </site>
             </distributionManagement>
         </profile>
+        <profile>
+            <id>henrib</id>
+            <distributionManagement>
+                <!-- RC site deployment profile -->
+                <site>
+                    <id>apache.website</id>
+                    <name>Apache Commons Release Candidate Staging Site</name>
+                    <url>${commons.deployment.protocol}://people.apache.org/home/henrib/public_html/${commons.componentid}-${commons.release.version}-${commons.rc.version}/site</url>
+                </site>
+            </distributionManagement>
+        </profile>
     </profiles>
 
 </project>
\ No newline at end of file

Added: commons/proper/jexl/trunk/src/main/config/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/config/findbugs-exclude-filter.xml?rev=929437&view=auto
==============================================================================
--- commons/proper/jexl/trunk/src/main/config/findbugs-exclude-filter.xml (added)
+++ commons/proper/jexl/trunk/src/main/config/findbugs-exclude-filter.xml Wed Mar 31 08:53:56
2010
@@ -0,0 +1,42 @@
+<?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.
+-->
+
+<!--
+  This file removes JavaCC generated classes from being analyzed by findbugs.
+  Having no way to influence their generation, instructing findbugs to ignore them reduces
clutter.
+-->
+<FindBugsFilter>
+    <Match>
+        <Class name="org.apache.commons.jexl2.parser.ParseException"/>
+    </Match>
+    <Match>
+        <Class name="org.apache.commons.jexl2.parser.Parser"/>
+    </Match>
+    <Match>
+        <Class name="org.apache.commons.jexl2.parser.ParserConstants"/>
+    </Match>
+    <Match>
+        <Class name="org.apache.commons.jexl2.parser.ParserTokenManager"/>
+    </Match>
+    <Match>
+        <Class name="org.apache.commons.jexl2.parser.ParserTreeConstants"/>
+    </Match>
+    <Match>
+        <Class name="org.apache.commons.jexl2.parser.TokenMgrError"/>
+    </Match>
+</FindBugsFilter>

Propchange: commons/proper/jexl/trunk/src/main/config/findbugs-exclude-filter.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message