seninel部署
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

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