pom.xml 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright 2016-present the original author or authors.
  4. ~
  5. ~ Licensed under the Apache License, Version 2.0 (the "License");
  6. ~ you may not use this file except in compliance with the License.
  7. ~ You may obtain a copy of the License at
  8. ~
  9. ~ https://www.apache.org/licenses/LICENSE-2.0
  10. ~
  11. ~ Unless required by applicable law or agreed to in writing, software
  12. ~ distributed under the License is distributed on an "AS IS" BASIS,
  13. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ~ See the License for the specific language governing permissions and
  15. ~ limitations under the License.
  16. -->
  17. <project xmlns="http://maven.apache.org/POM/4.0.0"
  18. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  19. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  20. <modelVersion>4.0.0</modelVersion>
  21. <parent>
  22. <groupId>io.github.pnoker</groupId>
  23. <artifactId>iot-dc3</artifactId>
  24. <version>2023.4.5</version>
  25. </parent>
  26. <name>${project.artifactId}</name>
  27. <artifactId>dc3-gateway</artifactId>
  28. <version>2023.4.5</version>
  29. <packaging>jar</packaging>
  30. <inceptionYear>2016-2022</inceptionYear>
  31. <url>https://github.com/pnoker/iot-dc3</url>
  32. <description>
  33. IOT DC3 平台网关,用于限流、权限验证、服务转发、方向代理 等。
  34. </description>
  35. <developers>
  36. <developer>
  37. <id>pnoker</id>
  38. <name>pnoker</name>
  39. <email>pnokers@icloud.com</email>
  40. <organization>pnoker.github.io</organization>
  41. </developer>
  42. </developers>
  43. <licenses>
  44. <license>
  45. <name>The Apache Software License, Version 2.0</name>
  46. <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
  47. <distribution>repo</distribution>
  48. </license>
  49. </licenses>
  50. <scm>
  51. <url>https://github.com/pnoker/iot-dc3</url>
  52. <connection>https://github.com/pnoker/iot-dc3.git</connection>
  53. <developerConnection>https://github.com/pnoker/iot-dc3.git</developerConnection>
  54. </scm>
  55. <dependencies>
  56. <!-- Undertow Web 容器 -->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-webflux</artifactId>
  60. <exclusions>
  61. <exclusion>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-netty</artifactId>
  64. </exclusion>
  65. </exclusions>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-undertow</artifactId>
  70. </dependency>
  71. <!-- Gateway -->
  72. <dependency>
  73. <groupId>org.springframework.cloud</groupId>
  74. <artifactId>spring-cloud-starter-gateway</artifactId>
  75. </dependency>
  76. <!-- gRpc Client -->
  77. <dependency>
  78. <groupId>net.devh</groupId>
  79. <artifactId>grpc-client-spring-boot-starter</artifactId>
  80. </dependency>
  81. <!-- DC3 Center Register Client Starter -->
  82. <dependency>
  83. <groupId>io.github.pnoker</groupId>
  84. <artifactId>dc3-starter-center-register-nacos-client</artifactId>
  85. </dependency>
  86. <!-- Redis reactive -->
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-data-redis-reactive</artifactId>
  90. </dependency>
  91. <!-- &lt;!&ndash; Resilience4j reactive &ndash;&gt;
  92. <dependency>
  93. <groupId>org.springframework.cloud</groupId>
  94. <artifactId>spring-cloud-starter-circuitbreaker-reactor-resilience4j</artifactId>
  95. </dependency>-->
  96. <dependency>
  97. <groupId>org.springframework.cloud</groupId>
  98. <artifactId>spring-cloud-starter-loadbalancer</artifactId>
  99. </dependency>
  100. <!-- DC3 Api Auth -->
  101. <dependency>
  102. <groupId>io.github.pnoker</groupId>
  103. <artifactId>dc3-api-auth</artifactId>
  104. </dependency>
  105. <!-- DC3 Common Log -->
  106. <dependency>
  107. <groupId>io.github.pnoker</groupId>
  108. <artifactId>dc3-common-log</artifactId>
  109. </dependency>
  110. <!-- DC3 Common Model -->
  111. <dependency>
  112. <groupId>io.github.pnoker</groupId>
  113. <artifactId>dc3-common-model</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.alibaba</groupId>
  117. <artifactId>fastjson</artifactId>
  118. <version>1.2.47</version>
  119. </dependency>
  120. <!--重连-->
  121. <dependency>
  122. <groupId>org.springframework.retry</groupId>
  123. <artifactId>spring-retry</artifactId>
  124. </dependency>
  125. <!-- 数据库 -->
  126. <dependency>
  127. <groupId>org.mybatis.spring.boot</groupId>
  128. <artifactId>mybatis-spring-boot-starter</artifactId>
  129. <version>2.0.1</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.postgresql</groupId>
  133. <artifactId>postgresql</artifactId>
  134. <version>42.2.5</version>
  135. <!--<scope>runtime</scope>-->
  136. </dependency>
  137. <dependency>
  138. <groupId>net.postgis</groupId>
  139. <artifactId>postgis-jdbc</artifactId>
  140. <version>2.5.0</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.influxdb</groupId>
  144. <artifactId>influxdb-java</artifactId>
  145. <version>2.21</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.apache.poi</groupId>
  149. <artifactId>poi-ooxml</artifactId>
  150. <version>5.2.3</version>
  151. </dependency>
  152. </dependencies>
  153. <repositories>
  154. <repository>
  155. <id>public</id>
  156. <name>Aliyun Public Repository</name>
  157. <url>https://maven.aliyun.com/repository/public</url>
  158. <releases>
  159. <enabled>true</enabled>
  160. </releases>
  161. <snapshots>
  162. <enabled>false</enabled>
  163. </snapshots>
  164. </repository>
  165. <repository>
  166. <id>spring</id>
  167. <name>Aliyun Spring Repository</name>
  168. <url>https://maven.aliyun.com/repository/spring</url>
  169. <releases>
  170. <enabled>true</enabled>
  171. </releases>
  172. <snapshots>
  173. <enabled>false</enabled>
  174. </snapshots>
  175. </repository>
  176. <repository>
  177. <id>maven</id>
  178. <name>Maven Central Repository</name>
  179. <url>https://repo.maven.apache.org/maven2</url>
  180. <releases>
  181. <enabled>true</enabled>
  182. </releases>
  183. <snapshots>
  184. <enabled>false</enabled>
  185. </snapshots>
  186. </repository>
  187. <repository>
  188. <id>sonatype</id>
  189. <name>Sonatype Repository</name>
  190. <url>https://s01.oss.sonatype.org/content/groups/public</url>
  191. <releases>
  192. <enabled>true</enabled>
  193. </releases>
  194. <snapshots>
  195. <enabled>true</enabled>
  196. <updatePolicy>always</updatePolicy>
  197. </snapshots>
  198. </repository>
  199. </repositories>
  200. <pluginRepositories>
  201. <pluginRepository>
  202. <id>public-plugin</id>
  203. <name>Aliyun Public Plugin Repository</name>
  204. <url>https://maven.aliyun.com/repository/public</url>
  205. <releases>
  206. <enabled>true</enabled>
  207. </releases>
  208. <snapshots>
  209. <enabled>false</enabled>
  210. </snapshots>
  211. </pluginRepository>
  212. <pluginRepository>
  213. <id>spring-plugin</id>
  214. <name>Aliyun Spring Plugin Repository</name>
  215. <url>https://maven.aliyun.com/repository/spring-plugin</url>
  216. <releases>
  217. <enabled>true</enabled>
  218. </releases>
  219. <snapshots>
  220. <enabled>false</enabled>
  221. </snapshots>
  222. </pluginRepository>
  223. </pluginRepositories>
  224. <build>
  225. <plugins>
  226. <plugin>
  227. <groupId>org.springframework.boot</groupId>
  228. <artifactId>spring-boot-maven-plugin</artifactId>
  229. </plugin>
  230. </plugins>
  231. </build>
  232. </project>