pom.xml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.cdxw.mybatis</groupId>
  5. <artifactId>mybatis_helloworld</artifactId>
  6. <version>1.0-SNAPSHOT</version>
  7. <packaging>jar</packaging>
  8. <name>mybatis_helloworld</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. </properties>
  13. <dependencies>
  14. <!-- Mybatis核心 -->
  15. <dependency>
  16. <groupId>org.mybatis</groupId>
  17. <artifactId>mybatis</artifactId>
  18. <version>3.5.11</version>
  19. </dependency>
  20. <!-- junit测试 -->
  21. <dependency>
  22. <groupId>junit</groupId>
  23. <artifactId>junit</artifactId>
  24. <version>4.12</version>
  25. <scope>test</scope>
  26. </dependency>
  27. <!-- MySQL驱动 -->
  28. <dependency>
  29. <groupId>mysql</groupId>
  30. <artifactId>mysql-connector-java</artifactId>
  31. <version>8.0.16</version>
  32. </dependency>
  33. <!-- log4j日志 -->
  34. <dependency>
  35. <groupId>log4j</groupId>
  36. <artifactId>log4j</artifactId>
  37. <version>1.2.17</version>
  38. </dependency>
  39. </dependencies>
  40. </project>