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 2021/05/31 15:35:01 UTC

[commons-dbcp] branch master updated (1d778eb -> 7b320db)

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

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


    from 1d778eb  Bump commons.jacoco.version 0.8.6 -> 0.8.7.
     new fc19280  Replace FindBugs with SpotBugs.
     new b6bf016  Updates for 2.9.0 and 2.8.0.
     new 7865411  Remove dead Ant build documentation.
     new 7b320db  Fix team URL path.

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml                    | 29 +++++++++++++++++++++--------
 src/changes/changes.xml    | 19 +++++++++++--------
 src/site/site.xml          |  2 +-
 src/site/xdoc/building.xml |  8 --------
 src/site/xdoc/index.xml    | 42 ++++++++++++++++++++++++------------------
 5 files changed, 57 insertions(+), 43 deletions(-)

[commons-dbcp] 04/04: Fix team URL path.

Posted by gg...@apache.org.
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-dbcp.git

commit 7b320dbc2c3386f209bee217060936946c19dea4
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon May 31 11:34:38 2021 -0400

    Fix team URL path.
---
 src/site/site.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/site/site.xml b/src/site/site.xml
index b9c906a..a1db4f0 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -44,7 +44,7 @@
         <item name="Building"               href="/building.html"/>
         <item name="Mailing&#xA0;Lists"     href="/mail-lists.html"/>
         <item name="Issue&#xA0;Tracking"    href="/issue-tracking.html"/>
-        <item name="Team"                   href="/team-list.html"/>
+        <item name="Team"                   href="/team.html"/>
         <item name="Source&#xA0;Repository" href="/scm.html"/>
       </menu>
 

[commons-dbcp] 01/04: Replace FindBugs with SpotBugs.

Posted by gg...@apache.org.
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-dbcp.git

commit fc192806f36d97f12eaf340acb08546662d189ea
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon May 31 11:32:59 2021 -0400

    Replace FindBugs with SpotBugs.
---
 pom.xml                 | 29 +++++++++++++++++++++--------
 src/changes/changes.xml | 19 +++++++++++--------
 2 files changed, 32 insertions(+), 16 deletions(-)

diff --git a/pom.xml b/pom.xml
index 5baca8e..e476f32 100644
--- a/pom.xml
+++ b/pom.xml
@@ -330,6 +330,8 @@
     <!-- 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>
+    <spotbugs.plugin.version>4.2.3</spotbugs.plugin.version>
+    <spotbugs.impl.version>4.2.3</spotbugs.impl.version>
     <!-- Commons Release Plugin -->
     <commons.bc.version>2.8.0</commons.bc.version>
     <commons.release.isDistModule>true</commons.release.isDistModule>
@@ -337,7 +339,9 @@
     <commons.releaseManagerKey>86fdc7e2a11262cb</commons.releaseManagerKey>
 
     <japicmp.skip>false</japicmp.skip>
+    <spotbugs.skip>false</spotbugs.skip>
     <clirr.skip>true</clirr.skip>
+    <findbugs.skip>true</findbugs.skip>
   </properties>
 
   <build>
@@ -364,6 +368,21 @@
             <enableRulesSummary>false</enableRulesSummary>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>com.github.spotbugs</groupId>
+          <artifactId>spotbugs-maven-plugin</artifactId>
+          <version>${spotbugs.plugin.version}</version>
+          <dependencies>
+            <dependency>
+              <groupId>com.github.spotbugs</groupId>
+              <artifactId>spotbugs</artifactId>
+              <version>${spotbugs.impl.version}</version>
+            </dependency>
+          </dependencies>
+          <configuration>
+            <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>
@@ -451,14 +470,8 @@
         </configuration>
       </plugin>    
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>findbugs-maven-plugin</artifactId>
-        <version>3.0.5</version>
-        <configuration>
-          <threshold>Normal</threshold>
-          <effort>Default</effort>
-          <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
-        </configuration>
+        <groupId>com.github.spotbugs</groupId>
+        <artifactId>spotbugs-maven-plugin</artifactId>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index c8f5ae1..8a86c8d 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -62,33 +62,36 @@ The <action> type attribute can be add,update,fix,remove.
   <body>
     <release version="2.9.0" date="202Y-MM-DD" description="This is a minor release, including bug fixes and enhancements.">
       <!--  FIXES -->
