pom.xml 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  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>com.trade</groupId>
  7. <artifactId>trade-platform</artifactId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>trade-service</artifactId>
  11. <name>trade-service</name>
  12. <description>trade-service</description>
  13. <properties>
  14. <maven.compiler.source>8</maven.compiler.source>
  15. <maven.compiler.target>8</maven.compiler.target>
  16. <poi-tl.version>1.12.1</poi-tl.version>
  17. <org.mapstruct.version>1.5.5.Final</org.mapstruct.version>
  18. <lombok.version>1.18.28</lombok.version>
  19. <liteflow.version>2.12.0</liteflow.version>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>com.trade</groupId>
  24. <artifactId>trade-common</artifactId>
  25. <version>1.0.0-SNAPSHOT</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-data-redis</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-web</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-devtools</artifactId>
  38. <optional>true</optional> <!-- 表示依赖不会传递 -->
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-test</artifactId>
  43. <scope>test</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.mysql</groupId>
  47. <artifactId>mysql-connector-j</artifactId>
  48. </dependency>
  49. <!-- spring security 安全认证 -->
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-security</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-configuration-processor</artifactId>
  57. <optional>true</optional>
  58. </dependency>
  59. <!-- Token生成与解析-->
  60. <dependency>
  61. <groupId>io.jsonwebtoken</groupId>
  62. <artifactId>jjwt</artifactId>
  63. </dependency>
  64. <!-- JSON工具类 -->
  65. <dependency>
  66. <groupId>com.fasterxml.jackson.core</groupId>
  67. <artifactId>jackson-databind</artifactId>
  68. </dependency>
  69. <!-- swagger3-->
  70. <dependency>
  71. <groupId>io.springfox</groupId>
  72. <artifactId>springfox-boot-starter</artifactId>
  73. </dependency>
  74. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  75. <dependency>
  76. <groupId>io.swagger</groupId>
  77. <artifactId>swagger-models</artifactId>
  78. <version>1.6.2</version>
  79. </dependency>
  80. <!-- pagehelper 分页插件 -->
  81. <dependency>
  82. <groupId>com.github.pagehelper</groupId>
  83. <artifactId>pagehelper-spring-boot-starter</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.alibaba</groupId>
  87. <artifactId>druid-spring-boot-starter</artifactId>
  88. </dependency>
  89. <!-- 解析客户端操作系统、浏览器等 -->
  90. <dependency>
  91. <groupId>eu.bitwalker</groupId>
  92. <artifactId>UserAgentUtils</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.deepoove</groupId>
  96. <artifactId>poi-tl</artifactId>
  97. <version>${poi-tl.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.itextpdf</groupId>
  101. <artifactId>itextpdf</artifactId>
  102. <version>5.5.10</version>
  103. <optional>true</optional>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.itextpdf</groupId>
  107. <artifactId>itext-asian</artifactId>
  108. <version>5.2.0</version>
  109. <optional>true</optional>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.mybatis</groupId>
  113. <artifactId>mybatis</artifactId>
  114. <version>3.5.13</version>
  115. <scope>compile</scope>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.springframework.boot</groupId>
  119. <artifactId>spring-boot-starter-mail</artifactId>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.springframework.boot</groupId>
  123. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.hibernate</groupId>
  127. <artifactId>hibernate-validator</artifactId>
  128. <version>6.0.1.Final</version>
  129. </dependency>
  130. <!-- 阿里云短信方案 新版sdk-->
  131. <dependency>
  132. <groupId>com.aliyun</groupId>
  133. <artifactId>alibabacloud-dysmsapi20170525</artifactId>
  134. <version>2.0.24</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.apache.velocity</groupId>
  138. <artifactId>velocity-engine-core</artifactId>
  139. <version>2.0</version>
  140. <optional>true</optional>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.projectlombok</groupId>
  144. <artifactId>lombok</artifactId>
  145. <version>${lombok.version}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.jsoup</groupId>
  149. <artifactId>jsoup</artifactId>
  150. <version>1.10.2</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.apache.pdfbox</groupId>
  154. <artifactId>pdfbox</artifactId>
  155. <version>3.0.0-alpha3</version>
  156. </dependency>
  157. <!--阿里云OSS-->
  158. <dependency>
  159. <groupId>com.aliyun.oss</groupId>
  160. <artifactId>aliyun-sdk-oss</artifactId>
  161. <version>3.17.2</version>
  162. </dependency>
  163. <!--rabbitmq-->
  164. <dependency>
  165. <groupId>org.springframework.boot</groupId>
  166. <artifactId>spring-boot-starter-amqp</artifactId>
  167. </dependency>
  168. <!-- https://mvnrepository.com/artifact/org.mapstruct/mapstruct-jdk8 -->
  169. <dependency>
  170. <groupId>org.mapstruct</groupId>
  171. <artifactId>mapstruct</artifactId>
  172. <version>${org.mapstruct.version}</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>com.yomahub</groupId>
  176. <artifactId>liteflow-spring-boot-starter</artifactId>
  177. <version>${liteflow.version}</version>
  178. </dependency>
  179. </dependencies>
  180. <build>
  181. <plugins>
  182. <plugin>
  183. <groupId>org.apache.maven.plugins</groupId>
  184. <artifactId>maven-compiler-plugin</artifactId>
  185. <version>3.11.0</version>
  186. <configuration>
  187. <source>${java.version}</source>
  188. <target>${java.version}</target>
  189. <annotationProcessorPaths>
  190. <path>
  191. <groupId>org.mapstruct</groupId>
  192. <artifactId>mapstruct-processor</artifactId>
  193. <version>${org.mapstruct.version}</version>
  194. </path>
  195. <path>
  196. <groupId>org.projectlombok</groupId>
  197. <artifactId>lombok</artifactId>
  198. <version>${lombok.version}</version>
  199. </path>
  200. <path>
  201. <groupId>org.projectlombok</groupId>
  202. <artifactId>lombok-mapstruct-binding</artifactId>
  203. <version>0.2.0</version>
  204. </path>
  205. </annotationProcessorPaths>
  206. <compilerArgs>
  207. <compilerArg>
  208. -Amapstruct.defaultComponentModel=spring
  209. </compilerArg>
  210. </compilerArgs>
  211. </configuration>
  212. </plugin>
  213. </plugins>
  214. </build>
  215. <!-- <build>-->
  216. <!-- <plugins>-->
  217. <!-- <plugin>-->
  218. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  219. <!-- <artifactId>maven-compiler-plugin</artifactId>-->
  220. <!-- <configuration>-->
  221. <!-- <compilerVersion>1.8</compilerVersion>-->
  222. <!-- <source>1.8</source>-->
  223. <!-- <target>1.8</target>-->
  224. <!-- <annotationProcessorPaths>-->
  225. <!-- <path>-->
  226. <!-- <groupId>org.mapstruct</groupId>-->
  227. <!-- <artifactId>mapstruct-processor</artifactId>-->
  228. <!-- <version>${org.mapstruct.version}</version>-->
  229. <!-- </path>-->
  230. <!-- <path>-->
  231. <!-- <groupId>org.projectlombok</groupId>-->
  232. <!-- <artifactId>lombok</artifactId>-->
  233. <!-- <version>${lombok.version}</version>-->
  234. <!-- </path>-->
  235. <!-- </annotationProcessorPaths>-->
  236. <!-- </configuration>-->
  237. <!-- </plugin>-->
  238. <!-- </plugins>-->
  239. <!-- </build>-->
  240. </project>