pom.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  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.huaxu</groupId>
  7. <artifactId>platform</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <modules>
  10. <module>common</module>
  11. <module>gateway</module>
  12. <module>message</module>
  13. <module>sms_water</module>
  14. <module>user_auth</module>
  15. <module>user_center</module>
  16. <module>operation_manager</module>
  17. </modules>
  18. <!--父工程打包方式为pom-->
  19. <packaging>pom</packaging>
  20. <!--spring boot 父启动器依赖-->
  21. <parent>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-parent</artifactId>
  24. <version>2.1.6.RELEASE</version>
  25. </parent>
  26. <dependencyManagement>
  27. <dependencies>
  28. <!--spring cloud依赖管理,引入了Spring Cloud的版本-->
  29. <dependency>
  30. <groupId>org.springframework.cloud</groupId>
  31. <artifactId>spring-cloud-dependencies</artifactId>
  32. <version>Greenwich.RELEASE</version>
  33. <type>pom</type>
  34. <scope>import</scope>
  35. </dependency>
  36. <!--SCA -->
  37. <dependency>
  38. <groupId>com.alibaba.cloud</groupId>
  39. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  40. <version>2.1.0.RELEASE</version>
  41. <type>pom</type>
  42. <scope>import</scope>
  43. </dependency>
  44. <!--SCA -->
  45. </dependencies>
  46. </dependencyManagement>
  47. <dependencies>
  48. <!--web依赖-->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-data-redis</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-web</artifactId>
  56. </dependency>
  57. <!--日志依赖-->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-logging</artifactId>
  61. </dependency>
  62. <!--测试依赖-->
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-test</artifactId>
  66. <scope>test</scope>
  67. </dependency>
  68. <!--lombok工具-->
  69. <dependency>
  70. <groupId>org.projectlombok</groupId>
  71. <artifactId>lombok</artifactId>
  72. <version>1.18.4</version>
  73. <scope>provided</scope>
  74. </dependency>
  75. <!-- Actuator可以帮助你监控和管理Spring Boot应用-->
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-starter-actuator</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.cloud</groupId>
  82. <artifactId>spring-cloud-commons</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-starter-jdbc</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>io.springfox</groupId>
  90. <artifactId>springfox-swagger2</artifactId>
  91. <version>2.7.0</version>
  92. <exclusions>
  93. <exclusion>
  94. <artifactId>guava</artifactId>
  95. <groupId>com.google.guava</groupId>
  96. </exclusion>
  97. </exclusions>
  98. </dependency>
  99. <dependency>
  100. <groupId>io.springfox</groupId>
  101. <artifactId>springfox-swagger-ui</artifactId>
  102. <version>2.7.0</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.alibaba.cloud</groupId>
  106. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  107. <exclusions>
  108. <exclusion>
  109. <artifactId>guava</artifactId>
  110. <groupId>com.google.guava</groupId>
  111. </exclusion>
  112. </exclusions>
  113. </dependency>
  114. <dependency>
  115. <groupId>mysql</groupId>
  116. <artifactId>mysql-connector-java</artifactId>
  117. <version>5.1.47</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>com.baomidou</groupId>
  121. <artifactId>mybatis-plus-boot-starter</artifactId>
  122. <version>3.2.0</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.springframework.cloud</groupId>
  126. <artifactId>spring-cloud-starter-oauth2</artifactId>
  127. <exclusions>
  128. <exclusion>
  129. <groupId>org.springframework.security.oauth.boot</groupId>
  130. <artifactId>spring-security-oauth2-autoconfigure</artifactId>
  131. </exclusion>
  132. </exclusions>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.springframework.cloud</groupId>
  136. <artifactId>spring-cloud-commons</artifactId>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.apache.commons</groupId>
  140. <artifactId>commons-pool2</artifactId>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.springframework.security.oauth.boot</groupId>
  144. <artifactId>spring-security-oauth2-autoconfigure</artifactId>
  145. <version>2.1.11.RELEASE</version>
  146. <exclusions>
  147. <exclusion>
  148. <artifactId>jaxb-runtime</artifactId>
  149. <groupId>org.glassfish.jaxb</groupId>
  150. </exclusion>
  151. <exclusion>
  152. <artifactId>spring-security-oauth2</artifactId>
  153. <groupId>org.springframework.security.oauth</groupId>
  154. </exclusion>
  155. </exclusions>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.springframework.security.oauth</groupId>
  159. <artifactId>spring-security-oauth2</artifactId>
  160. <version>2.3.4.RELEASE</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>com.google.guava</groupId>
  164. <artifactId>guava</artifactId>
  165. <version>20.0</version>
  166. </dependency>
  167. <!-- 引入aop-->
  168. <dependency>
  169. <groupId>org.springframework.boot</groupId>
  170. <artifactId>spring-boot-starter-aop</artifactId>
  171. </dependency>
  172. </dependencies>
  173. <build>
  174. <plugins>
  175. <!--编译插件-->
  176. <plugin>
  177. <groupId>org.apache.maven.plugins</groupId>
  178. <artifactId>maven-compiler-plugin</artifactId>
  179. <configuration>
  180. <source>8</source>
  181. <target>8</target>
  182. <encoding>utf-8</encoding>
  183. </configuration>
  184. </plugin>
  185. <!--打包插件-->
  186. <plugin>
  187. <groupId>org.springframework.boot</groupId>
  188. <artifactId>spring-boot-maven-plugin</artifactId>
  189. </plugin>
  190. </plugins>
  191. </build>
  192. </project>