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.

67 rindas
2.6KB

  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. <parent>
  6. <artifactId>sentinel-demo</artifactId>
  7. <groupId>com.alibaba.csp</groupId>
  8. <version>1.5.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>sentinel-demo-dubbo</artifactId>
  12. <dependencies>
  13. <!-- Demo use dubbo 2.6.5, since it supports jdk1.6 -->
  14. <dependency>
  15. <groupId>com.alibaba</groupId>
  16. <artifactId>dubbo</artifactId>
  17. <version>2.6.5</version>
  18. </dependency>
  19. <!-- As dubbo provide qos plugin since 2.5.8 and is enable by default -->
  20. <!-- The dubbo-qos module is optional and it depends netty4, so add it explicitly -->
  21. <!-- @see http://dubbo.apache.org/zh-cn/docs/user/references/qos.html -->
  22. <dependency>
  23. <groupId>io.netty</groupId>
  24. <artifactId>netty-all</artifactId>
  25. <version>4.1.31.Final</version>
  26. </dependency>
  27. <!-- As demo use @DubboComponentScan to config, which is implemented in dubbo-config-spring module -->
  28. <!-- The dubbo-config-spring module is optional and it depends spring-context-support, so add it explicitly-->
  29. <!-- @see https://github.com/apache/incubator-dubbo/issues/2869 -->
  30. <dependency>
  31. <groupId>com.alibaba.spring</groupId>
  32. <artifactId>spring-context-support</artifactId>
  33. <version>1.0.2</version>
  34. </dependency>
  35. <!-- sentinel adapter and transport -->
  36. <dependency>
  37. <groupId>com.alibaba.csp</groupId>
  38. <artifactId>sentinel-dubbo-adapter</artifactId>
  39. <version>${project.version}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.alibaba.csp</groupId>
  43. <artifactId>sentinel-transport-simple-http</artifactId>
  44. <version>${project.version}</version>
  45. </dependency>
  46. </dependencies>
  47. <build>
  48. <plugins>
  49. <plugin>
  50. <groupId>org.apache.maven.plugins</groupId>
  51. <artifactId>maven-compiler-plugin</artifactId>
  52. <version>${maven.compiler.version}</version>
  53. <configuration>
  54. <source>1.8</source>
  55. <target>1.8</target>
  56. <encoding>${java.encoding}</encoding>
  57. </configuration>
  58. </plugin>
  59. </plugins>
  60. </build>
  61. </project>