seninel部署
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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