seninel部署
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

204 líneas
7.1KB

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