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 2018/05/09 00:12:18 UTC

[3/3] commons-dbcp git commit: Prepare for 2.3.0 release.

Prepare for 2.3.0 release.

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

Branch: refs/heads/release
Commit: 96466c6bf8057917db79fa2cc4333e2c3b8ca9d0
Parents: 1a6f938
Author: Gary Gregory <ga...@gmail.com>
Authored: Tue May 8 15:26:19 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Tue May 8 15:26:19 2018 -0600

----------------------------------------------------------------------
 pom.xml | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/96466c6b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index dae81b9..26aa9a8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -248,6 +248,7 @@
     <commons.pool.version>2.5.0</commons.pool.version>
     <!-- See DBCP-445 and DBCP-454 -->
     <commons.osgi.import>javax.transaction;version="1.1.0",javax.transaction.xa;version="1.1.0";partial=true;mandatory:=partial,*</commons.osgi.import>
+    <commons.japicmp.ignoreMissingClasses>true</commons.japicmp.ignoreMissingClasses>
   </properties>
 
   <build>
@@ -330,6 +331,40 @@
   <reporting>
     <plugins>
       <plugin>
+        <groupId>com.github.siom79.japicmp</groupId>
+        <artifactId>japicmp-maven-plugin</artifactId>
+        <version>${commons.japicmp.version}</version>
+        <reportSets>
+          <reportSet>
+            <reports>
+<!-- This is the only way I could find to skip generating this report -->
+<!-- Version 0.11.1 throws an exception because it cannot find a Geronimo class -->
+<!-- Version 0.12.0 throws an NullPointerException because it seems Maven did not inject the report Mojo with any values-->            
+<!--               <report>cmp-report</report> -->
+            </reports>
+          </reportSet>
+        </reportSets>
+        <configuration>
+          <parameter>
+            <onlyModified>true</onlyModified>
+            <breakBuildOnBinaryIncompatibleModifications>${commons.japicmp.breakBuildOnBinaryIncompatibleModifications}</breakBuildOnBinaryIncompatibleModifications>
+            <!-- skip japicmp on "mvn site" - use "mvn package site" to include report -->
+            <ignoreMissingNewVersion>true</ignoreMissingNewVersion>
+            <reportOnlyFilename>true</reportOnlyFilename>
+            <skipPomModules>true</skipPomModules>
+            <ignoreMissingClasses>${commons.japicmp.ignoreMissingClasses}</ignoreMissingClasses>
+            <oldVersionPattern>2.2.0</oldVersionPattern>
+          </parameter>
+          <dependencies>
+            <dependency>
+              <groupId>org.apache.geronimo.specs</groupId>
+              <artifactId>geronimo-jta_1.1_spec</artifactId>
+              <version>1.1.1</version>
+            </dependency>
+          </dependencies>
+        </configuration>
+      </plugin>    
+      <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>findbugs-maven-plugin</artifactId>
         <version>3.0.5</version>