pom.xml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <modules>
  6. <module>micro-common</module>
  7. <module>micro-dao</module>
  8. <module>micro-manager</module>
  9. <module>micro-service</module>
  10. <module>web-controller</module>
  11. </modules>
  12. <groupId>com.poyee</groupId>
  13. <artifactId>poyee-micro</artifactId>
  14. <version>1.0.0</version>
  15. <packaging>pom</packaging>
  16. <name>poyee-micro</name>
  17. <properties>
  18. <sourceEncoding>UTF-8</sourceEncoding>
  19. <java.version>1.8</java.version>
  20. <mahout.version>0.9</mahout.version>
  21. <dozer.version>6.5.2</dozer.version>
  22. <bee.version>1.17</bee.version>
  23. <log.version>1.2.17</log.version>
  24. <lombok.version>1.18.34</lombok.version>
  25. <fastjson.version>2.0.10</fastjson.version>
  26. <redis.version>3.5.0</redis.version>
  27. <mybatis.boot>2.1.3</mybatis.boot>
  28. <druid.version>1.2.4</druid.version>
  29. <mybatis.version>3.5.5</mybatis.version>
  30. <mybatis.spring>2.0.7</mybatis.spring>
  31. <postgresql.version>42.6.0</postgresql.version>
  32. <janino.version>3.0.12</janino.version>
  33. <logappender.version>1.8.5</logappender.version>
  34. <logfluent.version>0.3.4</logfluent.version>
  35. </properties>
  36. <dependencies>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-web</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-test</artifactId>
  44. <scope>test</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-data-redis</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-actuator</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>io.micrometer</groupId>
  56. <artifactId>micrometer-registry-prometheus</artifactId>
  57. </dependency>
  58. <!-- SpringBoot 拦截器 -->
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-aop</artifactId>
  62. </dependency>
  63. </dependencies>
  64. <dependencyManagement>
  65. <dependencies>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-dependencies</artifactId>
  69. <version>2.2.5.RELEASE</version>
  70. <type>pom</type>
  71. <scope>import</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.poyee</groupId>
  75. <artifactId>micro-common</artifactId>
  76. <version>1.0.0</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.poyee</groupId>
  80. <artifactId>micro-dao</artifactId>
  81. <version>1.0.0</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.poyee</groupId>
  85. <artifactId>micro-manager</artifactId>
  86. <version>1.0.0</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.poyee</groupId>
  90. <artifactId>micro-service</artifactId>
  91. <version>1.0.0</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.poyee</groupId>
  95. <artifactId>web-controller</artifactId>
  96. <version>1.0.0</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.projectlombok</groupId>
  100. <artifactId>lombok</artifactId>
  101. <version>${lombok.version}</version>
  102. <scope>provided</scope>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.github.dozermapper</groupId>
  106. <artifactId>dozer-core</artifactId>
  107. <version>${dozer.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>log4j</groupId>
  111. <artifactId>log4j</artifactId>
  112. <version>${log.version}</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.alibaba</groupId>
  116. <artifactId>fastjson</artifactId>
  117. <version>${fastjson.version}</version>
  118. </dependency>
  119. <!--七牛云存储-->
  120. <dependency>
  121. <groupId>com.qiniu</groupId>
  122. <artifactId>qiniu-java-sdk</artifactId>
  123. <version>[7.8.0, 7.8.99]</version>
  124. </dependency>
  125. <!-- MyBatis Spring Boot Starter -->
  126. <dependency>
  127. <groupId>org.mybatis.spring.boot</groupId>
  128. <artifactId>mybatis-spring-boot-starter</artifactId>
  129. <version>${mybatis.boot}</version>
  130. </dependency>
  131. <!--阿里数据库连接池 -->
  132. <dependency>
  133. <groupId>com.alibaba</groupId>
  134. <artifactId>druid-spring-boot-starter</artifactId>
  135. <version>${druid.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.postgresql</groupId>
  139. <artifactId>postgresql</artifactId>
  140. <version>${postgresql.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.redisson</groupId>
  144. <artifactId>redisson</artifactId>
  145. <version>${redis.version}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.mybatis</groupId>
  149. <artifactId>mybatis</artifactId>
  150. <version>${mybatis.version}</version>
  151. </dependency>
  152. <!-- 不变组件-->
  153. <dependency>
  154. <groupId>com.github.xiaoymin</groupId>
  155. <artifactId>knife4j-spring-boot-starter</artifactId>
  156. <version>2.0.9</version>
  157. <exclusions>
  158. <exclusion>
  159. <groupId>io.springfox</groupId>
  160. <artifactId>springfox-core</artifactId>
  161. </exclusion>
  162. </exclusions>
  163. </dependency>
  164. <dependency>
  165. <groupId>io.springfox</groupId>
  166. <artifactId>springfox-swagger2</artifactId>
  167. <version>2.10.5</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>io.swagger</groupId>
  171. <artifactId>swagger-annotations</artifactId>
  172. <version>1.5.21</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>io.swagger</groupId>
  176. <artifactId>swagger-models</artifactId>
  177. <version>1.5.21</version>
  178. </dependency>
  179. </dependencies>
  180. </dependencyManagement>
  181. <build>
  182. <plugins>
  183. <plugin>
  184. <groupId>org.apache.maven.plugins</groupId>
  185. <artifactId>maven-compiler-plugin</artifactId>
  186. <version>3.1</version>
  187. <configuration>
  188. <source>${java.version}</source>
  189. <target>${java.version}</target>
  190. <encoding>${sourceEncoding}</encoding>
  191. <compilerArgs>
  192. <arg>-Xlint:unchecked</arg>
  193. </compilerArgs>
  194. </configuration>
  195. </plugin>
  196. </plugins>
  197. </build>
  198. </project>