pom.xml 15 KB

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