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.

164 rindas
5.7KB

  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>0.2.1-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>sentinel-dashboard</artifactId>
  11. <packaging>jar</packaging>
  12. <properties>
  13. <maven.compiler.target>1.8</maven.compiler.target>
  14. <maven.compiler.source>1.8</maven.compiler.source>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.alibaba.csp</groupId>
  19. <artifactId>sentinel-core</artifactId>
  20. <version>${project.version}</version>
  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. <version>${project.version}</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.alibaba.csp</groupId>
  34. <artifactId>sentinel-transport-common</artifactId>
  35. <version>${project.version}</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  40. <version>1.5.9.RELEASE</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-web</artifactId>
  45. <version>1.5.9.RELEASE</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-logging</artifactId>
  50. <version>1.5.9.RELEASE</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-tomcat</artifactId>
  55. <version>1.5.9.RELEASE</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-devtools</artifactId>
  60. <version>1.5.9.RELEASE</version>
  61. <optional>true</optional>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-test</artifactId>
  66. <version>1.5.9.RELEASE</version>
  67. <scope>test</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>log4j</groupId>
  71. <artifactId>log4j</artifactId>
  72. <version>1.2.14</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>commons-lang</groupId>
  76. <artifactId>commons-lang</artifactId>
  77. <version>2.6</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.apache.httpcomponents</groupId>
  81. <artifactId>httpclient</artifactId>
  82. <version>4.5.3</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.httpcomponents</groupId>
  86. <artifactId>httpcore</artifactId>
  87. <version>4.4.5</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.apache.httpcomponents</groupId>
  91. <artifactId>httpasyncclient</artifactId>
  92. <version>4.1.3</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.apache.httpcomponents</groupId>
  96. <artifactId>httpcore-nio</artifactId>
  97. <version>4.4.6</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.alibaba</groupId>
  101. <artifactId>fastjson</artifactId>
  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.taobao.csp.sentinel.dashboard.Application</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>1.8</source>
  127. <target>1.8</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>