pom.xml 8.1 KB

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