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 2023/06/24 18:53:45 UTC

[commons-beanutils] branch master updated: Fix build on GH

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-beanutils.git


The following commit(s) were added to refs/heads/master by this push:
     new c5151cc0 Fix build on GH
c5151cc0 is described below

commit c5151cc0d9ac4bcc5e6f1b1d8700786be9864c60
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jun 24 14:53:41 2023 -0400

    Fix build on GH
---
 pom.xml                                                               | 1 -
 src/test/java/org/apache/commons/beanutils2/ConvertUtilsTestCase.java | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index d7a6c310..4c022041 100644
--- a/pom.xml
+++ b/pom.xml
@@ -367,7 +367,6 @@
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
           <forkMode>pertest</forkMode>
-          <reuseForks>false</reuseForks>
           <!-- limit memory size see BEANUTILS-291
                      ..also include ${argLine} from jacoco-maven-plugin
           -->
diff --git a/src/test/java/org/apache/commons/beanutils2/ConvertUtilsTestCase.java b/src/test/java/org/apache/commons/beanutils2/ConvertUtilsTestCase.java
index abf31bf0..176c1c09 100644
--- a/src/test/java/org/apache/commons/beanutils2/ConvertUtilsTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/ConvertUtilsTestCase.java
@@ -85,7 +85,7 @@ public class ConvertUtilsTestCase extends TestCase {
      */
     @Override
     public void setUp() {
-
+        BeanUtilsBean.setInstance(new BeanUtilsBean());
         ConvertUtils.deregister();
 
     }