[ 
https://issues.apache.org/jira/browse/BEANUTILS-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16423937#comment-16423937
 ] 

Deepak Abraham commented on BEANUTILS-379:
------------------------------------------

Is there a proposal to replace commons-collections dependency with 
commons-collections4 artifact? New projects that use the commons collections, 
use commons-collections4, when commons-beanutils is added, we get 2 versions of 
the same classes (with different packages yes) which cause confusion and 
(often) usage of the older artifact classes by mistake

 

> Remove copied Collections classes
> ---------------------------------
>
>                 Key: BEANUTILS-379
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-379
>             Project: Commons BeanUtils
>          Issue Type: Bug
>          Components: Bean / Property Utils
>    Affects Versions: 1.8.3
>            Reporter: Niall Pemberton
>            Assignee: Niall Pemberton
>            Priority: Major
>             Fix For: 1.8.4
>
>
> In BeanUtils 1.7 four classes were copied from Commons Collections with the 
> aim of removing that dependency:
>     * ArrayStack
>     * Buffer
>     * BufferUnderflowException
>     * FastHashMap
> However there are other classes within BeanUtils that depend on Commons 
> Collections (e.g. BeanMap)  - so three flavours of jars were created:
>     * commons-beanutils.jar (all classes)
>     * commons-beanutils-core.jar (core beantils which doesn't require Commons 
> Collections)
>     * commons-beanutils-bean-collections.jar (classes dependant on Commons 
> Collections)
> This situation is a bit of a mess an is causing issues such as BEANUTILS-378
> I suggest the following action is taken in the next 1.x BeanUtils release:
>     * remove the copied Commons Collections classes
>     * add Commons Collections as a dependency
>     * Only produce the one commons-beanutils.jar
> Removing the dependency on the four collections classes is more difficult as 
> some of them are in BeanUtils API



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to