pom.xml 8.3 KB

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