pom.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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. <!-- swagger APi文档-->
  51. <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger2 -->
  52. <dependency>
  53. <groupId>io.springfox</groupId>
  54. <artifactId>springfox-swagger2</artifactId>
  55. <version>3.0.0</version>
  56. </dependency>
  57. <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui -->
  58. <dependency>
  59. <groupId>io.springfox</groupId>
  60. <artifactId>springfox-swagger-ui</artifactId>
  61. <version>3.0.0</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>io.springfox</groupId>
  65. <artifactId>springfox-boot-starter</artifactId>
  66. <version>3.0.0</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>jakarta.validation</groupId>
  70. <artifactId>jakarta.validation-api</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>eu.bitwalker</groupId>
  74. <artifactId>UserAgentUtils</artifactId>
  75. <version>1.21</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>commons-codec</groupId>
  79. <artifactId>commons-codec</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.mybatis.spring.boot</groupId>
  83. <artifactId>mybatis-spring-boot-starter</artifactId>
  84. <version>2.3.1</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.baomidou</groupId>
  88. <artifactId>mybatis-plus-boot-starter</artifactId>
  89. <exclusions>
  90. <exclusion>
  91. <groupId>org.mybatis</groupId>
  92. <artifactId>mybatis-spring</artifactId>
  93. </exclusion>
  94. <exclusion>
  95. <groupId>org.mybatis</groupId>
  96. <artifactId>mybatis</artifactId>
  97. </exclusion>
  98. </exclusions>
  99. <version>3.5.1</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>mysql</groupId>
  103. <artifactId>mysql-connector-java</artifactId>
  104. <version>8.0.28</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.alibaba</groupId>
  108. <artifactId>druid-spring-boot-starter</artifactId>
  109. <version>1.2.20</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-starter-web</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-devtools</artifactId>
  118. <scope>runtime</scope>
  119. <optional>true</optional>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.springframework.boot</groupId>
  123. <artifactId>spring-boot-configuration-processor</artifactId>
  124. <optional>true</optional>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.projectlombok</groupId>
  128. <artifactId>lombok</artifactId>
  129. <optional>true</optional>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.springframework.boot</groupId>
  133. <artifactId>spring-boot-starter-test</artifactId>
  134. <scope>test</scope>
  135. </dependency>
  136. </dependencies>
  137. <build>
  138. <plugins>
  139. <!-- 具体插件,逆向工程的操作是以构建过程中插件形式出现的 -->
  140. <plugin>
  141. <groupId>org.mybatis.generator</groupId>
  142. <artifactId>mybatis-generator-maven-plugin</artifactId>
  143. <version>1.3.0</version>
  144. <!-- 插件的依赖 -->
  145. <dependencies>
  146. <!-- 逆向工程的核心依赖 -->
  147. <dependency>
  148. <groupId>org.mybatis.generator</groupId>
  149. <artifactId>mybatis-generator-core</artifactId>
  150. <version>1.3.2</version>
  151. </dependency>
  152. <!-- 数据库连接池 -->
  153. <dependency>
  154. <groupId>com.mchange</groupId>
  155. <artifactId>c3p0</artifactId>
  156. <version>0.9.2</version>
  157. </dependency>
  158. <!-- MySQL驱动 -->
  159. <dependency>
  160. <groupId>mysql</groupId>
  161. <artifactId>mysql-connector-java</artifactId>
  162. <version>8.0.28</version>
  163. </dependency>
  164. </dependencies>
  165. </plugin>
  166. <plugin>
  167. <groupId>org.springframework.boot</groupId>
  168. <artifactId>spring-boot-maven-plugin</artifactId>
  169. <configuration>
  170. <excludes>
  171. <exclude>
  172. <groupId>org.projectlombok</groupId>
  173. <artifactId>lombok</artifactId>
  174. </exclude>
  175. </excludes>
  176. </configuration>
  177. </plugin>
  178. <plugin>
  179. <groupId>org.apache.maven.plugins</groupId>
  180. <artifactId>maven-surefire-plugin</artifactId>
  181. <configuration><skip>true</skip></configuration>
  182. <version>2.22.2</version>
  183. </plugin>
  184. </plugins>
  185. </build>
  186. </project>