pom.xml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.4.1</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>cn.seecoder</groupId>
  12. <artifactId>courselearning</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>courseLearning</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <!--spring boot mybatis-->
  21. <dependency>
  22. <groupId>org.mybatis.spring.boot</groupId>
  23. <artifactId>mybatis-spring-boot-starter</artifactId>
  24. <version>2.1.4</version>
  25. </dependency>
  26. <!--spring boot web-->
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-web</artifactId>
  30. </dependency>
  31. <!--mysql-->
  32. <dependency>
  33. <groupId>mysql</groupId>
  34. <artifactId>mysql-connector-java</artifactId>
  35. <version>8.0.22</version>
  36. </dependency>
  37. <!--mybatis自动生成实体类、映射表 -->
  38. <dependency>
  39. <groupId>org.mybatis.generator</groupId>
  40. <artifactId>mybatis-generator-core</artifactId>
  41. <version>1.3.5</version>
  42. </dependency>
  43. <!--与mybatis配合使用的分页插件-->
  44. <dependency>
  45. <groupId>com.github.pagehelper</groupId>
  46. <artifactId>pagehelper</artifactId>
  47. <version>5.0.0</version>
  48. </dependency>
  49. <!--c3p0数据源-->
  50. <!-- https://mvnrepository.com/artifact/com.mchange/c3p0 -->
  51. <dependency>
  52. <groupId>com.mchange</groupId>
  53. <artifactId>c3p0</artifactId>
  54. <version>0.9.5.2</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.slf4j</groupId>
  58. <artifactId>slf4j-api</artifactId>
  59. <version>1.7.26</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.projectlombok</groupId>
  63. <artifactId>lombok</artifactId>
  64. <optional>true</optional>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-test</artifactId>
  69. <scope>test</scope>
  70. </dependency>
  71. </dependencies>
  72. <build>
  73. <plugins>
  74. <plugin>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-maven-plugin</artifactId>
  77. <configuration>
  78. <excludes>
  79. <exclude>
  80. <groupId>org.projectlombok</groupId>
  81. <artifactId>lombok</artifactId>
  82. </exclude>
  83. </excludes>
  84. </configuration>
  85. </plugin>
  86. </plugins>
  87. </build>
  88. </project>