pom.xml 11 KB

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