pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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. <modelVersion>4.0.0</modelVersion>
  6. <groupId>org.example</groupId>
  7. <artifactId>zk-service-center</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <properties>
  10. <maven.compiler.source>8</maven.compiler.source>
  11. <maven.compiler.target>8</maven.compiler.target>
  12. </properties>
  13. <parent>
  14. <groupId>org.springframework.boot</groupId>
  15. <artifactId>spring-boot-starter-parent</artifactId>
  16. <version>2.3.12.RELEASE</version>
  17. </parent>
  18. <dependencies>
  19. <!-- web和接口依赖-->
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <!-- 简化代码-->
  25. <dependency>
  26. <groupId>org.projectlombok</groupId>
  27. <artifactId>lombok</artifactId>
  28. <version>1.16.10</version>
  29. </dependency>
  30. <!-- json序列化-->
  31. <dependency>
  32. <groupId>com.alibaba</groupId>
  33. <artifactId>fastjson</artifactId>
  34. <version>1.2.79</version>
  35. </dependency>
  36. <!-- bean的帮助包-->
  37. <dependency>
  38. <groupId>commons-beanutils</groupId>
  39. <artifactId>commons-beanutils</artifactId>
  40. <version>1.9.4</version>
  41. </dependency>
  42. <!-- netty客户端依赖,向云端传数据要用-->
  43. <dependency>
  44. <groupId>io.netty</groupId>
  45. <artifactId>netty-all</artifactId>
  46. <version>4.1.48.Final</version>
  47. </dependency>
  48. <!-- redis的存取-->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-data-redis</artifactId>
  52. <version>3.0.1</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-websocket</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>mysql</groupId>
  60. <artifactId>mysql-connector-java</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.baomidou</groupId>
  64. <artifactId>mybatis-plus-boot-starter</artifactId>
  65. <version>3.5.2</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.baomidou</groupId>
  69. <artifactId>mybatis-plus-generator</artifactId>
  70. <version>3.5.3</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.freemarker</groupId>
  74. <artifactId>freemarker</artifactId>
  75. <version>2.3.28</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>commons-lang</groupId>
  79. <artifactId>commons-lang</artifactId>
  80. <version>2.3</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.apache.commons</groupId>
  84. <artifactId>commons-lang3</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>io.springfox</groupId>
  88. <artifactId>springfox-swagger2</artifactId>
  89. <version>3.0.0</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>io.springfox</groupId>
  93. <artifactId>springfox-swagger-ui</artifactId>
  94. <version>2.9.2</version>
  95. </dependency>
  96. <!-- 更简洁的swagger UI http://localhost:8080/doc.html 原来http://localhost:8080/swagger-ui/index.html-->
  97. <dependency>
  98. <groupId>com.github.xiaoymin</groupId>
  99. <artifactId>knife4j-spring-boot-starter</artifactId>
  100. <version>3.0.3</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.auth0</groupId>
  104. <artifactId>java-jwt</artifactId>
  105. <version>3.18.2</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.google.code.gson</groupId>
  109. <artifactId>gson</artifactId>
  110. <version>2.9.0</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>commons-codec</groupId>
  114. <artifactId>commons-codec</artifactId>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.apache.httpcomponents</groupId>
  118. <artifactId>httpclient</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>junit</groupId>
  122. <artifactId>junit</artifactId>
  123. </dependency>
  124. <dependency>
  125. <groupId>joda-time</groupId>
  126. <artifactId>joda-time</artifactId>
  127. <version>2.9.9</version>
  128. </dependency>
  129. <!-- https://mvnrepository.com/artifact/com.github.yulichang/mybatis-plus-join -->
  130. <dependency>
  131. <groupId>com.github.yulichang</groupId>
  132. <artifactId>mybatis-plus-join</artifactId>
  133. <version>1.2.4</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.junit.platform</groupId>
  137. <artifactId>junit-platform-commons</artifactId>
  138. <version>1.8.2</version>
  139. </dependency>
  140. <!-- Springboot整合 Kafka使用。注意:版本一致 -->
  141. <dependency>
  142. <groupId>org.springframework.kafka</groupId>
  143. <artifactId>spring-kafka</artifactId>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.apache.curator</groupId>
  147. <artifactId>curator-recipes</artifactId>
  148. <version>2.13.0</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.apache.zookeeper</groupId>
  152. <artifactId>zookeeper</artifactId>
  153. <version>3.4.13</version>
  154. </dependency>
  155. </dependencies>
  156. <build>
  157. <plugins>
  158. <plugin>
  159. <groupId>org.springframework.boot</groupId>
  160. <artifactId>spring-boot-maven-plugin</artifactId>
  161. <executions>
  162. <execution>
  163. <goals>
  164. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中 -->
  165. </goals>
  166. </execution>
  167. </executions>
  168. </plugin>
  169. </plugins>
  170. </build>
  171. </project>