-      <action dev="ggregory" type="update" issue="DBCP-569" due-to="Florent Guillaume">
+      <action dev="ggregory" type="fix" issue="DBCP-569" due-to="Florent Guillaume">
          Fix test random failure on TestSynchronizationOrder.testInterposedSynchronization, #84.
       </action>
       <action dev="ggregory" type="fix" issue="DBCP-568" due-to="Florent Guillaume">
          ManagedConnection must clear its cached state after transaction completes, #75.
       </action>
-      <action dev="ggregory" type="update" due-to="Arturo Bernal">
+      <action dev="ggregory" type="fix" due-to="Arturo Bernal">
         Minor Improvements #78.
       </action>
-      <action issue="DBCP-567" dev="ggregory" type="update" due-to="Phil Steitz, Gary Gregory, Phil Steitz, Romain Manni-Bucau">
+      <action issue="DBCP-567" dev="ggregory" type="fix" due-to="Phil Steitz, Gary Gregory, Phil Steitz, Romain Manni-Bucau">
         Use abort rather than close to clean up abandoned connections.
       </action>
-      <action dev="ggregory" type="update" due-to="Gary Gregory, DaGeRe">
+      <action dev="ggregory" type="fix" due-to="Gary Gregory, DaGeRe">
         Performance Enhancement: Call toArray with Zero Array Size #20.
       </action>
-      <action issue="DBCP-562" dev="ggregory" type="update" due-to="Frank Gasdorf, Gary Gregory">
+      <action issue="DBCP-562" dev="ggregory" type="fix" due-to="Frank Gasdorf, Gary Gregory">
         Avoid exposing password via JMX #38.
       </action>
-      <action issue="DBCP-575" dev="ggregory" type="update" due-to="Arturo Bernal">
+      <action issue="DBCP-575" dev="ggregory" type="fix" due-to="Arturo Bernal">
         Remove redundant initializers #98.
       </action>
-      <action issue="DBCP-577" dev="ggregory" type="update" due-to="Arturo Bernal">
+      <action issue="DBCP-577" dev="ggregory" type="fix" due-to="Arturo Bernal">
         Simplify test assertions #100. 
       </action>
-      <action issue="DBCP-573" dev="ggregory" type="update" due-to="Réda Housni Alaoui, Gary Gregory">
+      <action issue="DBCP-573" dev="ggregory" type="fix" due-to="Réda Housni Alaoui, Gary Gregory">
         DataSource implementations do not implement Wrapper interface correctly #93.
       </action>
+      <action dev="ggregory" type="fix">
+        Replace FindBugs with SpotBugs.
+      </action>
       <!-- UPDATES -->
       <action dev="ggregory" type="update" due-to="Dependabot">
         Bump mockito-core from 3.5.11 to 3.10.0 #66, #72, #77, #85, #91, #105.

[commons-dbcp] 02/04: Updates for 2.9.0 and 2.8.0.

Posted by gg...@apache.org.
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-dbcp.git

commit b6bf0167547c1c8a67cfecdc4cdaa22f2862fbb2
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon May 31 11:33:22 2021 -0400

    Updates for 2.9.0 and 2.8.0.
---
 src/site/xdoc/index.xml | 42 ++++++++++++++++++++++++------------------
 1 file changed, 24 insertions(+), 18 deletions(-)

diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index c6d9596..7b792da 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -44,28 +44,34 @@ within Apache products and elsewhere.  This Commons package provides an
 opportunity to coordinate the efforts required to create and maintain an
 efficient, feature-rich package under the ASF license.</p>
 
-<p>The <code>commons-dbcp2</code> package relies on code in the
-<code>commons-pool2</code> package to provide the underlying object pool
-mechanisms that it utilizes.</p>
+<p>The <code>commons-dbcp2</code> artifact relies on code in the
+<code>commons-pool2</code> artifact to provide the underlying object pool
+mechanisms.</p>
 
 <p>DBCP now comes in four different versions to support different versions of
