[SJN-74] Avoiding "Missing javax.sql:jdbc-stdext:jar:2.0" caused by DBCP 1.1 while using Maven 2 | |
| Status: | Closed |
| Project: | Simple-JNDI |
| Component/s: | |
| Affects Version/s: | 0.11.1 |
| Fix Version/s: | 0.11.3 |
| Type: | Improvement | Priority: | Major |
| Reporter: | Paul Spencer | Assignee: | 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 |