pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  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>shop.alien</groupId>
  8. <artifactId>alien-cluster0</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>alien-branch-lawyer</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. <exclusions>
  26. <exclusion>
  27. <groupId>com.fasterxml.jackson.core</groupId>
  28. <artifactId>jackson-databind</artifactId>
  29. </exclusion>
  30. </exclusions>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-jdbc</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-data-redis</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.apache.commons</groupId>
  42. <artifactId>commons-pool2</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-websocket</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.alibaba</groupId>
  50. <artifactId>druid-spring-boot-starter</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.alibaba</groupId>
  54. <artifactId>fastjson</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.fasterxml.jackson.core</groupId>
  58. <artifactId>jackson-core</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.fasterxml.jackson.core</groupId>
  62. <artifactId>jackson-databind</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.fasterxml.jackson.core</groupId>
  66. <artifactId>jackson-annotations</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.poi</groupId>
  70. <artifactId>poi</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.poi</groupId>
  74. <artifactId>poi-ooxml</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>mysql</groupId>
  78. <artifactId>mysql-connector-java</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.baomidou</groupId>
  82. <artifactId>mybatis-plus-boot-starter</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.github.pagehelper</groupId>
  86. <artifactId>pagehelper-spring-boot-starter</artifactId>
  87. </dependency>
  88. <!-- mybatis-plus代码生成器 Start -->
  89. <dependency>
  90. <groupId>com.baomidou</groupId>
  91. <artifactId>mybatis-plus-generator</artifactId>
  92. <exclusions>
  93. <exclusion>
  94. <artifactId>jsqlparser</artifactId>
  95. <groupId>com.github.jsqlparser</groupId>
  96. </exclusion>
  97. <exclusion>
  98. <artifactId>mybatis</artifactId>
  99. <groupId>org.mybatis</groupId>
  100. </exclusion>
  101. <exclusion>
  102. <artifactId>mybatis-spring</artifactId>
  103. <groupId>org.mybatis</groupId>
  104. </exclusion>
  105. </exclusions>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.baomidou</groupId>
  109. <artifactId>mybatis-plus-annotation</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.baomidou</groupId>
  113. <artifactId>mybatis-plus-extension</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.baomidou</groupId>
  117. <artifactId>mybatis-plus-core</artifactId>
  118. <scope>compile</scope>
  119. </dependency>
  120. <!-- mybatisPlus Freemarker 模版引擎 -->
  121. <dependency>
  122. <groupId>org.freemarker</groupId>
  123. <artifactId>freemarker</artifactId>
  124. </dependency>
  125. <!-- mybatis-plus代码生成器 End -->
  126. <dependency>
  127. <groupId>org.springframework.cloud</groupId>
  128. <artifactId>spring-cloud-starter-openfeign</artifactId>
  129. </dependency>
  130. <!--Swagger Start-->
  131. <dependency>
  132. <groupId>io.springfox</groupId>
  133. <artifactId>springfox-swagger2</artifactId>
  134. <exclusions>
  135. <exclusion>
  136. <artifactId>swagger-annotations</artifactId>
  137. <groupId>io.swagger</groupId>
  138. </exclusion>
  139. <exclusion>
  140. <artifactId>swagger-models</artifactId>
  141. <groupId>io.swagger</groupId>
  142. </exclusion>
  143. </exclusions>
  144. </dependency>
  145. <dependency>
  146. <groupId>io.swagger</groupId>
  147. <artifactId>swagger-annotations</artifactId>
  148. </dependency>
  149. <dependency>
  150. <groupId>io.swagger</groupId>
  151. <artifactId>swagger-models</artifactId>
  152. </dependency>
  153. <dependency>
  154. <groupId>io.springfox</groupId>
  155. <artifactId>springfox-swagger-ui</artifactId>
  156. </dependency>
  157. <dependency>
  158. <groupId>com.github.xiaoymin</groupId>
  159. <artifactId>swagger-bootstrap-ui</artifactId>
  160. </dependency>
  161. <!--Swagger End-->
  162. <dependency>
  163. <groupId>org.projectlombok</groupId>
  164. <artifactId>lombok</artifactId>
  165. </dependency>
  166. <!--token-->
  167. <dependency>
  168. <groupId>com.auth0</groupId>
  169. <artifactId>java-jwt</artifactId>
  170. </dependency>
  171. <dependency>
  172. <groupId>com.alipay.sdk</groupId>
  173. <artifactId>alipay-sdk-java</artifactId>
  174. </dependency>
  175. <dependency>
  176. <groupId>com.aliyun</groupId>
  177. <artifactId>dysmsapi20170525</artifactId>
  178. </dependency>
  179. <dependency>
  180. <groupId>com.netease.yidun</groupId>
  181. <artifactId>yidun-java-sdk</artifactId>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.apache.commons</groupId>
  185. <artifactId>commons-lang3</artifactId>
  186. </dependency>
  187. <dependency>
  188. <groupId>org.apache.httpcomponents</groupId>
  189. <artifactId>httpclient</artifactId>
  190. </dependency>
  191. <dependency>
  192. <groupId>com.alibaba.cloud</groupId>
  193. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.alibaba.cloud</groupId>
  197. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  198. </dependency>
  199. <dependency>
  200. <groupId>shop.alien</groupId>
  201. <artifactId>alien-service-entity</artifactId>
  202. <version>1.0.0</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>shop.alien</groupId>
  206. <artifactId>alien-service-util</artifactId>
  207. <version>1.0.0</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>shop.alien</groupId>
  211. <artifactId>alien-service-config</artifactId>
  212. <version>1.0.0</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>commons-fileupload</groupId>
  216. <artifactId>commons-fileupload</artifactId>
  217. </dependency>
  218. <!--允许你使用流(Flux和Mono)来处理异步、非阻塞的数据-->
  219. <dependency>
  220. <groupId>org.springframework.boot</groupId>
  221. <artifactId>spring-boot-starter-webflux</artifactId>
  222. </dependency>
  223. <dependency>
  224. <groupId>com.alibaba</groupId>
  225. <artifactId>easyexcel</artifactId>
  226. <version>4.0.3</version>
  227. <scope>compile</scope>
  228. </dependency>
  229. <dependency>
  230. <groupId>com.alibaba</groupId>
  231. <artifactId>easyexcel</artifactId>
  232. <version>4.0.3</version>
  233. <scope>compile</scope>
  234. </dependency>
  235. <dependency>
  236. <groupId>com.alibaba</groupId>
  237. <artifactId>easyexcel</artifactId>
  238. <version>4.0.3</version>
  239. <scope>compile</scope>
  240. </dependency>
  241. </dependencies>
  242. <build>
  243. <plugins>
  244. <plugin>
  245. <groupId>org.apache.maven.plugins</groupId>
  246. <artifactId>maven-dependency-plugin</artifactId>
  247. <version>3.1.2</version> <!-- 使用最新版本 -->
  248. <executions>
  249. <execution>
  250. <id>copy-dependencies</id>
  251. <phase>prepare-package</phase> <!-- 在package之前执行 -->
  252. <goals>
  253. <goal>copy-dependencies</goal>
  254. </goals>
  255. <configuration>
  256. <outputDirectory>${project.build.directory}/lib</outputDirectory> <!-- 指定输出目录 -->
  257. <includeScope>runtime</includeScope> <!-- 仅包含运行时依赖 -->
  258. </configuration>
  259. </execution>
  260. </executions>
  261. </plugin>
  262. <plugin>
  263. <groupId>org.springframework.boot</groupId>
  264. <artifactId>spring-boot-maven-plugin</artifactId>
  265. <configuration>
  266. <mainClass>shop.alien.lawyer.AlienLawyerApplication</mainClass>
  267. <layout>ZIP</layout>
  268. <!-- <includes>-->
  269. <!-- <include>-->
  270. <!-- <groupId>nothing</groupId>-->
  271. <!-- <artifactId>nothing</artifactId>-->
  272. <!-- </include>-->
  273. <!-- </includes>-->
  274. </configuration>
  275. <executions>
  276. <execution>
  277. <goals>
  278. <goal>repackage</goal>
  279. </goals>
  280. </execution>
  281. </executions>
  282. </plugin>
  283. <plugin>
  284. <groupId>org.apache.maven.plugins</groupId>
  285. <artifactId>maven-compiler-plugin</artifactId>
  286. <configuration>
  287. <source>8</source>
  288. <target>8</target>
  289. </configuration>
  290. </plugin>
  291. </plugins>
  292. </build>
  293. </project>