You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2015/05/07 16:46:35 UTC

[2/2] [math] Updated build system (checkstyl and pom).

Updated build system (checkstyl and pom).

Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/cf462bc5
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/cf462bc5
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/cf462bc5

Branch: refs/heads/MATH_3_X
Commit: cf462bc5d5a90f473290e7a502a5e5b3934531a5
Parents: 12a6981
Author: Luc Maisonobe <lu...@apache.org>
Authored: Thu May 7 16:44:17 2015 +0200
Committer: Luc Maisonobe <lu...@apache.org>
Committed: Thu May 7 16:44:17 2015 +0200

----------------------------------------------------------------------
 checkstyle.xml |  9 +--------
 pom.xml        | 10 +++++-----
 2 files changed, 6 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/cf462bc5/checkstyle.xml
----------------------------------------------------------------------
diff --git a/checkstyle.xml b/checkstyle.xml
index 5549177..444f84f 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -25,8 +25,6 @@
 
   <module name="TreeWalker">
 
-    <property name="cacheFile" value="target/checkstyle-cachefile"/>
-
     <!-- Operator must be at end of wrapped line -->
     <module name="OperatorWrap">
       <property name="option" value="eol"/>
@@ -45,14 +43,9 @@
     <module name="JavadocMethod">
       <property name="allowUndeclaredRTE" value="true"/>
       <property name="allowThrowsTagsForSubclasses" value="true"/>
+      <property name="validateThrows" value="false"/>
     </module>
 
-   <!-- Allow declaration of detailed exception set -->
-   <module name="RedundantThrows">
-     <property name="allowUnchecked"  value="true"/>
-     <property name="allowSubclasses" value="true"/>
-   </module>
-        
     <!-- Require field javadoc -->
     <module name="JavadocVariable"/>
         

http://git-wip-us.apache.org/repos/asf/commons-math/blob/cf462bc5/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6820934..d270185 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,7 +19,7 @@
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-parent</artifactId>
-    <version>34</version>
+    <version>37</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.commons</groupId>
@@ -386,12 +386,12 @@
     <maven.compiler.source>1.5</maven.compiler.source>
     <maven.compiler.target>1.5</maven.compiler.target>
     <math.pmd.version>2.7.1</math.pmd.version>
-    <math.findbugs.version>2.5.1</math.findbugs.version>
-    <math.checkstyle.version>2.9.1</math.checkstyle.version>
+    <math.findbugs.version>3.0.1</math.findbugs.version>
+    <math.checkstyle.version>2.15</math.checkstyle.version>
     <math.clirr.version>2.6.1</math.clirr.version>
 
     <!-- Temporary fix to support Java 8 -->
-    <commons.jacoco.version>0.7.2.201409121644</commons.jacoco.version>
+    <commons.jacoco.version>0.7.4.201502262128</commons.jacoco.version>
     <commons.jacoco.classRatio>0.96</commons.jacoco.classRatio>
     <commons.jacoco.instructionRatio>0.8</commons.jacoco.instructionRatio>
     <commons.jacoco.methodRatio>0.8</commons.jacoco.methodRatio>
@@ -406,7 +406,7 @@
 
     <!-- Temporary fix to replace svn-based build number with git-based build number -->
     <buildnumber.skip>true</buildnumber.skip>
-    <math.jgit.buildnumber.version>1.2.8</math.jgit.buildnumber.version>
+    <math.jgit.buildnumber.version>1.2.10</math.jgit.buildnumber.version>
     <implementation.build>${git.revision}; ${maven.build.timestamp}</implementation.build>
 
   </properties>