seninel部署
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

199 lignes
6.9KB

  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. </dependencies>
  128. <build>
  129. <finalName>sentinel-dashboard</finalName>
  130. <pluginManagement>
  131. <plugins>
  132. <plugin>
  133. <groupId>org.apache.maven.plugins</groupId>
  134. <artifactId>maven-resources-plugin</artifactId>
  135. <configuration>
  136. <delimiters>
  137. <delimiter>${resource.delimiter}</delimiter>
  138. </delimiters>
  139. <useDefaultDelimiters>false</useDefaultDelimiters>
  140. </configuration>
  141. </plugin>
  142. </plugins>
  143. </pluginManagement>
  144. <plugins>
  145. <plugin>
  146. <groupId>org.springframework.boot</groupId>
  147. <artifactId>spring-boot-maven-plugin</artifactId>
  148. <version>${spring.boot.version}</version>
  149. <configuration>
  150. <fork>true</fork>
  151. <mainClass>com.alibaba.csp.sentinel.dashboard.DashboardApplication</mainClass>
  152. </configuration>
  153. <executions>
  154. <execution>
  155. <goals>
  156. <goal>repackage</goal>
  157. </goals>
  158. </execution>
  159. </executions>
  160. </plugin>
  161. <plugin>
  162. <groupId>org.apache.maven.plugins</groupId>
  163. <artifactId>maven-deploy-plugin</artifactId>
  164. <version>${maven.deploy.version}</version>
  165. <configuration>
  166. <skip>true</skip>
  167. </configuration>
  168. </plugin>
  169. </plugins>
  170. <resources>
  171. <resource>
  172. <directory>src/main/resources</directory>
  173. <filtering>true</filtering>
  174. </resource>
  175. <resource>
  176. <directory>src/main/webapp/</directory>
  177. <excludes>
  178. <exclude>resources/node_modules/**</exclude>
  179. </excludes>
  180. </resource>
  181. </resources>
  182. </build>
  183. </project>