pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  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 https://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.3.8.RELEASE</version>
  9. </parent>
  10. <groupId>com.tuigai</groupId>
  11. <artifactId>tuigai_tongcheng_api</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <name>tuigai_tongcheng_api</name>
  14. <description>tuigai_tongcheng_api</description>
  15. <properties>
  16. <java.version>8</java.version>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>cn.hutool</groupId>
  21. <artifactId>hutool-all</artifactId>
  22. <version>5.5.1</version>
  23. </dependency>
  24. <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
  25. <dependency>
  26. <groupId>commons-io</groupId>
  27. <artifactId>commons-io</artifactId>
  28. <version>2.6</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.github.pagehelper</groupId>
  32. <artifactId>pagehelper-spring-boot-starter</artifactId>
  33. <version>1.4.7</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.neovisionaries</groupId>
  37. <artifactId>nv-i18n</artifactId>
  38. <version>1.25</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter</artifactId>
  43. <exclusions>
  44. <exclusion>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-logging</artifactId>
  47. </exclusion>
  48. </exclusions>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-web</artifactId>
  53. </dependency>
  54. <!--log4j2 -->
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-log4j2</artifactId>
  58. </dependency>
  59. <!--slf4j -->
  60. <dependency>
  61. <groupId>org.projectlombok</groupId>
  62. <artifactId>lombok</artifactId>
  63. <version>1.18.20</version>
  64. <scope>provided</scope>
  65. </dependency>
  66. <!--okhttp3-->
  67. <dependency>
  68. <groupId>com.squareup.okhttp3</groupId>
  69. <artifactId>okhttp</artifactId>
  70. <version>3.14.9</version>
  71. </dependency>
  72. <!-- xml 转换为json -->
  73. <dependency>
  74. <groupId>org.json</groupId>
  75. <artifactId>json</artifactId>
  76. <version>20160810</version>
  77. </dependency>
  78. <!-- xml 转换为json-->
  79. <!-- easypoi -->
  80. <dependency>
  81. <groupId>cn.afterturn</groupId>
  82. <artifactId>easypoi-spring-boot-starter</artifactId>
  83. <exclusions>
  84. <exclusion>
  85. <groupId>com.google.guava</groupId>
  86. <artifactId>guava</artifactId>
  87. </exclusion>
  88. <exclusion>
  89. <groupId>org.json</groupId>
  90. <artifactId>json</artifactId>
  91. </exclusion>
  92. </exclusions>
  93. <version>4.2.0</version>
  94. </dependency>
  95. <!-- mybatis -->
  96. <dependency>
  97. <groupId>org.mybatis.spring.boot</groupId>
  98. <artifactId>mybatis-spring-boot-starter</artifactId>
  99. <version>2.1.3</version>
  100. </dependency>
  101. <!-- redis -->
  102. <dependency>
  103. <groupId>org.springframework.boot</groupId>
  104. <artifactId>spring-boot-starter-data-redis</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-starter-test</artifactId>
  109. <exclusions>
  110. <exclusion>
  111. <groupId>org.junit.vintage</groupId>
  112. <artifactId>junit-vintage-engine</artifactId>
  113. </exclusion>
  114. </exclusions>
  115. <scope>test</scope>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.springframework.boot</groupId>
  119. <artifactId>spring-boot-configuration-processor</artifactId>
  120. <optional>true</optional>
  121. </dependency>
  122. <dependency>
  123. <groupId>junit</groupId>
  124. <artifactId>junit</artifactId>
  125. <version>4.12</version>
  126. <scope>test</scope>
  127. </dependency>
  128. <dependency>
  129. <groupId>mysql</groupId>
  130. <artifactId>mysql-connector-java</artifactId>
  131. <version>8.0.21</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>com.alibaba</groupId>
  135. <artifactId>druid</artifactId>
  136. <version>1.0.29</version>
  137. </dependency>
  138. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  139. <dependency>
  140. <groupId>com.alibaba</groupId>
  141. <artifactId>fastjson</artifactId>
  142. <version>1.2.75</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.alibaba</groupId>
  146. <artifactId>druid-spring-boot-starter</artifactId>
  147. <version>1.2.11</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.apache.maven</groupId>
  151. <artifactId>maven-model</artifactId>
  152. <version>3.6.3</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.apache.commons</groupId>
  156. <artifactId>commons-lang3</artifactId>
  157. <version>3.7</version>
  158. </dependency>
  159. <!-- xml 相关-->
  160. <dependency>
  161. <groupId>dom4j</groupId>
  162. <artifactId>dom4j</artifactId>
  163. <version>1.6.1</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>jaxen</groupId>
  167. <artifactId>jaxen</artifactId>
  168. <version>1.1.6</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>axis</groupId>
  172. <artifactId>axis</artifactId>
  173. <version>1.4</version>
  174. </dependency>
  175. <!-- https://mvnrepository.com/artifact/com.thoughtworks.xstream/xstream 支持xml转bean -->
  176. <dependency>
  177. <groupId>com.thoughtworks.xstream</groupId>
  178. <artifactId>xstream</artifactId>
  179. <version>1.4.11.1</version>
  180. </dependency>
  181. <!-- https://mvnrepository.com/artifact/org.springframework.amqp/spring-rabbit -->
  182. <!-- rabbitmq-->
  183. <dependency>
  184. <groupId>org.springframework.amqp</groupId>
  185. <artifactId>spring-rabbit</artifactId>
  186. <version>2.2.11.RELEASE</version>
  187. </dependency>
  188. <!-- rabbitmq-->
  189. <!--发邮件-->
  190. <!-- <dependency>
  191. <groupId>org.springframework.boot</groupId>
  192. <artifactId>spring-boot-starter-mail</artifactId>
  193. </dependency>-->
  194. <!--发邮件结束-->
  195. <!-- https://mvnrepository.com/artifact/org.jetbrains/annotations -->
  196. <dependency>
  197. <groupId>org.jetbrains</groupId>
  198. <artifactId>annotations</artifactId>
  199. <version>19.0.0</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.springframework</groupId>
  203. <artifactId>spring-beans</artifactId>
  204. <version>5.2.12.RELEASE</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>org.springframework.boot</groupId>
  208. <artifactId>spring-boot-autoconfigure</artifactId>
  209. <version>2.3.8.RELEASE</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>org.springframework.boot</groupId>
  213. <artifactId>spring-boot-starter-aop</artifactId>
  214. </dependency>
  215. <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
  216. <dependency>
  217. <groupId>com.google.guava</groupId>
  218. <artifactId>guava</artifactId>
  219. <version>31.1-jre</version>
  220. </dependency>
  221. <!--easyexcel-->
  222. <!-- <dependency>
  223. <groupId>com.alibaba</groupId>
  224. <artifactId>easyexcel</artifactId>
  225. <version>2.1.1</version>
  226. </dependency>-->
  227. <!--xls-->
  228. <!--<dependency>
  229. <groupId>org.apache.poi</groupId>
  230. <artifactId>poi</artifactId>
  231. <version>3.17</version>
  232. </dependency>-->
  233. <!--xlsx-->
  234. <!-- <dependency>
  235. <groupId>org.apache.poi</groupId>
  236. <artifactId>poi-ooxml</artifactId>
  237. <version>3.17</version>
  238. </dependency>-->
  239. <!-- <dependency>-->
  240. <!-- <groupId>org.apache.axis</groupId>-->
  241. <!-- <artifactId>axis</artifactId>-->
  242. <!-- <version>1.4</version>-->
  243. <!-- </dependency>-->
  244. <!-- <dependency>-->
  245. <!-- <groupId>javax.xml</groupId>-->
  246. <!-- <artifactId>jaxrpc</artifactId>-->
  247. <!-- <version>1.1</version>-->
  248. <!-- </dependency>-->
  249. <!-- <dependency>-->
  250. <!-- <groupId>commons-discovery</groupId>-->
  251. <!-- <artifactId>commons-discovery</artifactId>-->
  252. <!-- <version>0.2</version>-->
  253. <!-- </dependency>-->
  254. <!-- <dependency>-->
  255. <!-- <groupId>wsdl4j</groupId>-->
  256. <!-- <artifactId>wsdl4j</artifactId>-->
  257. <!-- <version>1.6.2</version>-->
  258. <!-- </dependency>-->
  259. <!-- <dependency>-->
  260. <!-- <groupId>axis</groupId>-->
  261. <!-- <artifactId>axis-saaj</artifactId>-->
  262. <!-- <version>1.2.1</version>-->
  263. <!-- </dependency>-->
  264. <!--发邮件-->
  265. <!--<dependency>
  266. <groupId>org.springframework.boot</groupId>
  267. <artifactId>spring-boot-starter-mail</artifactId>
  268. </dependency>-->
  269. <!--发邮件结束-->
  270. <!-- Knife4j在线API文档的依赖 -->
  271. <dependency>
  272. <groupId>com.github.xiaoymin</groupId>
  273. <artifactId>knife4j-spring-boot-starter</artifactId>
  274. <version>2.0.9</version>
  275. </dependency>
  276. </dependencies>
  277. <profiles>
  278. <profile>
  279. <id>test</id>
  280. <properties>
  281. <env>test</env>
  282. </properties>
  283. <activation>
  284. <activeByDefault>true</activeByDefault>
  285. </activation>
  286. </profile>
  287. <profile>
  288. <id>release</id>
  289. <properties>
  290. <env>release</env>
  291. </properties>
  292. </profile>
  293. </profiles>
  294. <build>
  295. <resources>
  296. <resource>
  297. <directory>src/main/resources</directory>
  298. <!--开启过滤,用指定的参数替换directory下的文件中的参数-->
  299. <filtering>true</filtering>
  300. </resource>
  301. </resources>
  302. <finalName>tuigai_tongcheng_api</finalName>
  303. <plugins>
  304. <plugin>
  305. <groupId>org.springframework.boot</groupId>
  306. <artifactId>spring-boot-maven-plugin</artifactId>
  307. <!--这里写上main方法所在类的路径-->
  308. <configuration>
  309. <mainClass>com.tuigai.tuigai_tongcheng_api.TuigaiTongchengApiApplication</mainClass>
  310. <includeSystemScope>true</includeSystemScope><!--外部进行打包-->
  311. </configuration>
  312. <executions>
  313. <execution>
  314. <goals>
  315. <goal>repackage</goal><!---->
  316. </goals>
  317. </execution>
  318. </executions>
  319. </plugin>
  320. </plugins>
  321. </build>
  322. </project>