seninel部署
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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