pom.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  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. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.3.3.RELEASE</version>
  10. <relativePath/> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>com.muzhi.tianpai</groupId>
  13. <artifactId>springboot</artifactId>
  14. <!-- <packaging>jar</packaging>-->
  15. <version>tianpai</version>
  16. <name>tianpai</name>
  17. <description>Demo project for Spring Boot</description>
  18. <properties>
  19. <java.version>1.8</java.version>
  20. <fastjson.version>1.2.33</fastjson.version>
  21. <gson.version>2.8.2</gson.version>
  22. <json.version>20170516</json.version>
  23. <poi.version>3.17</poi.version>
  24. <jodatime.version>2.10.1</jodatime.version>
  25. <swagger.version>2.7.0</swagger.version>
  26. <commons-fileupload.version>1.3.1</commons-fileupload.version>
  27. <!-- <thymeleaf.version>3.0.2.RELEASE</thymeleaf.version>-->
  28. <!-- 布局功能的支持程序 thymeleaf3主程序 layout2以上版本-->
  29. <!-- <thymeleaf-layout-dialect.version>2.1.1</thymeleaf-layout-dialect.version>-->
  30. </properties>
  31. <repositories>
  32. <repository>
  33. <id>sonatype-nexus-staging</id>
  34. <name>Sonatype Nexus Staging</name>
  35. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  36. <releases>
  37. <enabled>true</enabled>
  38. </releases>
  39. <snapshots>
  40. <enabled>true</enabled>
  41. </snapshots>
  42. </repository>
  43. </repositories>
  44. <dependencies>
  45. <!-- JAXB API (Java 11+ 需要手动添加) -->
  46. <dependency>
  47. <groupId>javax.xml.bind</groupId>
  48. <artifactId>jaxb-api</artifactId>
  49. <version>2.3.1</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.glassfish.jaxb</groupId>
  53. <artifactId>jaxb-runtime</artifactId>
  54. <version>2.3.3</version>
  55. </dependency>
  56. <!-- 用于发送 HTTP 请求 (Java 11+ 可选,也可用内置 HttpClient) -->
  57. <!-- 如果你用 Java 8,推荐用 Apache HttpClient -->
  58. <dependency>
  59. <groupId>org.apache.httpcomponents</groupId>
  60. <artifactId>httpclient</artifactId>
  61. <version>4.5.14</version>
  62. </dependency>
  63. <!-- Apache HttpClient (Java 8 最常用的 HTTP 客户端) -->
  64. <dependency>
  65. <groupId>org.apache.httpcomponents</groupId>
  66. <artifactId>httpclient</artifactId>
  67. <version>4.5.14</version>
  68. </dependency>
  69. <!-- JAXB API (Java 8 内置,但显式声明避免问题) -->
  70. <dependency>
  71. <groupId>javax.xml.bind</groupId>
  72. <artifactId>jaxb-api</artifactId>
  73. <version>2.3.1</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.glassfish.jaxb</groupId>
  77. <artifactId>jaxb-runtime</artifactId>
  78. <version>2.3.3</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.auth0</groupId>
  82. <artifactId>java-jwt</artifactId>
  83. <version>3.4.0</version>
  84. </dependency>
  85. <!-- httpClient -->
  86. <dependency>
  87. <groupId>org.apache.httpcomponents</groupId>
  88. <artifactId>httpclient</artifactId>
  89. <version>4.5.2</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.httpcomponents</groupId>
  93. <artifactId>httpcore</artifactId>
  94. <version>4.4.13</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>commons-httpclient</groupId>
  98. <artifactId>commons-httpclient</artifactId>
  99. <version>3.1</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.squareup.okhttp3</groupId>
  103. <artifactId>okhttp</artifactId>
  104. <version>4.4.1</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.konghq</groupId>
  108. <artifactId>unirest-java</artifactId>
  109. <version>2.3.17</version>
  110. </dependency>
  111. <!-- <dependency>-->
  112. <!-- <groupId>org.slf4j</groupId>-->
  113. <!-- <artifactId>slf4j-api</artifactId>-->
  114. <!-- </dependency>-->
  115. <!-- <dependency>-->
  116. <!-- <groupId>commons-io</groupId>-->
  117. <!-- <artifactId>commons-io</artifactId>-->
  118. <!-- </dependency>-->
  119. <!--json 组件 -->
  120. <!-- <dependency>-->
  121. <!-- <groupId>com.alibaba</groupId>-->
  122. <!-- <artifactId>fastjson</artifactId>-->
  123. <!-- <scope>provided</scope>-->
  124. <!-- </dependency>-->
  125. <!-- <dependency>-->
  126. <!-- <groupId>org.apache.cxf</groupId>-->
  127. <!-- <artifactId>cxf-spring-boot-starter-jaxws</artifactId>-->
  128. <!-- <version>3.3.1</version>-->
  129. <!-- </dependency>-->
  130. <!-- <dependency>-->
  131. <!-- <groupId>org.springframework.boot</groupId>-->
  132. <!-- <artifactId>spring-boot-starter-thymeleaf</artifactId>-->
  133. <!--&lt;!&ndash; <version>2.3.3.RELEASE</version>&ndash;&gt;-->
  134. <!-- </dependency>-->
  135. <!--阿里云OCR识别-->
  136. <dependency>
  137. <groupId>com.aliyun</groupId>
  138. <artifactId>ocr_api20210707</artifactId>
  139. <version>3.1.3</version>
  140. </dependency>
  141. <!-- 腾讯云OCR识别 -->
  142. <dependency>
  143. <groupId>com.tencentcloudapi</groupId>
  144. <artifactId>tencentcloud-sdk-java-ocr</artifactId>
  145. <version>3.1.1210</version>
  146. </dependency>
  147. <!-- 阿里云 SDK Core -->
  148. <!-- <dependency>-->
  149. <!-- <groupId>com.aliyun</groupId>-->
  150. <!-- <artifactId>tea-openapi</artifactId>-->
  151. <!-- <version>2.4.2</version>-->
  152. <!-- </dependency>-->
  153. <!-- 如果使用 OkHttp 作为 HTTP 客户端 -->
  154. <!-- <dependency>-->
  155. <!-- <groupId>com.aliyun</groupId>-->
  156. <!-- <artifactId>tea-util</artifactId>-->
  157. <!-- <version>0.2.21</version>-->
  158. <!-- </dependency>-->
  159. <!--压缩包相关-->
  160. <!-- RAR 解压支持 -->
  161. <dependency>
  162. <groupId>com.github.junrar</groupId>
  163. <artifactId>junrar</artifactId>
  164. <version>7.5.3</version>
  165. </dependency>
  166. <!--钉钉相关-->
  167. <dependency>
  168. <groupId>com.aliyun</groupId>
  169. <artifactId>alibaba-dingtalk-service-sdk</artifactId>
  170. <version>2.0.0</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>com.aliyun</groupId>
  174. <artifactId>dingtalk</artifactId>
  175. <version>2.2.34</version>
  176. </dependency>
  177. <!--json相关-->
  178. <dependency>
  179. <groupId>com.alibaba</groupId>
  180. <artifactId>fastjson</artifactId>
  181. <version>${fastjson.version}</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.json</groupId>
  185. <artifactId>json</artifactId>
  186. <version>${json.version}</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>com.google.code.gson</groupId>
  190. <artifactId>gson</artifactId>
  191. <version>${gson.version}</version>
  192. </dependency>
  193. <!-- <dependency>-->
  194. <!-- <groupId>net.sf.json-lib</groupId>-->
  195. <!-- <artifactId>json-lib</artifactId>-->
  196. <!-- <version>2.4</version>-->
  197. <!-- </dependency>-->
  198. <!-- JSONObject对象依赖的jar包 -->
  199. <dependency>
  200. <groupId>commons-beanutils</groupId>
  201. <artifactId>commons-beanutils</artifactId>
  202. <version>1.9.3</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>commons-collections</groupId>
  206. <artifactId>commons-collections</artifactId>
  207. <version>3.2.1</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>commons-lang</groupId>
  211. <artifactId>commons-lang</artifactId>
  212. <version>2.6</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>commons-logging</groupId>
  216. <artifactId>commons-logging</artifactId>
  217. <version>1.1.1</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>net.sf.ezmorph</groupId>
  221. <artifactId>ezmorph</artifactId>
  222. <version>1.0.6</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>net.sf.json-lib</groupId>
  226. <artifactId>json-lib</artifactId>
  227. <version>2.2.3</version>
  228. <classifier>jdk15</classifier><!-- 指定jdk版本 -->
  229. </dependency>
  230. <!--xls-->
  231. <dependency>
  232. <groupId>org.apache.poi</groupId>
  233. <artifactId>poi</artifactId>
  234. <version>${poi.version}</version>
  235. </dependency>
  236. <!--xlsx-->
  237. <dependency>
  238. <groupId>org.apache.poi</groupId>
  239. <artifactId>poi-ooxml</artifactId>
  240. <version>${poi.version}</version>
  241. </dependency>
  242. <!--文件上传-->
  243. <dependency>
  244. <groupId>commons-fileupload</groupId>
  245. <artifactId>commons-fileupload</artifactId>
  246. <version>${commons-fileupload.version}</version>
  247. </dependency>
  248. <!-- OpenHTMLToPDF 用于将HTML高保真渲染为PDF -->
  249. <dependency>
  250. <groupId>com.openhtmltopdf</groupId>
  251. <artifactId>openhtmltopdf-pdfbox</artifactId>
  252. <version>1.0.10</version>
  253. </dependency>
  254. <!-- <dependency>-->
  255. <!-- <groupId>org.springframework.boot</groupId>-->
  256. <!-- <artifactId>spring-boot-starter-thymeleaf</artifactId>-->
  257. <!-- </dependency>-->
  258. <!--引入web模块-->
  259. <dependency>
  260. <groupId>org.springframework.boot</groupId>
  261. <artifactId>spring-boot-starter-web</artifactId>
  262. </dependency>
  263. <dependency>
  264. <groupId>org.springframework.boot</groupId>
  265. <artifactId>spring-boot-devtools</artifactId>
  266. <version>2.3.3.RELEASE</version>
  267. </dependency>
  268. <dependency>
  269. <groupId>org.projectlombok</groupId>
  270. <artifactId>lombok</artifactId>
  271. <optional>true</optional>
  272. <version>1.18.10</version>
  273. </dependency>
  274. <!--MD5加密-->
  275. <dependency>
  276. <groupId>org.apache.directory.studio</groupId>
  277. <artifactId>org.apache.commons.codec</artifactId>
  278. <version>1.8</version>
  279. </dependency>
  280. <!--Map缓存方法:可设置Map中的Entry在一段时间后自动过期-->
  281. <dependency>
  282. <groupId>net.jodah</groupId>
  283. <artifactId>expiringmap</artifactId>
  284. <version>0.5.8</version>
  285. </dependency>
  286. <!-- &lt;!&ndash;mybatis-plus数据库连接&ndash;&gt;-->
  287. <!-- <dependency>-->
  288. <!-- <groupId>com.baomidou</groupId>-->
  289. <!-- <artifactId>mybatis-plus-boot-starter</artifactId>-->
  290. <!-- <version>3.2.0</version>-->
  291. <!-- </dependency>-->
  292. <!-- &lt;!&ndash;引入mysql:数据库驱动&ndash;&gt;-->
  293. <!-- <dependency>-->
  294. <!-- <groupId>mysql</groupId>-->
  295. <!-- <artifactId>mysql-connector-java</artifactId>-->
  296. <!-- <scope>runtime</scope>-->
  297. <!-- </dependency>-->
  298. <!-- &lt;!&ndash;引入druid数据源&ndash;&gt;-->
  299. <!-- &lt;!&ndash; https://mvnrepository.com/artifact/com.alibaba/druid &ndash;&gt;-->
  300. <!-- <dependency>-->
  301. <!-- <groupId>com.alibaba</groupId>-->
  302. <!-- <artifactId>druid</artifactId>-->
  303. <!-- <version>1.1.9</version>-->
  304. <!-- </dependency>-->
  305. <!-- <dependency>-->
  306. <!-- <groupId>com.alibaba</groupId>-->
  307. <!-- <artifactId>druid-spring-boot-starter</artifactId>-->
  308. <!-- <version>1.1.9</version>-->
  309. <!-- </dependency>-->
  310. <!--引入jpa模块-->
  311. <dependency>
  312. <groupId>org.springframework.boot</groupId>
  313. <artifactId>spring-boot-starter-data-jpa</artifactId>
  314. </dependency>
  315. <!--日期时间工具-->
  316. <dependency>
  317. <groupId>joda-time</groupId>
  318. <artifactId>joda-time</artifactId>
  319. <version>${jodatime.version}</version>
  320. </dependency>
  321. <!--日期工具-->
  322. <dependency>
  323. <groupId>cn.hutool</groupId>
  324. <artifactId>hutool-all</artifactId>
  325. <version>4.6.8</version>
  326. </dependency>
  327. <!--log4j-->
  328. <dependency>
  329. <groupId>log4j</groupId>
  330. <artifactId>log4j</artifactId>
  331. <version>1.2.17</version>
  332. </dependency>
  333. <!--swagger-->
  334. <dependency>
  335. <groupId>io.springfox</groupId>
  336. <artifactId>springfox-swagger2</artifactId>
  337. <version>${swagger.version}</version>
  338. </dependency>
  339. <!--swagger ui-->
  340. <dependency>
  341. <groupId>io.springfox</groupId>
  342. <artifactId>springfox-swagger-ui</artifactId>
  343. <version>${swagger.version}</version>
  344. </dependency>
  345. <dependency>
  346. <groupId>org.springframework.boot</groupId>
  347. <artifactId>spring-boot-starter-test</artifactId>
  348. <scope>test</scope>
  349. <exclusions>
  350. <exclusion>
  351. <groupId>org.junit.vintage</groupId>
  352. <artifactId>junit-vintage-engine</artifactId>
  353. </exclusion>
  354. </exclusions>
  355. </dependency>
  356. </dependencies>
  357. <build>
  358. <plugins>
  359. <plugin>
  360. <groupId>org.springframework.boot</groupId>
  361. <artifactId>spring-boot-maven-plugin</artifactId>
  362. <configuration>
  363. <fork>true</fork>
  364. </configuration>
  365. </plugin>
  366. <plugin>
  367. <groupId>org.apache.maven.plugins</groupId>
  368. <artifactId>maven-compiler-plugin</artifactId>
  369. <version>2.3.1</version>
  370. <configuration>
  371. <source>1.8</source>
  372. <target>1.8</target>
  373. <encoding>utf8</encoding>
  374. </configuration>
  375. </plugin>
  376. <!--打包跳过测试-->
  377. <!-- <plugin>-->
  378. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  379. <!-- <artifactId>maven-surefire-plugin</artifactId>-->
  380. <!-- <version>2.4.2</version>-->
  381. <!-- <configuration>-->
  382. <!-- <skipTests>true</skipTests>-->
  383. <!-- </configuration>-->
  384. <!-- </plugin>-->
  385. </plugins>
  386. <!--映射mapper中对应的xml配置文件,如果没有mapper.xml文件则将下列注释-->
  387. <!-- <resources>-->
  388. <!-- <resource>-->
  389. <!-- <directory>src/main/java</directory>-->
  390. <!-- <includes>-->
  391. <!-- <include>**/*.xml</include>-->
  392. <!-- <include>**/*.properties</include>-->
  393. <!-- <include>**/*.tld</include>-->
  394. <!-- <include>**/*.xls</include>-->
  395. <!-- <include>**/*.xlsx</include>-->
  396. <!-- </includes>-->
  397. <!-- <filtering>false</filtering>-->
  398. <!-- </resource>-->
  399. <!-- </resources>-->
  400. </build>
  401. </project>