pom.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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>autodop</artifactId>
  7. <groupId>cn.reghao.autodop</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>common</artifactId>
  12. <properties>
  13. <projOrchestration.build.sourceEncoding>utf-8</projOrchestration.build.sourceEncoding>
  14. <projOrchestration.reporting.outputEncoding>utf-8</projOrchestration.reporting.outputEncoding>
  15. <java.version>1.8</java.version>
  16. <grpc.version>1.23.1</grpc.version>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>io.netty</groupId>
  21. <artifactId>netty-all</artifactId>
  22. <version>4.1.36.Final</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>io.grpc</groupId>
  26. <artifactId>grpc-netty-shaded</artifactId>
  27. <version>${grpc.version}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>io.grpc</groupId>
  31. <artifactId>grpc-protobuf</artifactId>
  32. <version>${grpc.version}</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>io.grpc</groupId>
  36. <artifactId>grpc-stub</artifactId>
  37. <version>${grpc.version}</version>
  38. </dependency>
  39. <!-- 序列化/反序列化工具 -->
  40. <dependency>
  41. <groupId>io.protostuff</groupId>
  42. <artifactId>protostuff-core</artifactId>
  43. <version>1.6.0</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>io.protostuff</groupId>
  47. <artifactId>protostuff-runtime</artifactId>
  48. <version>1.6.0</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.alibaba</groupId>
  52. <artifactId>fastjson</artifactId>
  53. <version>1.2.58</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.alipay.sofa</groupId>
  57. <artifactId>hessian</artifactId>
  58. <version>3.3.6</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.google.code.gson</groupId>
  62. <artifactId>gson</artifactId>
  63. <version>2.8.5</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.commons</groupId>
  67. <artifactId>commons-lang3</artifactId>
  68. <version>3.7</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.apache.commons</groupId>
  72. <artifactId>commons-compress</artifactId>
  73. <version>1.19</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>commons-io</groupId>
  77. <artifactId>commons-io</artifactId>
  78. <version>2.6</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.httpcomponents</groupId>
  82. <artifactId>httpclient</artifactId>
  83. <version>4.5.8</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.httpcomponents</groupId>
  87. <artifactId>httpmime</artifactId>
  88. <version>4.5.8</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.sun.mail</groupId>
  92. <artifactId>javax.mail</artifactId>
  93. <version>RELEASE</version>
  94. </dependency>
  95. </dependencies>
  96. <build>
  97. <extensions>
  98. <extension>
  99. <groupId>kr.motd.maven</groupId>
  100. <artifactId>os-maven-plugin</artifactId>
  101. <version>1.5.0.Final</version>
  102. </extension>
  103. </extensions>
  104. <plugins>
  105. <plugin>
  106. <groupId>org.apache.maven.plugins</groupId>
  107. <artifactId>maven-compiler-plugin</artifactId>
  108. <configuration>
  109. <source>1.8</source>
  110. <target>1.8</target>
  111. </configuration>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.xolstice.maven.plugins</groupId>
  115. <artifactId>protobuf-maven-plugin</artifactId>
  116. <version>0.5.1</version>
  117. <configuration>
  118. <protocArtifact>com.google.protobuf:protoc:3.5.1-1:exe:${os.detected.classifier}</protocArtifact>
  119. <pluginId>grpc-java</pluginId>
  120. <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
  121. </configuration>
  122. <executions>
  123. <execution>
  124. <goals>
  125. <goal>compile</goal>
  126. <goal>compile-custom</goal>
  127. </goals>
  128. </execution>
  129. </executions>
  130. </plugin>
  131. </plugins>
  132. </build>
  133. </project>