You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2006/05/06 20:54:35 UTC

DO NOT REPLY [Bug 39502] New: - Commons Collection dependency version clash when using Commons DBCP via Maven2

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39502>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39502

           Summary: Commons Collection dependency version clash when using
                    Commons DBCP via Maven2
           Product: Commons
           Version: 1.2 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Dbcp
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: cenowa@makdata.de


When using Maven2 to incorporate Commons DBCP 1.2.1 into your project a
transient dependency on Commons Collections 2.1 is added. This will clash with
other Commons Components like Commons Configuration 1.2 for example that depend
on Commons Collections 3.1. Upon adding Commons DBCP 1.2.1 to your project the
existing transient dependency on Commons Collections 3.1 gets changed into
Commons Collections 2.1. This will result in runtime errors like the following:

java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LinkedMap
	at
org.apache.commons.configuration.BaseConfiguration.<init>(BaseConfiguration.java:53)

Since Commons Collections is incorporated into most Commons Components please
update the dependency within Commons DBCP to Commons Collections 3.1 if possible.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 39502] - [dbcp] Commons Collection dependency version clash when using Commons DBCP via Maven2

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39502>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39502





------- Additional Comments From bayard@apache.org  2006-05-07 20:15 -------
svn ci -m "Updating to Collections 3.1 as suggested in #39502" project.xml 
Sending        project.xml
Transmitting file data .
Committed revision 404836.  

Not marking as fixed though as this bug is not fixed until a release is done (into maven repository).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 39502] - [dbcp] Commons Collection dependency version clash when using Commons DBCP via Maven2

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39502>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39502


bayard@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Commons Collection          |[dbcp] Commons Collection
                   |dependency version clash    |dependency version clash
                   |when using Commons DBCP via |when using Commons DBCP via
                   |Maven2                      |Maven2




------- Additional Comments From bayard@apache.org  2006-05-07 19:31 -------
There's a DBCP release in the planning, so I imagine this will be very easy to integrate into that.

I believe you can override such things in Maven2 in the meantime (?).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org