pom.xml 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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. <packaging>pom</packaging>
  6. <modules>
  7. <module>backend-admin</module>
  8. <module>backend-common</module>
  9. </modules>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>2.1.3.RELEASE</version>
  14. <relativePath/>
  15. </parent>
  16. <groupId>com.ittim</groupId>
  17. <artifactId>backend</artifactId>
  18. <version>1.0.0-SNAPSHOT</version>
  19. <name>IttimBackend</name>
  20. <description>Spring Boot backend framework for Ittim</description>
  21. <properties>
  22. <java.version>1.8</java.version>
  23. <jedis.version>2.9.0</jedis.version>
  24. <mysql.version>8.0.21</mysql.version>
  25. <hutool.version>5.4.1</hutool.version>
  26. <guava.version>29.0-jre</guava.version>
  27. <com.google.gson>2.8.3</com.google.gson>
  28. <alibaba.fastjson>1.2.72</alibaba.fastjson>
  29. <springfox.swagger>2.9.2</springfox.swagger>
  30. <user.agent.version>1.20</user.agent.version>
  31. <mybatis-plus.version>3.3.0</mybatis-plus.version>
  32. <jakarta.validation.version>2.0.1</jakarta.validation.version>
  33. </properties>
  34. <dependencies>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-data-jpa</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-web</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-websocket</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-data-redis</artifactId>
  50. </dependency>
  51. <!-- 对象池,使用redis时必须引入 -->
  52. <dependency>
  53. <groupId>org.apache.commons</groupId>
  54. <artifactId>commons-pool2</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.kafka</groupId>
  58. <artifactId>spring-kafka</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-test</artifactId>
  63. <scope>test</scope>
  64. <exclusions>
  65. <exclusion>
  66. <groupId>org.junit.vintage</groupId>
  67. <artifactId>junit-vintage-engine</artifactId>
  68. </exclusion>
  69. </exclusions>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.kafka</groupId>
  73. <artifactId>spring-kafka-test</artifactId>
  74. <scope>test</scope>
  75. </dependency>
  76. <!-- <dependency>-->
  77. <!-- <groupId>org.springframework.security</groupId>-->
  78. <!-- <artifactId>spring-security-test</artifactId>-->
  79. <!-- <scope>test</scope>-->
  80. <!-- </dependency>-->
  81. <dependency>
  82. <groupId>mysql</groupId>
  83. <artifactId>mysql-connector-java</artifactId>
  84. <version>${mysql.version}</version>
  85. </dependency>
  86. <!-- hutool工具类 -->
  87. <dependency>
  88. <groupId>cn.hutool</groupId>
  89. <artifactId>hutool-all</artifactId>
  90. <version>${hutool.version}</version>
  91. </dependency>
  92. <!-- guava工具类 -->
  93. <dependency>
  94. <groupId>com.google.guava</groupId>
  95. <artifactId>guava</artifactId>
  96. <version>${guava.version}</version>
  97. </dependency>
  98. <!-- 解析 UserAgent 信息 -->
  99. <dependency>
  100. <groupId>eu.bitwalker</groupId>
  101. <artifactId>UserAgentUtils</artifactId>
  102. <version>${user.agent.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>jakarta.validation</groupId>
  106. <artifactId>jakarta.validation-api</artifactId>
  107. <version>${jakarta.validation.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-starter-actuator</artifactId>
  112. <version>2.1.5.RELEASE</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>redis.clients</groupId>
  116. <artifactId>jedis</artifactId>
  117. <version>${jedis.version}</version>
  118. </dependency>
  119. <!--MyBatis 及 插件依赖-->
  120. <dependency>
  121. <groupId>com.baomidou</groupId>
  122. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  123. <version>2.5.5</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>com.baomidou</groupId>
  127. <artifactId>mybatis-plus</artifactId>
  128. <version>${mybatis-plus.version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.baomidou</groupId>
  132. <artifactId>mybatis-plus-boot-starter</artifactId>
  133. <version>${mybatis-plus.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>com.baomidou</groupId>
  137. <artifactId>mybatis-plus-generator</artifactId>
  138. <version>${mybatis-plus.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.projectlombok</groupId>
  142. <artifactId>lombok</artifactId>
  143. <version>1.18.10</version>
  144. <scope>provided</scope>
  145. </dependency>
  146. <!--代码生成器依赖-->
  147. <dependency>
  148. <groupId>org.freemarker</groupId>
  149. <artifactId>freemarker</artifactId>
  150. <version>2.3.30</version>
  151. <scope>test</scope>
  152. </dependency>
  153. <!--fastjson-->
  154. <dependency>
  155. <groupId>com.alibaba</groupId>
  156. <artifactId>fastjson</artifactId>
  157. <version>${alibaba.fastjson}</version>
  158. </dependency>
  159. <!--gson-->
  160. <dependency>
  161. <groupId>com.google.code.gson</groupId>
  162. <artifactId>gson</artifactId>
  163. <version>${com.google.gson}</version>
  164. </dependency>
  165. <!-- swagger -->
  166. <dependency>
  167. <groupId>io.springfox</groupId>
  168. <artifactId>springfox-swagger2</artifactId>
  169. <version>${springfox.swagger}</version>
  170. </dependency>
  171. <!-- swagger-ui -->
  172. <dependency>
  173. <groupId>com.github.xiaoymin</groupId>
  174. <artifactId>knife4j-spring-boot-starter</artifactId>
  175. <!--在引用时请在maven中央仓库搜索最新版本号-->
  176. <version>2.0.2</version>
  177. </dependency>
  178. <!--常用库依赖-->
  179. <dependency>
  180. <groupId>commons-codec</groupId>
  181. <artifactId>commons-codec</artifactId>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.apache.commons</groupId>
  185. <artifactId>commons-lang3</artifactId>
  186. <version>3.6</version>
  187. </dependency>
  188. </dependencies>
  189. <!-- 阿里云maven仓库 -->
  190. <repositories>
  191. <repository>
  192. <id>public</id>
  193. <name>aliyun nexus</name>
  194. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  195. <releases>
  196. <enabled>true</enabled>
  197. </releases>
  198. </repository>
  199. </repositories>
  200. <pluginRepositories>
  201. <pluginRepository>
  202. <id>public</id>
  203. <name>aliyun nexus</name>
  204. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  205. <releases>
  206. <enabled>true</enabled>
  207. </releases>
  208. <snapshots>
  209. <enabled>false</enabled>
  210. </snapshots>
  211. </pluginRepository>
  212. </pluginRepositories>
  213. </project>