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

pom.xml 3.1KB

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