seninel部署
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

161 行
5.5KB

  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.1.1-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>sentinel-dashboard</artifactId>
  11. <version>0.1.1-SNAPSHOT</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. <!--<scope>provided</scope>-->
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-devtools</artifactId>
  62. <version>1.5.9.RELEASE</version>
  63. <optional>true</optional>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-test</artifactId>
  68. <version>1.5.9.RELEASE</version>
  69. <scope>test</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>log4j</groupId>
  73. <artifactId>log4j</artifactId>
  74. <version>1.2.14</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>commons-lang</groupId>
  78. <artifactId>commons-lang</artifactId>
  79. <version>2.6</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.httpcomponents</groupId>
  83. <artifactId>httpclient</artifactId>
  84. <version>4.5.3</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.apache.httpcomponents</groupId>
  88. <artifactId>httpcore</artifactId>
  89. <version>4.4.5</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.httpcomponents</groupId>
  93. <artifactId>httpasyncclient</artifactId>
  94. <version>4.1.3</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.apache.httpcomponents</groupId>
  98. <artifactId>httpcore-nio</artifactId>
  99. <version>4.4.6</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.alibaba</groupId>
  103. <artifactId>fastjson</artifactId>
  104. <version>1.2.47</version>
  105. </dependency>
  106. </dependencies>
  107. <build>
  108. <finalName>sentinel-dashboard</finalName>
  109. <plugins>
  110. <plugin>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-maven-plugin</artifactId>
  113. <configuration>
  114. <fork>true</fork>
  115. <mainClass>com.taobao.csp.sentinel.dashboard.Application</mainClass>
  116. </configuration>
  117. <executions>
  118. <execution>
  119. <goals>
  120. <goal>repackage</goal>
  121. </goals>
  122. </execution>
  123. </executions>
  124. </plugin>
  125. <plugin>
  126. <groupId>org.apache.maven.plugins</groupId>
  127. <artifactId>maven-compiler-plugin</artifactId>
  128. <configuration>
  129. <source>1.8</source>
  130. <target>1.8</target>
  131. </configuration>
  132. </plugin>
  133. </plugins>
  134. <resources>
  135. <resource>
  136. <directory>src/main/resources</directory>
  137. </resource>
  138. <resource>
  139. <directory>src/main/webapp/</directory>
  140. <excludes>
  141. <exclude>resources/node_modules/**</exclude>
  142. </excludes>
  143. </resource>
  144. </resources>
  145. </build>
  146. </project>