文档解析应用
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.

261 lines
7.8 KiB

6 months ago
  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>document_parse</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <name>document_parse</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>commons-lang</groupId>
  83. <artifactId>commons-lang</artifactId>
  84. <version>2.6</version>
  85. </dependency>
  86. <!-- https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-reflect -->
  87. <dependency>
  88. <groupId>org.jetbrains.kotlin</groupId>
  89. <artifactId>kotlin-reflect</artifactId>
  90. <version>1.6.21</version>
  91. <scope>runtime</scope>
  92. </dependency>
  93. <!-- https://mvnrepository.com/artifact/org.jsoup/jsoup -->
  94. <dependency>
  95. <groupId>org.jsoup</groupId>
  96. <artifactId>jsoup</artifactId>
  97. <version>1.8.1</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.pdfbox</groupId>
  101. <artifactId>pdfbox</artifactId>
  102. <version>2.0.28</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.poi</groupId>
  106. <artifactId>poi-scratchpad</artifactId>
  107. <version>4.0.1</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.apache.poi</groupId>
  111. <artifactId>poi</artifactId>
  112. <version>4.0.1</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.apache.poi</groupId>
  116. <artifactId>poi-ooxml</artifactId>
  117. <version>4.0.1</version>
  118. </dependency>
  119. <!-- Log4j 2 日志库 -->
  120. <dependency>
  121. <groupId>org.apache.logging.log4j</groupId>
  122. <artifactId>log4j-api</artifactId>
  123. <version>2.14.1</version> <!-- 或者你需要的其他版本 -->
  124. </dependency>
  125. <dependency>
  126. <groupId>org.apache.logging.log4j</groupId>
  127. <artifactId>log4j-core</artifactId>
  128. <version>2.14.1</version> <!-- 或者你需要的其他版本 -->
  129. </dependency>
  130. <dependency>
  131. <groupId>org.projectlombok</groupId>
  132. <artifactId>lombok</artifactId>
  133. </dependency>
  134. <!-- <dependency> -->
  135. <!-- <groupId>org.apache.kafka</groupId> -->
  136. <!-- <artifactId>kafka-clients</artifactId> -->
  137. <!-- <version>2.6.0</version> -->
  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. <!-- https://mvnrepository.com/artifact/p6spy/p6spy -->
  153. <dependency>
  154. <groupId>p6spy</groupId>
  155. <artifactId>p6spy</artifactId>
  156. <version>3.9.0</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>commons-collections</groupId>
  160. <artifactId>commons-collections</artifactId>
  161. <version>3.2.2</version>
  162. </dependency>
  163. </dependencies>
  164. <build>
  165. <!-- <pluginManagement> --><!-- lock down plugins versions to avoid using Maven defaults (may be moved
  166. to parent pom) -->
  167. <plugins>
  168. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  169. <plugin>
  170. <artifactId>maven-clean-plugin</artifactId>
  171. <version>3.1.0</version>
  172. </plugin>
  173. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  174. <plugin>
  175. <artifactId>maven-resources-plugin</artifactId>
  176. <version>3.0.2</version>
  177. </plugin>
  178. <plugin>
  179. <artifactId>maven-compiler-plugin</artifactId>
  180. <version>3.8.0</version>
  181. </plugin>
  182. <plugin>
  183. <artifactId>maven-surefire-plugin</artifactId>
  184. <version>2.22.1</version>
  185. </plugin>
  186. <plugin>
  187. <artifactId>maven-jar-plugin</artifactId>
  188. <version>3.0.2</version>
  189. </plugin>
  190. <plugin>
  191. <artifactId>maven-install-plugin</artifactId>
  192. <version>2.5.2</version>
  193. </plugin>
  194. <plugin>
  195. <artifactId>maven-deploy-plugin</artifactId>
  196. <version>2.8.2</version>
  197. </plugin>
  198. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  199. <plugin>
  200. <artifactId>maven-site-plugin</artifactId>
  201. <version>3.7.1</version>
  202. </plugin>
  203. <plugin>
  204. <artifactId>maven-project-info-reports-plugin</artifactId>
  205. <version>3.0.0</version>
  206. </plugin>
  207. <!-- spring-boot-maven-plugin插件就是打包spring boot应用的 -->
  208. <plugin>
  209. <groupId>org.springframework.boot</groupId>
  210. <artifactId>spring-boot-maven-plugin</artifactId>
  211. <configuration>
  212. <mainClass>com.bfd.parse.Application</mainClass>
  213. <layout>ZIP</layout>
  214. <includes>
  215. <include>
  216. <groupId>${project.groupId}</groupId>
  217. <artifactId>${project.artifactId}</artifactId>
  218. </include>
  219. </includes>
  220. </configuration>
  221. <executions>
  222. <execution>
  223. <goals>
  224. <goal>repackage</goal>
  225. </goals>
  226. </execution>
  227. </executions>
  228. </plugin>
  229. <plugin>
  230. <groupId>org.apache.maven.plugins</groupId>
  231. <artifactId>maven-dependency-plugin</artifactId>
  232. <version>3.1.1</version>
  233. <executions>
  234. <execution>
  235. <id>copy</id>
  236. <phase>package</phase>
  237. <goals>
  238. <goal>copy-dependencies</goal>
  239. </goals>
  240. <configuration>
  241. <type>jar</type>
  242. <includeTypes>jar</includeTypes>
  243. <includeScope>runtime</includeScope>
  244. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  245. </configuration>
  246. </execution>
  247. </executions>
  248. </plugin>
  249. </plugins>
  250. <!-- </pluginManagement> -->
  251. </build>
  252. </project>