seninel部署
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
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.7.2-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>sentinel-demo-dubbo</artifactId>
  12. <dependencies>
  13. <!-- Demo use Dubbo 2.6.x, since it supports JDK 1.7 -->
  14. <dependency>
  15. <groupId>com.alibaba</groupId>
  16. <artifactId>dubbo</artifactId>
  17. <version>2.6.6</version>
  18. </dependency>
  19. <!-- Dubbo provides qos plugin since 2.5.8 and is enable by default. -->
  20. <!-- The dubbo-qos module is optional and it depends Netty 4.x, 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.42.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>