pom.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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.poyee</groupId>
  7. <artifactId>b2b-user-service</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>pom</packaging>
  10. <name>user-service-parent</name>
  11. <description>用户服务父模块</description>
  12. <parent>
  13. <groupId>org.springframework.boot</groupId>
  14. <artifactId>spring-boot-starter-parent</artifactId>
  15. <version>2.1.17.RELEASE</version>
  16. </parent>
  17. <modules>
  18. <module>user-common</module>
  19. <module>user-client</module>
  20. <module>user-web</module>
  21. </modules>
  22. <properties>
  23. <maven.compiler.source>8</maven.compiler.source>
  24. <maven.compiler.target>8</maven.compiler.target>
  25. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  26. <spring.cloud.version>Greenwich.SR6</spring.cloud.version>
  27. <mybatis.plus.version>3.4.3.4</mybatis.plus.version>
  28. <knife4j.version>2.0.4</knife4j.version>
  29. <swagger.version>2.9.2</swagger.version>
  30. <redisson.version>3.17.6</redisson.version>
  31. <lombok.version>1.18.30</lombok.version>
  32. <fastjson.version>1.2.83</fastjson.version>
  33. <mapstruct.version>1.4.2.Final</mapstruct.version>
  34. <mapstruct.version>1.4.2.Final</mapstruct.version>
  35. <commons.lang3.version>3.12.0</commons.lang3.version>
  36. <jwt.version>3.3.0</jwt.version>
  37. <hutoll.version>5.8.11</hutoll.version>
  38. <pagehelper.starter.version>1.4.1</pagehelper.starter.version>
  39. <pagehelper.version>5.3.2</pagehelper.version>
  40. </properties>
  41. <dependencyManagement>
  42. <dependencies>
  43. <dependency>
  44. <groupId>org.hibernate.validator</groupId>
  45. <artifactId>hibernate-validator</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.mapstruct</groupId>
  49. <artifactId>mapstruct</artifactId>
  50. <version>${mapstruct.version}</version>
  51. </dependency>
  52. <!-- Spring Cloud -->
  53. <dependency>
  54. <groupId>org.springframework.cloud</groupId>
  55. <artifactId>spring-cloud-dependencies</artifactId>
  56. <version>${spring.cloud.version}</version>
  57. <type>pom</type>
  58. <scope>import</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>cn.hutool</groupId>
  62. <artifactId>hutool-all</artifactId>
  63. <version>${hutoll.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.auth0</groupId>
  67. <artifactId>java-jwt</artifactId>
  68. <version>${jwt.version}</version>
  69. </dependency>
  70. <!-- 内部模块 -->
  71. <dependency>
  72. <groupId>com.poyee</groupId>
  73. <artifactId>user-common</artifactId>
  74. <version>${project.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.poyee</groupId>
  78. <artifactId>user-client</artifactId>
  79. <version>${project.version}</version>
  80. </dependency>
  81. <!-- MyBatis-Plus -->
  82. <dependency>
  83. <groupId>com.baomidou</groupId>
  84. <artifactId>mybatis-plus-boot-starter</artifactId>
  85. <version>${mybatis.plus.version}</version>
  86. </dependency>
  87. <!-- Knife4j -->
  88. <dependency>
  89. <groupId>com.github.xiaoymin</groupId>
  90. <artifactId>knife4j-spring-boot-starter</artifactId>
  91. <version>${knife4j.version}</version>
  92. </dependency>
  93. <!-- Redisson -->
  94. <dependency>
  95. <groupId>org.redisson</groupId>
  96. <artifactId>redisson-spring-boot-starter</artifactId>
  97. <version>${redisson.version}</version>
  98. </dependency>
  99. <!-- Lombok -->
  100. <dependency>
  101. <groupId>org.projectlombok</groupId>
  102. <artifactId>lombok</artifactId>
  103. <version>${lombok.version}</version>
  104. <scope>provided</scope>
  105. </dependency>
  106. <!-- FastJSON -->
  107. <dependency>
  108. <groupId>com.alibaba</groupId>
  109. <artifactId>fastjson</artifactId>
  110. <version>${fastjson.version}</version>
  111. </dependency>
  112. <!-- Commons Lang3 -->
  113. <dependency>
  114. <groupId>org.apache.commons</groupId>
  115. <artifactId>commons-lang3</artifactId>
  116. <version>${commons.lang3.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.mapstruct</groupId>
  120. <artifactId>mapstruct</artifactId>
  121. <version>${mapstruct.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.mapstruct</groupId>
  125. <artifactId>mapstruct-processor</artifactId>
  126. <version>${mapstruct.version}</version>
  127. <scope>provided</scope>
  128. </dependency>
  129. <!-- PageHelper -->
  130. <dependency>
  131. <groupId>com.github.pagehelper</groupId>
  132. <artifactId>pagehelper-spring-boot-starter</artifactId>
  133. <version>${pagehelper.starter.version}</version>
  134. <exclusions>
  135. <exclusion>
  136. <groupId>org.mybatis</groupId>
  137. <artifactId>mybatis</artifactId>
  138. </exclusion>
  139. <exclusion>
  140. <groupId>org.mybatis</groupId>
  141. <artifactId>mybatis-spring</artifactId>
  142. </exclusion>
  143. </exclusions>
  144. </dependency>
  145. </dependencies>
  146. </dependencyManagement>
  147. <build>
  148. <pluginManagement>
  149. <plugins>
  150. <plugin>
  151. <groupId>org.springframework.boot</groupId>
  152. <artifactId>spring-boot-maven-plugin</artifactId>
  153. </plugin>
  154. </plugins>
  155. </pluginManagement>
  156. </build>
  157. </project>