pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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>boot</groupId>
  7. <artifactId>java</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <version>2.3.4.RELEASE</version>
  13. <relativePath />
  14. </parent>
  15. <dependencies>
  16. <dependency>
  17. <groupId>cn.hutool</groupId>
  18. <artifactId>hutool-all</artifactId>
  19. <version>5.8.16</version>
  20. </dependency>
  21. <dependency>
  22. <groupId>redis.clients</groupId>
  23. <artifactId>jedis</artifactId>
  24. <version>3.3.0</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-data-redis</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.alibaba</groupId>
  32. <artifactId>fastjson</artifactId>
  33. <version>1.2.74</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.auth0</groupId>
  37. <artifactId>java-jwt</artifactId>
  38. <version>3.8.1</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>io.swagger</groupId>
  42. <artifactId>swagger-annotations</artifactId>
  43. <version>1.6.2</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>jakarta.validation</groupId>
  47. <artifactId>jakarta.validation-api</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>eu.bitwalker</groupId>
  51. <artifactId>UserAgentUtils</artifactId>
  52. <version>1.21</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.mybatis.spring.boot</groupId>
  56. <artifactId>mybatis-spring-boot-starter</artifactId>
  57. <version>2.3.1</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.mybatis.spring.boot</groupId>
  61. <artifactId>mybatis-spring-boot-starter-test</artifactId>
  62. <version>2.3.1</version>
  63. <scope>test</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.baomidou</groupId>
  67. <artifactId>mybatis-plus-boot-starter</artifactId>
  68. <exclusions>
  69. <exclusion>
  70. <groupId>org.mybatis</groupId>
  71. <artifactId>mybatis-spring</artifactId>
  72. </exclusion>
  73. <!-- <exclusion>-->
  74. <!-- <groupId>org.mybatis</groupId>-->
  75. <!-- <artifactId>mybatis</artifactId>-->
  76. <!-- </exclusion>-->
  77. </exclusions>
  78. <version>3.5.1</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>mysql</groupId>
  82. <artifactId>mysql-connector-java</artifactId>
  83. <version>8.0.28</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-starter-web</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-devtools</artifactId>
  92. <scope>runtime</scope>
  93. <optional>true</optional>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-configuration-processor</artifactId>
  98. <optional>true</optional>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.projectlombok</groupId>
  102. <artifactId>lombok</artifactId>
  103. <optional>true</optional>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.springframework.boot</groupId>
  107. <artifactId>spring-boot-starter-test</artifactId>
  108. <scope>test</scope>
  109. </dependency>
  110. </dependencies>
  111. <build>
  112. <plugins>
  113. <!-- 具体插件,逆向工程的操作是以构建过程中插件形式出现的 -->
  114. <plugin>
  115. <groupId>org.mybatis.generator</groupId>
  116. <artifactId>mybatis-generator-maven-plugin</artifactId>
  117. <version>1.3.0</version>
  118. <!-- 插件的依赖 -->
  119. <dependencies>
  120. <!-- 逆向工程的核心依赖 -->
  121. <dependency>
  122. <groupId>org.mybatis.generator</groupId>
  123. <artifactId>mybatis-generator-core</artifactId>
  124. <version>1.3.2</version>
  125. </dependency>
  126. <!-- 数据库连接池 -->
  127. <dependency>
  128. <groupId>com.mchange</groupId>
  129. <artifactId>c3p0</artifactId>
  130. <version>0.9.2</version>
  131. </dependency>
  132. <!-- MySQL驱动 -->
  133. <dependency>
  134. <groupId>mysql</groupId>
  135. <artifactId>mysql-connector-java</artifactId>
  136. <version>8.0.28</version>
  137. </dependency>
  138. </dependencies>
  139. </plugin>
  140. <plugin>
  141. <groupId>org.springframework.boot</groupId>
  142. <artifactId>spring-boot-maven-plugin</artifactId>
  143. <configuration>
  144. <excludes>
  145. <exclude>
  146. <groupId>org.projectlombok</groupId>
  147. <artifactId>lombok</artifactId>
  148. </exclude>
  149. </excludes>
  150. </configuration>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-surefire-plugin</artifactId>
  155. <configuration><skip>true</skip></configuration>
  156. <version>2.22.2</version>
  157. </plugin>
  158. </plugins>
  159. </build>
  160. </project>