You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/05/23 21:10:14 UTC

[commons-configuration] branch master updated: - Replace Cobertura 2.1.1 with JaCoCo since Cobertura blows up on Java 8 default methods. - Remove Clirr since it gives a false positive for new Java 8 default methods. - Fix Javadoc warning by adding a Javadoc link to Spring's Javadoc. - Set JApiCmp for 0.13.1 because 0.14.0 blows up with an NPE.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-configuration.git


The following commit(s) were added to refs/heads/master by this push:
     new 68e832c  - Replace Cobertura 2.1.1 with JaCoCo since Cobertura blows up on Java 8 default methods. - Remove Clirr since it gives a false positive for new Java 8 default methods. - Fix Javadoc warning by adding a Javadoc link to Spring's Javadoc. - Set JApiCmp for 0.13.1 because 0.14.0 blows up with an NPE.
68e832c is described below

commit 68e832c7c4f948436de01a3b43ca8ed213e882b5
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu May 23 17:10:10 2019 -0400

    - Replace Cobertura 2.1.1 with JaCoCo since Cobertura blows up on Java 8
    default methods.
    - Remove Clirr since it gives a false positive for new Java 8 default
    methods.
    - Fix Javadoc warning by adding a Javadoc link to Spring's Javadoc.
    - Set JApiCmp for 0.13.1 because 0.14.0 blows up with an NPE.
---
 pom.xml | 38 ++++++++++++++++++++++++--------------
 1 file changed, 24 insertions(+), 14 deletions(-)

diff --git a/pom.xml b/pom.xml
index dcac558..7f63dbe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -568,8 +568,9 @@
 
     <!-- generate report even if there are binary incompatible changes -->
     <commons.japicmp.breakBuildOnBinaryIncompatibleModifications>false</commons.japicmp.breakBuildOnBinaryIncompatibleModifications>
-    <commons.japicmp.version>0.14.0</commons.japicmp.version>
+    <commons.japicmp.version>0.13.1</commons.japicmp.version>
     <japicmp.skip>false</japicmp.skip>
+    <commons.jacoco.version>0.8.4</commons.jacoco.version>
 
     <!-- Commons Release Plugin -->
     <commons.bc.version>2.4</commons.bc.version>
@@ -746,6 +747,7 @@
           <failOnError>false</failOnError>
           <links>
             <link>https://docs.oracle.com/javase/8/docs/api/</link>
+            <link>https://docs.spring.io/spring/docs/${spring.version}/javadoc-api/</link>
           </links>
         </configuration>
       </plugin>
@@ -855,19 +857,8 @@
         </configuration>
       </plugin>
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>cobertura-maven-plugin</artifactId>
-        <version>2.7</version>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>clirr-maven-plugin</artifactId>
-        <version>2.8</version>
-        <configuration>
-          <excludes>
-            <exclude>org/apache/commons/configuration2/plist/PropertyListParser*</exclude>
-          </excludes>
-        </configuration>
+        <groupId>org.jacoco</groupId>
+        <artifactId>jacoco-maven-plugin</artifactId>
       </plugin>
       <plugin>
         <artifactId>maven-javadoc-plugin</artifactId>
@@ -889,6 +880,7 @@
               <failOnError>false</failOnError>
               <links>
                 <link>https://docs.oracle.com/javase/8/docs/api/</link>
+                <link>https://docs.spring.io/spring/docs/${spring.version}/javadoc-api/</link>
               </links>
               <!-- Disable Doclint since the Javadoc in the generated code does not comply. -->
               <doclint>none</doclint>
@@ -899,9 +891,27 @@
           <failOnError>false</failOnError>
           <links>
             <link>https://docs.oracle.com/javase/8/docs/api/</link>
+            <link>https://docs.spring.io/spring/docs/${spring.version}/javadoc-api/</link>
           </links>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>com.github.siom79.japicmp</groupId>
+        <artifactId>japicmp-maven-plugin</artifactId>
+        <version>${commons.japicmp.version}</version>
+        <configuration>
+          <parameter>
+            <onlyModified>true</onlyModified>
+            <breakBuildOnBinaryIncompatibleModifications>${commons.japicmp.breakBuildOnBinaryIncompatibleModifications}</breakBuildOnBinaryIncompatibleModifications>
+            <breakBuildOnSourceIncompatibleModifications>${commons.japicmp.breakBuildOnSourceIncompatibleModifications}</breakBuildOnSourceIncompatibleModifications>
+            <!-- skip japicmp on "mvn site" - use "mvn package site" to include report -->
+            <skipPomModules>true</skipPomModules>
+            <ignoreMissingNewVersion>true</ignoreMissingNewVersion>
+            <reportOnlyFilename>true</reportOnlyFilename>
+            <ignoreMissingClasses>true</ignoreMissingClasses>
+          </parameter>
+        </configuration>
+      </plugin>      
     </plugins>
   </reporting>