pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <artifactId>happy-cloud-sentinel</artifactId>
  6. <parent>
  7. <groupId>com.alibaba.csp</groupId>
  8. <artifactId>sentinel-parent</artifactId>
  9. <version>1.7.2</version>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <packaging>jar</packaging>
  13. <properties>
  14. <maven.compiler.source>1.8</maven.compiler.source>
  15. <maven.compiler.target>1.8</maven.compiler.target>
  16. <spring.boot.version>2.0.5.RELEASE</spring.boot.version>
  17. <curator.version>4.0.1</curator.version>
  18. <skipTests>true</skipTests>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>com.alibaba.csp</groupId>
  23. <artifactId>sentinel-core</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.alibaba.csp</groupId>
  27. <artifactId>sentinel-web-servlet</artifactId>
  28. <version>${project.version}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.alibaba.csp</groupId>
  32. <artifactId>sentinel-transport-simple-http</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.alibaba.csp</groupId>
  36. <artifactId>sentinel-parameter-flow-control</artifactId>
  37. <version>${project.version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.alibaba.csp</groupId>
  41. <artifactId>sentinel-api-gateway-adapter-common</artifactId>
  42. <version>${project.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-web</artifactId>
  47. <version>${spring.boot.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-logging</artifactId>
  52. <version>${spring.boot.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-test</artifactId>
  57. <version>${spring.boot.version}</version>
  58. <scope>test</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>log4j</groupId>
  62. <artifactId>log4j</artifactId>
  63. <version>1.2.14</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>commons-lang</groupId>
  67. <artifactId>commons-lang</artifactId>
  68. <version>2.6</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.apache.httpcomponents</groupId>
  72. <artifactId>httpclient</artifactId>
  73. <version>4.5.3</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.apache.httpcomponents</groupId>
  77. <artifactId>httpcore</artifactId>
  78. <version>4.4.5</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.httpcomponents</groupId>
  82. <artifactId>httpasyncclient</artifactId>
  83. <version>4.1.3</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.httpcomponents</groupId>
  87. <artifactId>httpcore-nio</artifactId>
  88. <version>4.4.6</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.alibaba</groupId>
  92. <artifactId>fastjson</artifactId>
  93. </dependency>
  94. <!-- for Nacos rule publisher sample -->
  95. <dependency>
  96. <groupId>com.alibaba.csp</groupId>
  97. <artifactId>sentinel-datasource-nacos</artifactId>
  98. </dependency>
  99. <!-- for Apollo rule publisher sample -->
  100. <dependency>
  101. <groupId>com.ctrip.framework.apollo</groupId>
  102. <artifactId>apollo-openapi</artifactId>
  103. <version>1.2.0</version>
  104. <scope>test</scope>
  105. </dependency>
  106. <!--for Zookeeper rule publisher sample-->
  107. <dependency>
  108. <groupId>org.apache.curator</groupId>
  109. <artifactId>curator-recipes</artifactId>
  110. <version>${curator.version}</version>
  111. <scope>test</scope>
  112. </dependency>
  113. <dependency>
  114. <groupId>junit</groupId>
  115. <artifactId>junit</artifactId>
  116. <scope>test</scope>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.mockito</groupId>
  120. <artifactId>mockito-core</artifactId>
  121. <scope>test</scope>
  122. </dependency>
  123. <dependency>
  124. <groupId>com.github.stefanbirkner</groupId>
  125. <artifactId>system-rules</artifactId>
  126. <version>1.16.1</version>
  127. <scope>test</scope>
  128. </dependency>
  129. </dependencies>
  130. <build>
  131. <finalName>happy-cloud-sentinel</finalName>
  132. <plugins>
  133. <plugin>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-maven-plugin</artifactId>
  136. <version>${spring.boot.version}</version>
  137. <configuration>
  138. <fork>true</fork>
  139. <mainClass>com.alibaba.csp.sentinel.dashboard.HappySentinelApplication</mainClass>
  140. </configuration>
  141. <executions>
  142. <execution>
  143. <goals>
  144. <goal>repackage</goal>
  145. </goals>
  146. </execution>
  147. </executions>
  148. </plugin>
  149. <plugin>
  150. <groupId>org.apache.maven.plugins</groupId>
  151. <artifactId>maven-compiler-plugin</artifactId>
  152. <configuration>
  153. <source>${maven.compiler.source}</source>
  154. <target>${maven.compiler.target}</target>
  155. </configuration>
  156. </plugin>
  157. <plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-deploy-plugin</artifactId>
  160. <version>${maven.deploy.version}</version>
  161. <configuration>
  162. <skip>true</skip>
  163. </configuration>
  164. </plugin>
  165. </plugins>
  166. <resources>
  167. <resource>
  168. <directory>src/main/resources</directory>
  169. <filtering>true</filtering>
  170. </resource>
  171. <resource>
  172. <directory>src/main/webapp/</directory>
  173. <excludes>
  174. <exclude>resources/node_modules/**</exclude>
  175. </excludes>
  176. </resource>
  177. </resources>
  178. </build>
  179. </project>