pom.xml 8.5 KB

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