-JDBC. Here is how it works:
+JDBC. Here is how it works:</p>
+<p>Developing</p>
 <ul>
-<li>DBCP 2.7.0 compiles and runs under Java 8 only (JDBC 4.2)</li>
-<li>DBCP 2.6.0 compiles and runs under Java 8 only (JDBC 4.2)</li>
-<li>DBCP 2.5.0 compiles and runs under Java 8 only (JDBC 4.2)</li>
-<li>DBCP 2.4.0 compiles and runs under Java 7 only (JDBC 4.1)</li>
-<li>DBCP 1.4 compiles and runs under Java 6 only (JDBC 4)</li>
-<li>DBCP 1.3 compiles and runs under Java 1.4-5.0 only (JDBC 3)</li>
+<li>DBCP 2.9.0 compiles and runs under Java 8 (JDBC 4.2) and above.</li>
+<li>DBCP 2.8.0 compiles and runs under Java 8 (JDBC 4.2) and above.</li>
+<li>DBCP 2.7.0 compiles and runs under Java 8 (JDBC 4.2) and above.</li>
+<li>DBCP 2.6.0 compiles and runs under Java 8 (JDBC 4.2) and above.</li>
+<li>DBCP 2.5.0 compiles and runs under Java 8 (JDBC 4.2) and above.</li>
+<li>DBCP 2.4.0 compiles and runs under Java 7 (JDBC 4.1) and above.</li>
+<li>DBCP 1.4 compiles and runs under Java 6 (JDBC 4) and above.</li>
+<li>DBCP 1.3 compiles and runs under Java 1.4-5.0 (JDBC 3) and above.</li>
+</ul>
+<p>Running</p>
+<ul>
+<li>DBCP 2.9.0 binaries should be used by applications running on Java 8 and above.</li>
+<li>DBCP 2.8.0 binaries should be used by applications running on Java 8 and above.</li>
+<li>DBCP 2.7.0 binaries should be used by applications running on Java 8 and above.</li>
+<li>DBCP 2.6.0 binaries should be used by applications running on Java 8 and above.</li>
+<li>DBCP 2.5.0 binaries should be used by applications running under Java 8.</li>
+<li>DBCP 2.4.0 binaries should be used by applications running under Java 7.</li>
+<li>DBCP 1.4 binaries should be used by applications running under Java 6.</li>
+<li>DBCP 1.3 should be used when running under Java 1.4 and 5.0.</li>
 </ul>
-</p>
-<p>DBCP 2.7.0 binaries should be used by applications running on Java 8 and above.</p>
-<p>DBCP 2.6.0 binaries should be used by applications running on Java 8 and above.</p>
-<p>DBCP 2.5.0 binaries should be used by applications running under Java 8.</p>
-<p>DBCP 2.4.0 binaries should be used by applications running under Java 7.</p>
-<p>DBCP 1.4 binaries should be used by applications running under Java 6.</p>
-<p>DBCP 1.3 should be used when running under Java 1.4 and 5.0.</p>
-
 <p>DBCP 2 is based on Commons Pool 2 and provides increased performance, JMX
 support as well as numerous other new features compared to DBCP 1.x. Users
 upgrading to 2.x should be aware that the Java package name has changed, as well

[commons-dbcp] 03/04: Remove dead Ant build documentation.

Posted by gg...@apache.org.
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-dbcp.git

commit 78654112b2bcbb743703a3f00d7cc9cd61d04cff
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon May 31 11:33:45 2021 -0400

    Remove dead Ant build documentation.
---
 src/site/xdoc/building.xml | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/site/xdoc/building.xml b/src/site/xdoc/building.xml
index eebe4b8..4406fdb 100644
--- a/src/site/xdoc/building.xml
+++ b/src/site/xdoc/building.xml
@@ -46,14 +46,6 @@ limitations under the License.
     The result will be in "target/site".
   </p>
 </section>
-<!-- ================================================== -->
-<section name="Ant Goals">
-  <p>
-    To build a jar file and the javadocs, change into DBCP's root directory
-    and run <strong><code>ant dist</code></strong>.
-    The result will be in the "dist" subdirectory.
-  </p>
-</section>
 
 <!-- ================================================== -->
 </body>