You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2015/08/24 03:27:30 UTC

svn commit: r1697294 - in /commons/proper/net/trunk: checkstyle.xml pom.xml

Author: sebb
Date: Mon Aug 24 01:27:29 2015
New Revision: 1697294

URL: http://svn.apache.org/r1697294
Log:
Latest checkstyle tool

Modified:
    commons/proper/net/trunk/checkstyle.xml
    commons/proper/net/trunk/pom.xml

Modified: commons/proper/net/trunk/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/checkstyle.xml?rev=1697294&r1=1697293&r2=1697294&view=diff
==============================================================================
--- commons/proper/net/trunk/checkstyle.xml (original)
+++ commons/proper/net/trunk/checkstyle.xml Mon Aug 24 01:27:29 2015
@@ -73,6 +73,7 @@ limitations under the License.
     <module name="EmptyBlock">
       <property name="option" value="text"/>
     </module>
+    <module name="EmptyCatchBlock"></module>
 
     <!-- TEMP
     <module name="RedundantThrows">

Modified: commons/proper/net/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/pom.xml?rev=1697294&r1=1697293&r2=1697294&view=diff
==============================================================================
--- commons/proper/net/trunk/pom.xml (original)
+++ commons/proper/net/trunk/pom.xml Mon Aug 24 01:27:29 2015
@@ -182,6 +182,7 @@ Supported protocols include: Echo, Finge
         <commons.jira.id>NET</commons.jira.id>
         <commons.jira.pid>12310487</commons.jira.pid>
         <checkstyle.plugin.version>2.16</checkstyle.plugin.version>
+        <checkstyle.tool.version>6.9</checkstyle.tool.version>
         <commons.changes.onlyCurrentVersion>true</commons.changes.onlyCurrentVersion>
     </properties>
 
@@ -204,6 +205,18 @@ Supported protocols include: Echo, Finge
                 <artifactId>build-helper-maven-plugin</artifactId>
                 <version>1.9.1</version>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <version>${checkstyle.plugin.version}</version>
+                <dependencies>
+                  <dependency>
+                    <groupId>com.puppycrawl.tools</groupId>
+                    <artifactId>checkstyle</artifactId>
+                    <version>${checkstyle.tool.version}</version>
+                  </dependency>
+                </dependencies>
+            </plugin>
           </plugins>
         </pluginManagement>
         <plugins>