pom_debug.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.github.chrislusf</groupId>
  6. <artifactId>seaweedfs-client</artifactId>
  7. <version>3.55</version>
  8. <parent>
  9. <groupId>org.sonatype.oss</groupId>
  10. <artifactId>oss-parent</artifactId>
  11. <version>9</version>
  12. </parent>
  13. <properties>
  14. <protobuf.version>3.9.1</protobuf.version>
  15. <!-- follow https://github.com/grpc/grpc-java -->
  16. <grpc.version>1.23.0</grpc.version>
  17. <guava.version>28.0-jre</guava.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>com.moandjiezana.toml</groupId>
  22. <artifactId>toml4j</artifactId>
  23. <version>0.7.2</version>
  24. </dependency>
  25. <!-- https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java -->
  26. <dependency>
  27. <groupId>com.google.protobuf</groupId>
  28. <artifactId>protobuf-java</artifactId>
  29. <version>${protobuf.version}</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.google.guava</groupId>
  33. <artifactId>guava</artifactId>
  34. <version>${guava.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>io.grpc</groupId>
  38. <artifactId>grpc-netty-shaded</artifactId>
  39. <version>${grpc.version}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>io.grpc</groupId>
  43. <artifactId>grpc-protobuf</artifactId>
  44. <version>${grpc.version}</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>io.grpc</groupId>
  48. <artifactId>grpc-stub</artifactId>
  49. <version>${grpc.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.slf4j</groupId>
  53. <artifactId>slf4j-api</artifactId>
  54. <version>1.7.25</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.httpcomponents</groupId>
  58. <artifactId>httpmime</artifactId>
  59. <version>4.5.13</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>junit</groupId>
  63. <artifactId>junit</artifactId>
  64. <version>4.13.1</version>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>javax.annotation</groupId>
  69. <artifactId>javax.annotation-api</artifactId>
  70. <version>1.3.2</version>
  71. </dependency>
  72. </dependencies>
  73. <build>
  74. <extensions>
  75. <extension>
  76. <groupId>kr.motd.maven</groupId>
  77. <artifactId>os-maven-plugin</artifactId>
  78. <version>1.6.2</version>
  79. </extension>
  80. </extensions>
  81. <plugins>
  82. <plugin>
  83. <groupId>org.apache.maven.plugins</groupId>
  84. <artifactId>maven-compiler-plugin</artifactId>
  85. <configuration>
  86. <source>8</source>
  87. <target>8</target>
  88. </configuration>
  89. </plugin>
  90. <plugin>
  91. <groupId>org.xolstice.maven.plugins</groupId>
  92. <artifactId>protobuf-maven-plugin</artifactId>
  93. <version>0.6.1</version>
  94. <configuration>
  95. <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}
  96. </protocArtifact>
  97. <pluginId>grpc-java</pluginId>
  98. <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}
  99. </pluginArtifact>
  100. </configuration>
  101. <executions>
  102. <execution>
  103. <goals>
  104. <goal>compile</goal>
  105. <goal>compile-custom</goal>
  106. </goals>
  107. </execution>
  108. </executions>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.apache.maven.plugins</groupId>
  112. <artifactId>maven-source-plugin</artifactId>
  113. <version>2.2.1</version>
  114. <executions>
  115. <execution>
  116. <id>attach-sources</id>
  117. <goals>
  118. <goal>jar-no-fork</goal>
  119. </goals>
  120. </execution>
  121. </executions>
  122. </plugin>
  123. <plugin>
  124. <groupId>org.apache.maven.plugins</groupId>
  125. <artifactId>maven-javadoc-plugin</artifactId>
  126. <version>3.0.1</version>
  127. <executions>
  128. <execution>
  129. <id>attach-javadocs</id>
  130. <goals>
  131. <goal>jar</goal>
  132. </goals>
  133. </execution>
  134. </executions>
  135. </plugin>
  136. </plugins>
  137. </build>
  138. </project>