pom.xml 7.2 KB

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