pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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</version>
  14. <name>courseLearning</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <finalName>${project.artifactId}-${project.version}</finalName>
  19. </properties>
  20. <dependencies>
  21. <!--spring boot mybatis-->
  22. <dependency>
  23. <groupId>org.mybatis.spring.boot</groupId>
  24. <artifactId>mybatis-spring-boot-starter</artifactId>
  25. <version>2.1.4</version>
  26. </dependency>
  27. <!--spring boot web-->
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. </dependency>
  32. <!--mysql-->
  33. <dependency>
  34. <groupId>mysql</groupId>
  35. <artifactId>mysql-connector-java</artifactId>
  36. <version>8.0.22</version>
  37. </dependency>
  38. <!--mybatis自动生成实体类、映射表 -->
  39. <dependency>
  40. <groupId>org.mybatis.generator</groupId>
  41. <artifactId>mybatis-generator-core</artifactId>
  42. <version>1.3.5</version>
  43. </dependency>
  44. <!--与mybatis配合使用的分页插件-->
  45. <dependency>
  46. <groupId>com.github.pagehelper</groupId>
  47. <artifactId>pagehelper</artifactId>
  48. <version>5.0.0</version>
  49. </dependency>
  50. <!--c3p0数据源-->
  51. <!-- https://mvnrepository.com/artifact/com.mchange/c3p0 -->
  52. <dependency>
  53. <groupId>com.mchange</groupId>
  54. <artifactId>c3p0</artifactId>
  55. <version>0.9.5.2</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.slf4j</groupId>
  59. <artifactId>slf4j-api</artifactId>
  60. <version>1.7.26</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.projectlombok</groupId>
  64. <artifactId>lombok</artifactId>
  65. <optional>true</optional>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-test</artifactId>
  70. <scope>test</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>junit</groupId>
  74. <artifactId>junit</artifactId>
  75. <version>4.13.2</version>
  76. </dependency>
  77. </dependencies>
  78. <build>
  79. <finalName>${finalName}</finalName>
  80. <plugins>
  81. <plugin>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-maven-plugin</artifactId>
  84. <configuration>
  85. <excludes>
  86. <exclude>
  87. <groupId>org.projectlombok</groupId>
  88. <artifactId>lombok</artifactId>
  89. </exclude>
  90. </excludes>
  91. </configuration>
  92. </plugin>
  93. </plugins>
  94. </build>
  95. </project>