seninel部署
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

211 rindas
7.3KB

  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.alibaba.csp</groupId>
  7. <artifactId>sentinel-parent</artifactId>
  8. <version>1.8.2-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>sentinel-dashboard</artifactId>
  11. <packaging>jar</packaging>
  12. <properties>
  13. <resource.delimiter>@</resource.delimiter>
  14. <spring.boot.version>2.0.5.RELEASE</spring.boot.version>
  15. <curator.version>4.0.1</curator.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.alibaba.csp</groupId>
  20. <artifactId>sentinel-core</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.alibaba.csp</groupId>
  24. <artifactId>sentinel-web-servlet</artifactId>
  25. <version>${project.version}</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.alibaba.csp</groupId>
  29. <artifactId>sentinel-transport-simple-http</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.alibaba.csp</groupId>
  33. <artifactId>sentinel-parameter-flow-control</artifactId>
  34. <version>${project.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.alibaba.csp</groupId>
  38. <artifactId>sentinel-api-gateway-adapter-common</artifactId>
  39. <version>${project.version}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-web</artifactId>
  44. <version>${spring.boot.version}</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-logging</artifactId>
  49. <version>${spring.boot.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-test</artifactId>
  54. <version>${spring.boot.version}</version>
  55. <scope>test</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>log4j</groupId>
  59. <artifactId>log4j</artifactId>
  60. <version>1.2.14</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>commons-lang</groupId>
  64. <artifactId>commons-lang</artifactId>
  65. <version>2.6</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.apache.httpcomponents</groupId>
  69. <artifactId>httpclient</artifactId>
  70. <version>4.5.3</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.httpcomponents</groupId>
  74. <artifactId>httpcore</artifactId>
  75. <version>4.4.5</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.httpcomponents</groupId>
  79. <artifactId>httpasyncclient</artifactId>
  80. <version>4.1.3</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.apache.httpcomponents</groupId>
  84. <artifactId>httpcore-nio</artifactId>
  85. <version>4.4.6</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.alibaba</groupId>
  89. <artifactId>fastjson</artifactId>
  90. </dependency>
  91. <!-- for Nacos rule publisher sample -->
  92. <dependency>
  93. <groupId>com.alibaba.csp</groupId>
  94. <artifactId>sentinel-datasource-nacos</artifactId>
  95. <!--scope>test</scope -->
  96. </dependency>
  97. <!-- for Apollo rule publisher sample -->
  98. <dependency>
  99. <groupId>com.ctrip.framework.apollo</groupId>
  100. <artifactId>apollo-openapi</artifactId>
  101. <version>1.2.0</version>
  102. <scope>test</scope>
  103. </dependency>
  104. <!--for Zookeeper rule publisher sample-->
  105. <dependency>
  106. <groupId>org.apache.curator</groupId>
  107. <artifactId>curator-recipes</artifactId>
  108. <version>${curator.version}</version>
  109. <scope>test</scope>
  110. </dependency>
  111. <dependency>
  112. <groupId>junit</groupId>
  113. <artifactId>junit</artifactId>
  114. <scope>test</scope>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.mockito</groupId>
  118. <artifactId>mockito-core</artifactId>
  119. <scope>test</scope>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.github.stefanbirkner</groupId>
  123. <artifactId>system-rules</artifactId>
  124. <version>1.16.1</version>
  125. <scope>test</scope>
  126. </dependency>
  127. <!--lombok 注解-->
  128. <dependency>
  129. <groupId>org.projectlombok</groupId>
  130. <artifactId>lombok</artifactId>
  131. <optional>true</optional>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-configuration-processor</artifactId>
  136. <optional>true</optional>
  137. </dependency>
  138. </dependencies>
  139. <build>
  140. <finalName>sentinel-dashboard</finalName>
  141. <pluginManagement>
  142. <plugins>
  143. <plugin>
  144. <groupId>org.apache.maven.plugins</groupId>
  145. <artifactId>maven-resources-plugin</artifactId>
  146. <configuration>
  147. <delimiters>
  148. <delimiter>${resource.delimiter}</delimiter>
  149. </delimiters>
  150. <useDefaultDelimiters>false</useDefaultDelimiters>
  151. </configuration>
  152. </plugin>
  153. </plugins>
  154. </pluginManagement>
  155. <plugins>
  156. <plugin>
  157. <groupId>org.springframework.boot</groupId>
  158. <artifactId>spring-boot-maven-plugin</artifactId>
  159. <version>${spring.boot.version}</version>
  160. <configuration>
  161. <fork>true</fork>
  162. <mainClass>com.alibaba.csp.sentinel.dashboard.DashboardApplication</mainClass>
  163. </configuration>
  164. <executions>
  165. <execution>
  166. <goals>
  167. <goal>repackage</goal>
  168. </goals>
  169. </execution>
  170. </executions>
  171. </plugin>
  172. <plugin>
  173. <groupId>org.apache.maven.plugins</groupId>
  174. <artifactId>maven-deploy-plugin</artifactId>
  175. <version>${maven.deploy.version}</version>
  176. <configuration>
  177. <skip>true</skip>
  178. </configuration>
  179. </plugin>
  180. </plugins>
  181. <resources>
  182. <resource>
  183. <directory>src/main/resources</directory>
  184. <filtering>true</filtering>
  185. </resource>
  186. <resource>
  187. <directory>src/main/webapp/</directory>
  188. <excludes>
  189. <exclude>resources/node_modules/**</exclude>
  190. </excludes>
  191. </resource>
  192. </resources>
  193. </build>
  194. </project>