pom.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.lc</groupId>
  7. <artifactId>day11_mybatis</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <properties>
  10. <maven.compiler.source>17</maven.compiler.source>
  11. <maven.compiler.target>17</maven.compiler.target>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. </properties>
  14. <dependencies>
  15. <!-- mysql驱动 -->
  16. <dependency>
  17. <groupId>mysql</groupId>
  18. <artifactId>mysql-connector-java</artifactId>
  19. <version>8.0.26</version>
  20. </dependency>
  21. <!--导入MyBatis的jar包-->
  22. <dependency>
  23. <groupId>org.mybatis</groupId>
  24. <artifactId>mybatis</artifactId>
  25. <version>3.5.6</version>
  26. </dependency>
  27. <!--junit-->
  28. <dependency>
  29. <groupId>junit</groupId>
  30. <artifactId>junit</artifactId>
  31. <version>4.12</version>
  32. <scope>test</scope>
  33. </dependency>
  34. <!-- log4j -->
  35. <dependency>
  36. <groupId>log4j</groupId>
  37. <artifactId>log4j</artifactId>
  38. <version>1.2.17</version>
  39. </dependency>
  40. <!-- mybatis-ehcache -->
  41. <dependency>
  42. <groupId>org.mybatis.caches</groupId>
  43. <artifactId>mybatis-ehcache</artifactId>
  44. <version>1.0.3</version>
  45. </dependency>
  46. <!-- slf4j-log4j12 -->
  47. <dependency>
  48. <groupId>org.slf4j</groupId>
  49. <artifactId>slf4j-log4j12</artifactId>
  50. <version>1.6.2</version>
  51. <scope>test</scope>
  52. </dependency>
  53. </dependencies>
  54. </project>