pom.xml 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.6.5</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.fdkk</groupId>
  12. <artifactId>fdkk-meta</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>fdkk-meta</name>
  15. <description>fdkk-meta</description>
  16. <packaging>jar</packaging>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. <hutool.version>5.7.7</hutool.version>
  20. <socketio.version>1.7.19</socketio.version>
  21. <fastjson.version>1.2.79</fastjson.version>
  22. <tls.version>2.0</tls.version>
  23. <mybatis-plus-boot-starter.version>3.4.3.1</mybatis-plus-boot-starter.version>
  24. <druid.version>1.2.6</druid.version>
  25. <pagehelper.boot.version>1.3.1</pagehelper.boot.version>
  26. <grpc.version>1.36.0</grpc.version>
  27. <os.plugin.version>1.5.0.Final</os.plugin.version>
  28. <protobuf.plugin.version>0.5.0</protobuf.plugin.version>
  29. <protoc.version>3.3.0</protoc.version>
  30. <tlog-all-spring-boot-starter.version>1.3.5</tlog-all-spring-boot-starter.version>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-web</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-test</artifactId>
  44. <scope>test</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.baomidou</groupId>
  48. <artifactId>mybatis-plus-boot-starter</artifactId>
  49. <version>${mybatis-plus-boot-starter.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.github.tencentyun</groupId>
  53. <artifactId>tls-sig-api-v2</artifactId>
  54. <version>${tls.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.corundumstudio.socketio</groupId>
  58. <artifactId>netty-socketio</artifactId>
  59. <version>${socketio.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.projectlombok</groupId>
  63. <artifactId>lombok</artifactId>
  64. <optional>true</optional>
  65. </dependency>
  66. <dependency>
  67. <groupId>mysql</groupId>
  68. <artifactId>mysql-connector-java</artifactId>
  69. <scope>runtime</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-test</artifactId>
  74. <scope>test</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>cn.hutool</groupId>
  78. <artifactId>hutool-all</artifactId>
  79. <version>${hutool.version}</version>
  80. </dependency>
  81. <!-- 阿里JSON解析器 -->
  82. <dependency>
  83. <groupId>com.alibaba</groupId>
  84. <artifactId>fastjson</artifactId>
  85. <version>${fastjson.version}</version>
  86. </dependency>
  87. <!-- pagehelper 分页插件 -->
  88. <dependency>
  89. <groupId>com.github.pagehelper</groupId>
  90. <artifactId>pagehelper-spring-boot-starter</artifactId>
  91. <version>${pagehelper.boot.version}</version>
  92. </dependency>
  93. <!-- https://mvnrepository.com/artifact/ws.schild/jave-nativebin-linux64 -->
  94. <!-- 阿里数据库连接池 -->
  95. <dependency>
  96. <groupId>com.alibaba</groupId>
  97. <artifactId>druid-spring-boot-starter</artifactId>
  98. <version>${druid.version}</version>
  99. <exclusions>
  100. <exclusion>
  101. <groupId>com.sun</groupId>
  102. <artifactId>tools</artifactId>
  103. </exclusion>
  104. <exclusion>
  105. <groupId>com.sun</groupId>
  106. <artifactId>jconsole</artifactId>
  107. </exclusion>
  108. </exclusions>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.lmax</groupId>
  112. <artifactId>disruptor</artifactId>
  113. <version>3.3.4</version>
  114. </dependency>
  115. <!--集成Redis-->
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-starter-data-redis</artifactId>
  119. <optional>true</optional>
  120. </dependency>
  121. <!--redis连接池 start-->
  122. <dependency>
  123. <groupId>org.apache.commons</groupId>
  124. <artifactId>commons-pool2</artifactId>
  125. </dependency>
  126. <!-- <dependency>-->
  127. <!-- <groupId>org.bytedeco</groupId>-->
  128. <!-- <artifactId>javacv-platform</artifactId>-->
  129. <!-- <version>1.5.7</version>-->
  130. <!-- </dependency>-->
  131. <!--redis连接池 end-->
  132. <dependency>
  133. <groupId>net.devh</groupId>
  134. <artifactId>grpc-client-spring-boot-starter</artifactId>
  135. <version>2.13.1.RELEASE</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>net.devh</groupId>
  139. <artifactId>grpc-server-spring-boot-starter</artifactId>
  140. <version>2.13.1.RELEASE</version>
  141. </dependency>
  142. <!-- grpc 这里的版本很重要,不同的版本代码都会有不同 -->
  143. <dependency>
  144. <groupId>io.grpc</groupId>
  145. <artifactId>grpc-protobuf</artifactId>
  146. <version>${grpc.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>io.grpc</groupId>
  150. <artifactId>grpc-stub</artifactId>
  151. <version>${grpc.version}</version>
  152. </dependency>
  153. <!-- https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java-util -->
  154. <dependency>
  155. <groupId>com.google.protobuf</groupId>
  156. <artifactId>protobuf-java-util</artifactId>
  157. <version>3.7.1</version>
  158. </dependency>
  159. <!-- https://mvnrepository.com/artifact/com.googlecode.protobuf-java-format/protobuf-java-format -->
  160. <dependency>
  161. <groupId>com.googlecode.protobuf-java-format</groupId>
  162. <artifactId>protobuf-java-format</artifactId>
  163. <version>1.4</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.yomahub</groupId>
  167. <artifactId>tlog-all-spring-boot-starter</artifactId>
  168. <version>${tlog-all-spring-boot-starter.version}</version>
  169. </dependency>
  170. </dependencies>
  171. <build>
  172. <extensions>
  173. <extension>
  174. <groupId>kr.motd.maven</groupId>
  175. <artifactId>os-maven-plugin</artifactId>
  176. <version>${os.plugin.version}</version>
  177. </extension>
  178. </extensions>
  179. <resources>
  180. <resource>
  181. <directory>src/main/resources</directory>
  182. <filtering>false</filtering>
  183. </resource>
  184. </resources>
  185. <plugins>
  186. <plugin>
  187. <groupId>org.apache.maven.plugins</groupId>
  188. <artifactId>maven-surefire-plugin</artifactId>
  189. <configuration>
  190. <skip>true</skip>
  191. </configuration>
  192. </plugin>
  193. <plugin>
  194. <groupId>org.springframework.boot</groupId>
  195. <artifactId>spring-boot-maven-plugin</artifactId>
  196. <version>2.1.1.RELEASE</version>
  197. <configuration>
  198. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  199. </configuration>
  200. <executions>
  201. <execution>
  202. <goals>
  203. <goal>repackage</goal>
  204. </goals>
  205. </execution>
  206. </executions>
  207. </plugin>
  208. <plugin>
  209. <groupId>org.xolstice.maven.plugins</groupId>
  210. <artifactId>protobuf-maven-plugin</artifactId>
  211. <version>${protobuf.plugin.version}</version>
  212. <configuration>
  213. <protocArtifact>com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier}</protocArtifact>
  214. <pluginId>grpc-java</pluginId>
  215. <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
  216. </configuration>
  217. <executions>
  218. <execution>
  219. <goals>
  220. <goal>compile</goal>
  221. <goal>compile-custom</goal>
  222. </goals>
  223. </execution>
  224. </executions>
  225. </plugin>
  226. </plugins>
  227. <finalName>${project.artifactId}</finalName>
  228. </build>
  229. </project>