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.

пре 6 година
пре 6 година
пре 6 година
пре 6 година
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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.8.0-SNAPSHOT</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. <!-- workaround for compile in JDK 11 -->
  40. <dependency>
  41. <groupId>javax.annotation</groupId>
  42. <artifactId>javax.annotation-api</artifactId>
  43. <version>${javax.annotation-api.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>junit</groupId>
  47. <artifactId>junit</artifactId>
  48. <scope>test</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.mockito</groupId>
  52. <artifactId>mockito-core</artifactId>
  53. <scope>test</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.alibaba</groupId>
  57. <artifactId>fastjson</artifactId>
  58. <version>${fastjson.version}</version>
  59. <scope>test</scope>
  60. </dependency>
  61. </dependencies>
  62. <build>
  63. <extensions>
  64. <extension>
  65. <groupId>kr.motd.maven</groupId>
  66. <artifactId>os-maven-plugin</artifactId>
  67. <version>1.5.0.Final</version>
  68. </extension>
  69. </extensions>
  70. <plugins>
  71. <plugin>
  72. <groupId>org.xolstice.maven.plugins</groupId>
  73. <artifactId>protobuf-maven-plugin</artifactId>
  74. <version>0.5.1</version>
  75. <configuration>
  76. <protocArtifact>com.google.protobuf:protoc:3.5.1-1:exe:${os.detected.classifier}</protocArtifact>
  77. <pluginId>grpc-java</pluginId>
  78. <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}
  79. </pluginArtifact>
  80. </configuration>
  81. <executions>
  82. <execution>
  83. <goals>
  84. <goal>test-compile</goal>
  85. <goal>test-compile-custom</goal>
  86. </goals>
  87. </execution>
  88. </executions>
  89. </plugin>
  90. </plugins>
  91. </build>
  92. </project>