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.

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