seninel部署
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

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