pom.xml 6.4 KB

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