You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Alberto Mozzone (JIRA)" <ji...@apache.org> on 2016/05/04 10:16:13 UTC

[jira] [Commented] (BEANUTILS-398) CLONE - The three jars contain wrong classes

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

Alberto Mozzone commented on BEANUTILS-398:
-------------------------------------------

According to what is written on [http://commons.apache.org/proper/commons-beanutils/], the 1.9.2 version fixed the problem.

May this issue be closed?


> CLONE - The three jars contain wrong classes
> --------------------------------------------
>
>                 Key: BEANUTILS-398
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-398
>             Project: Commons BeanUtils
>          Issue Type: Bug
>          Components: Bean-Collections
>    Affects Versions: 1.8.3
>            Reporter: Alberto Mozzone
>            Assignee: Niall Pemberton
>             Fix For: 2.0
>
>
> This issue has been discussed in the following thread: http://tinyurl.com/2xdpku
> For BeanUtils 1.7.0 the following classes which had a dependency on Commons Collections were split into a separate "bean-collections" sub-module:
>     BeanComparator.java
>     BeanMap.java
>     BeanPredicate.java
>     BeanPropertyValueChangeClosure.java
>     BeanPropertyValueEqualsPredicate.java
>     BeanToPropertyValueTransformer.java
> Three "flavours" of jars were released in 1.7.0
>    commons-beanutils.jar - containing all BeanUtils classes, including above bean-collections ones
>    commons-beanutils-bean-collections.jar - containing just the above  bean-collections classes
>    commons-beanutils-core.jar - containing BeanUtils classes excluding above bean-collections ones
> BeanUtils 1.7.0 was created using ant and (I presume) the maven poms for the above artifacts were manually created - unfortunately with mistakes:
> 1) The pom for commons-beanutils.jar DOESN'T declare any Commons Collections dependency (which it has for the bean-collections classes)
> 2) The pom for commons-beanutils-core.jar DOES declare a Commons Collections dependency (which it doesn't actually have)
> The proposal for BeanUtils 1.8.0 (see http://tinyurl.com/2xdpku) is to merge the bean-collections classes back into core BeanUtils and get rid of the bean-collections sub-module - releasing just a single jar for BeanUtils and marking the Commons Collections dependency as "optional" in the maven pom (see http://tinyurl.com/2nm2bu).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)