accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [1/3] accumulo git commit: ACCUMULO-4373 Fix compat w/ commons-configuration
Date Tue, 12 Jul 2016 20:11:14 GMT
Repository: accumulo
Updated Branches:
  refs/heads/1.8 0e4ac2f4c -> d66425496
  refs/heads/master c50977480 -> c030ed9ef


ACCUMULO-4373 Fix compat w/ commons-configuration

Revert to commons-configuration 1.6 dependency instead of the newer one.
This preserves the compile-time binding to the MapConfiguration
constructor with a Map parameter for Properties, rather than the newer
constructor with Properties as a parameter. This allows our compiled
code to work on a wider range of commons-configuration versions.

However, this also encourages the use of older, buggy versions of
commons-configuration, and forces the use of a constructor which does
not properly filter Properties to only make use of those with String
keys, even when a newer version of commons-configuration is used.

A newer version of commons-configuration should be used when it can be
reasonably expected that user's environments have the newer version.
(Effectively, this means, when our Hadoop dependency switches to a newer
version of commons-configuration.)


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

Branch: refs/heads/1.8
Commit: d66425496e9fd2792c9fba9ade92dc701873e74a
Parents: 0e4ac2f
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Tue Jul 12 16:02:45 2016 -0400
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Tue Jul 12 16:02:45 2016 -0400

----------------------------------------------------------------------
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/d6642549/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 467bd2b..0421e2b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -203,7 +203,7 @@
       <dependency>
         <groupId>commons-configuration</groupId>
         <artifactId>commons-configuration</artifactId>
-        <version>1.10</version>
+        <version>1.6</version>
       </dependency>
       <dependency>
         <groupId>commons-httpclient</groupId>


Mime
View raw message