api客户端、服务端应用
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.

282 lines
8.3 KiB

  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. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.2.4.RELEASE</version>
  9. </parent>
  10. <groupId>com.bfd</groupId>
  11. <artifactId>api_manager</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <name>api_manager</name>
  14. <!-- FIXME change it to the project's website -->
  15. <url>http://www.example.com</url>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <maven.compiler.source>1.8</maven.compiler.source>
  19. <maven.compiler.target>1.8</maven.compiler.target>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>junit</groupId>
  24. <artifactId>junit</artifactId>
  25. <version>4.11</version>
  26. <scope>test</scope>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. </dependency>
  32. <!-- https://mvnrepository.com/artifact/de.codecentric/spring-boot-admin-starter-client -->
  33. <dependency>
  34. <groupId>de.codecentric</groupId>
  35. <artifactId>spring-boot-admin-starter-client</artifactId>
  36. <version>2.2.4</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.google.code.gson</groupId>
  40. <artifactId>gson</artifactId>
  41. <version>2.8.8</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-test</artifactId>
  46. </dependency>
  47. <!-- https://mvnrepository.com/artifact/org.springframework/spring-test -->
  48. <dependency>
  49. <groupId>org.springframework</groupId>
  50. <artifactId>spring-test</artifactId>
  51. <version>5.0.10.RELEASE</version>
  52. <scope>test</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>commons-io</groupId>
  56. <artifactId>commons-io</artifactId>
  57. <version>2.11.0</version> <!-- 根据你的需求选择版本 -->
  58. </dependency>
  59. <dependency>
  60. <groupId>com.alibaba</groupId>
  61. <artifactId>fastjson</artifactId>
  62. <version>2.0.17</version>
  63. </dependency>
  64. <!-- https://mvnrepository.com/artifact/com.mchange/c3p0 -->
  65. <dependency>
  66. <groupId>com.mchange</groupId>
  67. <artifactId>c3p0</artifactId>
  68. <version>0.9.5.5</version>
  69. </dependency>
  70. <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  71. <dependency>
  72. <groupId>com.squareup.okhttp3</groupId>
  73. <artifactId>okhttp</artifactId>
  74. <version>4.9.3</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.httpcomponents</groupId>
  78. <artifactId>httpclient</artifactId>
  79. <version>4.5.3</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.httpcomponents</groupId>
  83. <artifactId>httpmime</artifactId>
  84. <version>4.5.13</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>commons-lang</groupId>
  88. <artifactId>commons-lang</artifactId>
  89. <version>2.6</version>
  90. </dependency>
  91. <!-- https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-reflect -->
  92. <dependency>
  93. <groupId>org.jetbrains.kotlin</groupId>
  94. <artifactId>kotlin-reflect</artifactId>
  95. <version>1.6.21</version>
  96. <scope>runtime</scope>
  97. </dependency>
  98. <!-- https://mvnrepository.com/artifact/org.jsoup/jsoup -->
  99. <dependency>
  100. <groupId>org.jsoup</groupId>
  101. <artifactId>jsoup</artifactId>
  102. <version>1.8.1</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.pdfbox</groupId>
  106. <artifactId>pdfbox</artifactId>
  107. <version>2.0.28</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.apache.poi</groupId>
  111. <artifactId>poi-scratchpad</artifactId>
  112. <version>4.0.1</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.apache.poi</groupId>
  116. <artifactId>poi</artifactId>
  117. <version>4.0.1</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.poi</groupId>
  121. <artifactId>poi-ooxml</artifactId>
  122. <version>4.0.1</version>
  123. </dependency>
  124. <!-- Log4j 2 日志库 -->
  125. <dependency>
  126. <groupId>org.apache.logging.log4j</groupId>
  127. <artifactId>log4j-api</artifactId>
  128. <version>2.14.1</version> <!-- 或者你需要的其他版本 -->
  129. </dependency>
  130. <dependency>
  131. <groupId>org.apache.logging.log4j</groupId>
  132. <artifactId>log4j-core</artifactId>
  133. <version>2.14.1</version> <!-- 或者你需要的其他版本 -->
  134. </dependency>
  135. <dependency>
  136. <groupId>org.projectlombok</groupId>
  137. <artifactId>lombok</artifactId>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.springframework.kafka</groupId>
  141. <artifactId>spring-kafka</artifactId>
  142. </dependency>
  143. <dependency>
  144. <groupId>cn.hutool</groupId>
  145. <artifactId>hutool-all</artifactId>
  146. <version>5.8.5</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>junit</groupId>
  150. <artifactId>junit</artifactId>
  151. </dependency>
  152. <dependency>
  153. <groupId>p6spy</groupId>
  154. <artifactId>p6spy</artifactId>
  155. <version>3.9.0</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>commons-collections</groupId>
  159. <artifactId>commons-collections</artifactId>
  160. <version>3.2.2</version>
  161. </dependency>
  162. <!--redis -->
  163. <dependency>
  164. <groupId>org.redisson</groupId>
  165. <artifactId>redisson-spring-boot-starter</artifactId>
  166. <version>3.13.6</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.springframework.boot</groupId>
  170. <artifactId>spring-boot-starter-data-redis</artifactId>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.apache.curator</groupId>
  174. <artifactId>curator-framework</artifactId>
  175. <version>5.2.0</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.apache.curator</groupId>
  179. <artifactId>curator-recipes</artifactId>
  180. <version>5.2.0</version>
  181. </dependency>
  182. </dependencies>
  183. <build>
  184. <!-- <pluginManagement> --><!-- lock down plugins versions to avoid using Maven defaults (may be moved
  185. to parent pom) -->
  186. <plugins>
  187. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  188. <plugin>
  189. <artifactId>maven-clean-plugin</artifactId>
  190. <version>3.1.0</version>
  191. </plugin>
  192. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  193. <plugin>
  194. <artifactId>maven-resources-plugin</artifactId>
  195. <version>3.0.2</version>
  196. </plugin>
  197. <plugin>
  198. <artifactId>maven-compiler-plugin</artifactId>
  199. <version>3.8.0</version>
  200. </plugin>
  201. <plugin>
  202. <artifactId>maven-surefire-plugin</artifactId>
  203. <version>2.22.1</version>
  204. </plugin>
  205. <plugin>
  206. <artifactId>maven-jar-plugin</artifactId>
  207. <version>3.0.2</version>
  208. </plugin>
  209. <plugin>
  210. <artifactId>maven-install-plugin</artifactId>
  211. <version>2.5.2</version>
  212. </plugin>
  213. <plugin>
  214. <artifactId>maven-deploy-plugin</artifactId>
  215. <version>2.8.2</version>
  216. </plugin>
  217. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  218. <plugin>
  219. <artifactId>maven-site-plugin</artifactId>
  220. <version>3.7.1</version>
  221. </plugin>
  222. <plugin>
  223. <artifactId>maven-project-info-reports-plugin</artifactId>
  224. <version>3.0.0</version>
  225. </plugin>
  226. <!-- spring-boot-maven-plugin插件就是打包spring boot应用的 -->
  227. <plugin>
  228. <groupId>org.springframework.boot</groupId>
  229. <artifactId>spring-boot-maven-plugin</artifactId>
  230. <configuration>
  231. <mainClass>com.bfd.app.Application</mainClass>
  232. <layout>ZIP</layout>
  233. <includes>
  234. <include>
  235. <groupId>${project.groupId}</groupId>
  236. <artifactId>${project.artifactId}</artifactId>
  237. </include>
  238. </includes>
  239. </configuration>
  240. <executions>
  241. <execution>
  242. <goals>
  243. <goal>repackage</goal>
  244. </goals>
  245. </execution>
  246. </executions>
  247. </plugin>
  248. <plugin>
  249. <groupId>org.apache.maven.plugins</groupId>
  250. <artifactId>maven-dependency-plugin</artifactId>
  251. <version>3.1.1</version>
  252. <executions>
  253. <execution>
  254. <id>copy</id>
  255. <phase>package</phase>
  256. <goals>
  257. <goal>copy-dependencies</goal>
  258. </goals>
  259. <configuration>
  260. <type>jar</type>
  261. <includeTypes>jar</includeTypes>
  262. <includeScope>runtime</includeScope>
  263. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  264. </configuration>
  265. </execution>
  266. </executions>
  267. </plugin>
  268. </plugins>
  269. <!-- </pluginManagement> -->
  270. </build>
  271. </project>