commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1553828 - in /commons/proper/exec/trunk: pmd.xml pom.xml
Date Sat, 28 Dec 2013 14:14:02 GMT
Author: ggregory
Date: Sat Dec 28 14:14:02 2013
New Revision: 1553828

URL: http://svn.apache.org/r1553828
Log:
- Add PMD report.
- findbugs-maven-plugin 2.5.2 -> 2.5.3.
- cobertura-maven-plugin 2.0 -> 2.6.

Added:
    commons/proper/exec/trunk/pmd.xml   (with props)
Modified:
    commons/proper/exec/trunk/pom.xml

Added: commons/proper/exec/trunk/pmd.xml
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/pmd.xml?rev=1553828&view=auto
==============================================================================
--- commons/proper/exec/trunk/pmd.xml (added)
+++ commons/proper/exec/trunk/pmd.xml Sat Dec 28 14:14:02 2013
@@ -0,0 +1,26 @@
+<?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.
+-->
+<ruleset name="mybraces"
+    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>Excludes from default PMD rules.</description>
+  <rule ref="rulesets/java/unusedcode.xml">
+    <exclude name="UnnecessaryParentheses"/>
+  </rule>
+</ruleset>
\ No newline at end of file

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

Propchange: commons/proper/exec/trunk/pmd.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: commons/proper/exec/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/pom.xml?rev=1553828&r1=1553827&r2=1553828&view=diff
==============================================================================
--- commons/proper/exec/trunk/pom.xml (original)
+++ commons/proper/exec/trunk/pom.xml Sat Dec 28 14:14:02 2013
@@ -147,26 +147,22 @@
     </distributionManagement>
     <reporting>
         <plugins>
-            <!-- generate the changes report from changes.xml -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-changes-plugin</artifactId>
-                <version>2.0</version>
-                <configuration>
-                    <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
-                </configuration>
-                <reportSets>
-                    <reportSet>
-                        <reports>
-                            <report>changes-report</report>
-                        </reports>
-                    </reportSet>
-                </reportSets>
+           <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-pmd-plugin</artifactId>
+              <version>3.0.1</version>
+              <configuration>
+                <targetJdk>${maven.compiler.target}</targetJdk>
+                <linkXref>true</linkXref>
+                <rulesets>
+                  <ruleset>${basedir}/pmd.xml</ruleset>
+                </rulesets>
+              </configuration>
             </plugin>
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>findbugs-maven-plugin</artifactId>
-                <version>2.5.2</version>
+                <version>2.5.3</version>
                 <configuration>
                     <threshold>Normal</threshold>
                     <effort>Default</effort>
@@ -192,7 +188,7 @@
                     <plugin>
                         <groupId>org.codehaus.mojo</groupId>
                         <artifactId>cobertura-maven-plugin</artifactId>
-                        <version>2.0</version>
+                        <version>2.6</version>
                     </plugin>
                 </plugins>
             </reporting>



Mime
View raw message