You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 2.4 kB

6 years ago
6 years ago
6 years ago
6 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>cn.zzs.dbcp</groupId>
  5. <artifactId>dbcp-demo</artifactId>
  6. <packaging>war</packaging>
  7. <version>1.0.0</version>
  8. <dependencies>
  9. <!-- junit -->
  10. <dependency>
  11. <groupId>junit</groupId>
  12. <artifactId>junit</artifactId>
  13. <version>4.12</version>
  14. <scope>test</scope>
  15. </dependency>
  16. <!-- dbcp -->
  17. <dependency>
  18. <groupId>org.apache.commons</groupId>
  19. <artifactId>commons-dbcp2</artifactId>
  20. <version>2.6.0</version>
  21. </dependency>
  22. <!-- log4j -->
  23. <dependency>
  24. <groupId>log4j</groupId>
  25. <artifactId>log4j</artifactId>
  26. <version>1.2.17</version>
  27. </dependency>
  28. <!-- mysql驱动的jar包 -->
  29. <dependency>
  30. <groupId>mysql</groupId>
  31. <artifactId>mysql-connector-java</artifactId>
  32. <version>8.0.15</version>
  33. </dependency>
  34. <!-- JSP相关:用于测试DBCP对jndi的支持 -->
  35. <dependency>
  36. <groupId>javax.servlet</groupId>
  37. <artifactId>jstl</artifactId>
  38. <version>1.2</version>
  39. <scope>provided</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>javax.servlet</groupId>
  43. <artifactId>javax.servlet-api</artifactId>
  44. <version>3.1.0</version>
  45. <scope>provided</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>javax.servlet.jsp</groupId>
  49. <artifactId>javax.servlet.jsp-api</artifactId>
  50. <version>2.2.1</version>
  51. <scope>provided</scope>
  52. </dependency>
  53. <!-- jta:用于测试DBCP对JTA事务的支持 -->
  54. <dependency>
  55. <groupId>javax.transaction</groupId>
  56. <artifactId>jta</artifactId>
  57. <version>1.1</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.atomikos</groupId>
  61. <artifactId>transactions-jdbc</artifactId>
  62. <version>3.9.3</version>
  63. </dependency>
  64. </dependencies>
  65. </project>