This is an exported version of the JIRA issue tracker. Please use the Google Code site to open new tickets or report updates to these existing tickets. Feel free to contact the mailing list with any questions.

[SJN-74] Avoiding "Missing javax.sql:jdbc-stdext:jar:2.0" caused by DBCP 1.1 while using Maven 2
Created: Thu, 13 Apr 2006 08:38:55 -0700 (PDT)  Updated: Sat, 8 Mar 2008 02:42:18 -0800 (PST)

Status:Closed
Project:Simple-JNDI
Component/s:
Affects Version/s:0.11.1
Fix Version/s:0.11.3

Type:ImprovementPriority: Major
Reporter:Paul SpencerAssignee:Henri Yandell
Resolution:Fixed 
Environment:Java 1.4_2_01<br/> Maven 2.0.4<br/> Windows XP


 Description   
Simple-jndi has a dependency on Jakarta Commons DBCP version 1.1. DBCP has a dependency on jdbc-stdext: version 2.0. Their are a few way to resolve this. One way is to excluded the dependency in the projects pom.xml

<dependency>
<groupId>simple-jndi</groupId>
<artifactId>simple-jndi</artifactId>
<version>0.11.1</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>javax.sql</groupId>
<artifactId>jdbc-stdext</artifactId>
</exclusion>
</exclusions>
</dependency>

Please incorporate this into the documentation.

Another way is for simple-jndi to upgrade to DBCP version 1.2.1
Comment by bayard [ Sat, 8 Mar 2008 02:42:18 -0800 (PST) ]
Upgraded to DBCP 1.2.2