seninel部署
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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