pom.xml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.1.13.RELEASE</version>
  10. <relativePath/> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>com.hwrj.cloud</groupId>
  13. <artifactId>forest-mall-cloud</artifactId>
  14. <packaging>pom</packaging>
  15. <version>0.0.1-SNAPSHOT</version>
  16. <name>forest</name>
  17. <modules>
  18. <module>forest-common</module>
  19. <module>forest-gateway</module>
  20. <module>forest-security</module>
  21. <module>forest-admin</module>
  22. <module>forest-monitor</module>
  23. <module>forest-portal</module>
  24. </modules>
  25. <properties>
  26. <java.version>1.8</java.version>
  27. <spring.cloud.version>Greenwich.RELEASE</spring.cloud.version>
  28. <spring.cloud.alibaba.version>2.1.2.RELEASE</spring.cloud.alibaba.version>
  29. <pagehelper-starter.version>1.2.10</pagehelper-starter.version>
  30. <pagehelper.version>5.1.8</pagehelper.version>
  31. <druid.version>1.1.10</druid.version>
  32. <hutool.version>4.5.7</hutool.version>
  33. <swagger2.version>2.9.2</swagger2.version>
  34. <swagger-models.version>1.6.0</swagger-models.version>
  35. <swagger-annotations.version>1.6.0</swagger-annotations.version>
  36. <mybatis-generator.version>1.3.7</mybatis-generator.version>
  37. <mybatis.version>3.4.6</mybatis.version>
  38. <mysql-connector.version>8.0.16</mysql-connector.version>
  39. <spring-data-commons.version>2.1.3.RELEASE</spring-data-commons.version>
  40. <jjwt.version>0.9.0</jjwt.version>
  41. <aliyun-oss.version>2.5.0</aliyun-oss.version>
  42. <logstash-logback.version>5.2</logstash-logback.version>
  43. <minio.version>3.0.10</minio.version>
  44. <forest.version>0.0.1-SNAPSHOT</forest.version>
  45. <guava.version>25.1-jre</guava.version>
  46. <knife4j.version>2.0.4</knife4j.version>
  47. <spring.boot.admin.version>2.1.6</spring.boot.admin.version>
  48. </properties>
  49. <dependencies>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-actuator</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-aop</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-test</artifactId>
  61. <scope>test</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.github.xiaoymin</groupId>
  65. <artifactId>knife4j-spring-boot-starter</artifactId>
  66. <version>2.0.4</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.github.xiaoymin</groupId>
  70. <artifactId>knife4j-micro-spring-boot-starter</artifactId>
  71. <version>${knife4j.version}</version>
  72. </dependency>
  73. </dependencies>
  74. <dependencyManagement>
  75. <dependencies>
  76. <dependency>
  77. <groupId>org.springframework.cloud</groupId>
  78. <artifactId>spring-cloud-dependencies</artifactId>
  79. <version>${spring.cloud.version}</version>
  80. <type>pom</type>
  81. <scope>import</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.alibaba.cloud</groupId>
  85. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  86. <version>${spring.cloud.alibaba.version}</version>
  87. <type>pom</type>
  88. <scope>import</scope>
  89. </dependency>
  90. <!--MyBatis分页插件starter-->
  91. <dependency>
  92. <groupId>com.github.pagehelper</groupId>
  93. <artifactId>pagehelper-spring-boot-starter</artifactId>
  94. <version>${pagehelper-starter.version}</version>
  95. </dependency>
  96. <!--MyBatis分页插件-->
  97. <dependency>
  98. <groupId>com.github.pagehelper</groupId>
  99. <artifactId>pagehelper</artifactId>
  100. <version>${pagehelper.version}</version>
  101. </dependency>
  102. <!--集成druid连接池-->
  103. <dependency>
  104. <groupId>com.alibaba</groupId>
  105. <artifactId>druid-spring-boot-starter</artifactId>
  106. <version>${druid.version}</version>
  107. </dependency>
  108. <!--Hutool Java工具包-->
  109. <dependency>
  110. <groupId>cn.hutool</groupId>
  111. <artifactId>hutool-all</artifactId>
  112. <version>${hutool.version}</version>
  113. </dependency>
  114. <!--Swagger-UI API文档生产工具-->
  115. <dependency>
  116. <groupId>io.springfox</groupId>
  117. <artifactId>springfox-swagger2</artifactId>
  118. <version>${swagger2.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>io.springfox</groupId>
  122. <artifactId>springfox-swagger-ui</artifactId>
  123. <version>${swagger2.version}</version>
  124. </dependency>
  125. <!--解决Swagger 2.9.2版本NumberFormatException-->
  126. <dependency>
  127. <groupId>io.swagger</groupId>
  128. <artifactId>swagger-models</artifactId>
  129. <version>${swagger-models.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>io.swagger</groupId>
  133. <artifactId>swagger-annotations</artifactId>
  134. <version>${swagger-annotations.version}</version>
  135. </dependency>
  136. <!-- MyBatis 生成器 -->
  137. <dependency>
  138. <groupId>org.mybatis.generator</groupId>
  139. <artifactId>mybatis-generator-core</artifactId>
  140. <version>${mybatis-generator.version}</version>
  141. </dependency>
  142. <!-- MyBatis-->
  143. <dependency>
  144. <groupId>org.mybatis</groupId>
  145. <artifactId>mybatis</artifactId>
  146. <version>${mybatis.version}</version>
  147. </dependency>
  148. <!--Mysql数据库驱动-->
  149. <dependency>
  150. <groupId>mysql</groupId>
  151. <artifactId>mysql-connector-java</artifactId>
  152. <version>${mysql-connector.version}</version>
  153. </dependency>
  154. <!--SpringData工具包-->
  155. <dependency>
  156. <groupId>org.springframework.data</groupId>
  157. <artifactId>spring-data-commons</artifactId>
  158. <version>${spring-data-commons.version}</version>
  159. </dependency>
  160. <!--JWT(Json Web Token)登录支持-->
  161. <dependency>
  162. <groupId>io.jsonwebtoken</groupId>
  163. <artifactId>jjwt</artifactId>
  164. <version>${jjwt.version}</version>
  165. </dependency>
  166. <!-- 阿里云OSS -->
  167. <dependency>
  168. <groupId>com.aliyun.oss</groupId>
  169. <artifactId>aliyun-sdk-oss</artifactId>
  170. <version>${aliyun-oss.version}</version>
  171. </dependency>
  172. <!--集成logstash-->
  173. <dependency>
  174. <groupId>net.logstash.logback</groupId>
  175. <artifactId>logstash-logback-encoder</artifactId>
  176. <version>${logstash-logback.version}</version>
  177. </dependency>
  178. <!--MinIO JAVA SDK-->
  179. <dependency>
  180. <groupId>io.minio</groupId>
  181. <artifactId>minio</artifactId>
  182. <version>${minio.version}</version>
  183. </dependency>
  184. <!-- spring boot admin client -->
  185. <dependency>
  186. <groupId>de.codecentric</groupId>
  187. <artifactId>spring-boot-admin-starter-client</artifactId>
  188. <version>${spring.boot.admin.version}</version>
  189. </dependency>
  190. <!-- spring boot admin server -->
  191. <dependency>
  192. <groupId>de.codecentric</groupId>
  193. <artifactId>spring-boot-admin-starter-server</artifactId>
  194. <version>${spring.boot.admin.version}</version>
  195. </dependency>
  196. <!--统一Guava版本防止冲突-->
  197. <dependency>
  198. <groupId>com.google.guava</groupId>
  199. <artifactId>guava</artifactId>
  200. <version>${guava.version}</version>
  201. </dependency>
  202. </dependencies>
  203. </dependencyManagement>
  204. </project>