pom.xml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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.tofly</groupId>
  7. <artifactId>fframwork</artifactId>
  8. <packaging>pom</packaging>
  9. <version>1.0-SNAPSHOT</version>
  10. <modules>
  11. <module>tofly-eureka</module>
  12. <module>swagger-bootstrap-ui</module>
  13. <module>tofly-getway</module>
  14. <module>tofly-common</module>
  15. <module>tofly-base</module>
  16. <module>tofly-monitor</module>
  17. <module>tofly-auth</module>
  18. <module>flowable</module>
  19. </modules>
  20. <properties>
  21. <spring-boot.version>2.1.7.RELEASE</spring-boot.version>
  22. <spring-cloud.version>Greenwich.SR2</spring-cloud.version>
  23. <spring-platform.version>Cairo-SR8</spring-platform.version>
  24. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  25. <maven.compiler.source>1.8</maven.compiler.source>
  26. <maven.compiler.target>1.8</maven.compiler.target>
  27. <spring-boot-admin.version>2.1.6</spring-boot-admin.version>
  28. <hutool.version>4.6.3</hutool.version>
  29. <mybatis-plus.version>3.1.2</mybatis-plus.version>
  30. <kaptcha.version>0.0.9</kaptcha.version>
  31. <velocity.version>1.7</velocity.version>
  32. <jasypt.version>2.1.0</jasypt.version>
  33. <security.oauth.version>2.3.6.RELEASE</security.oauth.version>
  34. <jackson.modules>2.9.8</jackson.modules>
  35. <!--zipkin2.12.x需要此版本jooq-->
  36. <jooq.version>3.11.11</jooq.version>
  37. <zipkin.version>2.12.2</zipkin.version>
  38. <zipkin-storage-mysql.version>2.8.4</zipkin-storage-mysql.version>
  39. <fastjson.version>1.2.47</fastjson.version>
  40. <swagger.version>2.9.2</swagger.version>
  41. <swaggermg.version>1.0.6</swaggermg.version>
  42. <druid.version>1.1.16</druid.version>
  43. </properties>
  44. <dependencies>
  45. <!--eureka 客户端-->
  46. <dependency>
  47. <groupId>org.springframework.cloud</groupId>
  48. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  49. </dependency>
  50. <!--配置文件处理器-->
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-configuration-processor</artifactId>
  54. <optional>true</optional>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.github.ulisesbocchio</groupId>
  58. <artifactId>jasypt-spring-boot-starter</artifactId>
  59. <version>${jasypt.version}</version>
  60. </dependency>
  61. <!--监控-->
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-actuator</artifactId>
  65. </dependency>
  66. <!--监控客户端-->
  67. <dependency>
  68. <groupId>de.codecentric</groupId>
  69. <artifactId>spring-boot-admin-starter-client</artifactId>
  70. <version>${spring-boot-admin.version}</version>
  71. </dependency>
  72. <!--服务链路追踪-->
  73. <dependency>
  74. <groupId>org.springframework.cloud</groupId>
  75. <artifactId>spring-cloud-starter-sleuth</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.cloud</groupId>
  79. <artifactId>spring-cloud-sleuth-zipkin</artifactId>
  80. </dependency>
  81. <!--断路器依赖-->
  82. <dependency>
  83. <groupId>org.springframework.cloud</groupId>
  84. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  85. </dependency>
  86. <!--负载均衡客户端-->
  87. <dependency>
  88. <groupId>org.springframework.cloud</groupId>
  89. <artifactId>spring-cloud-starter-openfeign</artifactId>
  90. </dependency>
  91. <!--Lombok-->
  92. <dependency>
  93. <groupId>org.projectlombok</groupId>
  94. <artifactId>lombok</artifactId>
  95. <scope>provided</scope>
  96. </dependency>
  97. <!--测试依赖-->
  98. <dependency>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-starter-test</artifactId>
  101. <scope>test</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.alibaba</groupId>
  105. <artifactId>fastjson</artifactId>
  106. <version>${fastjson.version}</version>
  107. </dependency>
  108. </dependencies>
  109. <dependencyManagement>
  110. <dependencies>
  111. <dependency>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-dependencies</artifactId>
  114. <version>${spring-boot.version}</version>
  115. <type>pom</type>
  116. <scope>import</scope>
  117. </dependency>
  118. <dependency>
  119. <groupId>io.spring.platform</groupId>
  120. <artifactId>platform-bom</artifactId>
  121. <version>${spring-platform.version}</version>
  122. <type>pom</type>
  123. <scope>import</scope>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.springframework.cloud</groupId>
  127. <artifactId>spring-cloud-dependencies</artifactId>
  128. <version>${spring-cloud.version}</version>
  129. <type>pom</type>
  130. <scope>import</scope>
  131. </dependency>
  132. <!--稳定版本,替代spring security bom内置-->
  133. <dependency>
  134. <groupId>org.springframework.security.oauth</groupId>
  135. <artifactId>spring-security-oauth2</artifactId>
  136. <version>${security.oauth.version}</version>
  137. </dependency>
  138. <!--jackson模块-->
  139. <dependency>
  140. <groupId>com.fasterxml.jackson.module</groupId>
  141. <artifactId>jackson-modules-java8</artifactId>
  142. <version>${jackson.modules}</version>
  143. <type>pom</type>
  144. <scope>import</scope>
  145. </dependency>
  146. <dependency>
  147. <groupId>io.springfox</groupId>
  148. <artifactId>springfox-swagger2</artifactId>
  149. <version>${swagger.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>io.springfox</groupId>
  153. <artifactId>springfox-swagger-ui</artifactId>
  154. <version>${swagger.version}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>com.zyplayer</groupId>
  158. <artifactId>swagger-mg-ui</artifactId>
  159. <version>${swaggermg.version}</version>
  160. </dependency>
  161. </dependencies>
  162. </dependencyManagement>
  163. <repositories>
  164. <!--阿里云主仓库,代理了maven central和jcenter仓库-->
  165. <repository>
  166. <id>aliyun</id>
  167. <name>aliyun</name>
  168. <url>https://maven.aliyun.com/repository/public</url>
  169. <releases>
  170. <enabled>true</enabled>
  171. </releases>
  172. <snapshots>
  173. <enabled>false</enabled>
  174. </snapshots>
  175. </repository>
  176. <!--阿里云代理Spring 官方仓库-->
  177. <repository>
  178. <id>spring-milestones</id>
  179. <name>Spring Milestones</name>
  180. <url>https://maven.aliyun.com/repository/spring</url>
  181. <releases>
  182. <enabled>true</enabled>
  183. </releases>
  184. <snapshots>
  185. <enabled>false</enabled>
  186. </snapshots>
  187. </repository>
  188. </repositories>
  189. <pluginRepositories>
  190. <!--阿里云代理Spring 插件仓库-->
  191. <pluginRepository>
  192. <id>spring-plugin</id>
  193. <name>spring-plugin</name>
  194. <url>https://maven.aliyun.com/repository/spring-plugin</url>
  195. <releases>
  196. <enabled>true</enabled>
  197. </releases>
  198. <snapshots>
  199. <enabled>false</enabled>
  200. </snapshots>
  201. </pluginRepository>
  202. </pluginRepositories>
  203. </project>