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