seninel部署
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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-adapter</artifactId>
  7. <groupId>com.alibaba.csp</groupId>
  8. <version>0.2.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>sentinel-grpc-adapter</artifactId>
  12. <packaging>jar</packaging>
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.alibaba.csp</groupId>
  16. <artifactId>sentinel-core</artifactId>
  17. </dependency>
  18. <dependency>
  19. <groupId>io.grpc</groupId>
  20. <artifactId>grpc-netty</artifactId>
  21. <version>${grpc.version}</version>
  22. <scope>provided</scope>
  23. </dependency>
  24. <dependency>
  25. <groupId>io.grpc</groupId>
  26. <artifactId>grpc-protobuf</artifactId>
  27. <version>${grpc.version}</version>
  28. <scope>provided</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>io.grpc</groupId>
  32. <artifactId>grpc-stub</artifactId>
  33. <version>${grpc.version}</version>
  34. <scope>provided</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>junit</groupId>
  38. <artifactId>junit</artifactId>
  39. <scope>test</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.mockito</groupId>
  43. <artifactId>mockito-core</artifactId>
  44. <scope>test</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.alibaba</groupId>
  48. <artifactId>fastjson</artifactId>
  49. <version>${fastjson.version}</version>
  50. <scope>test</scope>
  51. </dependency>
  52. </dependencies>
  53. <build>
  54. <extensions>
  55. <extension>
  56. <groupId>kr.motd.maven</groupId>
  57. <artifactId>os-maven-plugin</artifactId>
  58. <version>1.5.0.Final</version>
  59. </extension>
  60. </extensions>
  61. <plugins>
  62. <plugin>
  63. <groupId>org.xolstice.maven.plugins</groupId>
  64. <artifactId>protobuf-maven-plugin</artifactId>
  65. <version>0.5.1</version>
  66. <configuration>
  67. <protocArtifact>com.google.protobuf:protoc:3.5.1-1:exe:${os.detected.classifier}</protocArtifact>
  68. <pluginId>grpc-java</pluginId>
  69. <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}
  70. </pluginArtifact>
  71. </configuration>
  72. <executions>
  73. <execution>
  74. <goals>
  75. <goal>test-compile</goal>
  76. <goal>test-compile-custom</goal>
  77. </goals>
  78. </execution>
  79. </executions>
  80. </plugin>
  81. </plugins>
  82. </build>
  83. </project>