pom.xml 6.2 KB

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