pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  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-second</artifactId>
  11. <version>1.0.0</version>
  12. <name>alien-second</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. <!--redis连接池需要此依赖-->
  43. <dependency>
  44. <groupId>org.apache.commons</groupId>
  45. <artifactId>commons-pool2</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-websocket</artifactId>
  50. </dependency>
  51. <!-- <dependency>-->
  52. <!-- <groupId>org.elasticsearch.client</groupId>-->
  53. <!-- <artifactId>elasticsearch-rest-high-level-client</artifactId>-->
  54. <!-- <version>7.9.3</version>-->
  55. <!-- </dependency>-->
  56. <dependency>
  57. <groupId>com.alibaba</groupId>
  58. <artifactId>druid-spring-boot-starter</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.alibaba</groupId>
  62. <artifactId>fastjson</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.fasterxml.jackson.core</groupId>
  66. <artifactId>jackson-core</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.fasterxml.jackson.core</groupId>
  70. <artifactId>jackson-databind</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.fasterxml.jackson.core</groupId>
  74. <artifactId>jackson-annotations</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.poi</groupId>
  78. <artifactId>poi</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.poi</groupId>
  82. <artifactId>poi-ooxml</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>mysql</groupId>
  86. <artifactId>mysql-connector-java</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.baomidou</groupId>
  90. <artifactId>mybatis-plus-boot-starter</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.github.pagehelper</groupId>
  94. <artifactId>pagehelper-spring-boot-starter</artifactId>
  95. </dependency>
  96. <!-- Redisson依赖 -->
  97. <dependency>
  98. <groupId>org.redisson</groupId>
  99. <artifactId>redisson-spring-boot-starter</artifactId>
  100. <version>3.17.0</version>
  101. </dependency>
  102. <!-- AspectJ依赖 -->
  103. <dependency>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-starter-aop</artifactId>
  106. </dependency>
  107. <!-- mybatis-plus代码生成器 Start -->
  108. <dependency>
  109. <groupId>com.baomidou</groupId>
  110. <artifactId>mybatis-plus-generator</artifactId>
  111. <exclusions>
  112. <exclusion>
  113. <artifactId>jsqlparser</artifactId>
  114. <groupId>com.github.jsqlparser</groupId>
  115. </exclusion>
  116. <exclusion>
  117. <artifactId>mybatis</artifactId>
  118. <groupId>org.mybatis</groupId>
  119. </exclusion>
  120. <exclusion>
  121. <artifactId>mybatis-spring</artifactId>
  122. <groupId>org.mybatis</groupId>
  123. </exclusion>
  124. </exclusions>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.baomidou</groupId>
  128. <artifactId>mybatis-plus-annotation</artifactId>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.baomidou</groupId>
  132. <artifactId>mybatis-plus-extension</artifactId>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.baomidou</groupId>
  136. <artifactId>mybatis-plus-core</artifactId>
  137. <scope>compile</scope>
  138. </dependency>
  139. <!-- mybatisPlus Freemarker 模版引擎 -->
  140. <dependency>
  141. <groupId>org.freemarker</groupId>
  142. <artifactId>freemarker</artifactId>
  143. </dependency>
  144. <!-- mybatis-plus代码生成器 End -->
  145. <!--Swagger Start-->
  146. <dependency>
  147. <groupId>io.springfox</groupId>
  148. <artifactId>springfox-swagger2</artifactId>
  149. <exclusions>
  150. <exclusion>
  151. <artifactId>swagger-annotations</artifactId>
  152. <groupId>io.swagger</groupId>
  153. </exclusion>
  154. <exclusion>
  155. <artifactId>swagger-models</artifactId>
  156. <groupId>io.swagger</groupId>
  157. </exclusion>
  158. </exclusions>
  159. </dependency>
  160. <dependency>
  161. <groupId>io.swagger</groupId>
  162. <artifactId>swagger-annotations</artifactId>
  163. </dependency>
  164. <dependency>
  165. <groupId>io.swagger</groupId>
  166. <artifactId>swagger-models</artifactId>
  167. </dependency>
  168. <dependency>
  169. <groupId>io.springfox</groupId>
  170. <artifactId>springfox-swagger-ui</artifactId>
  171. </dependency>
  172. <dependency>
  173. <groupId>com.github.xiaoymin</groupId>
  174. <artifactId>swagger-bootstrap-ui</artifactId>
  175. </dependency>
  176. <!--Swagger End-->
  177. <dependency>
  178. <groupId>org.projectlombok</groupId>
  179. <artifactId>lombok</artifactId>
  180. </dependency>
  181. <!--token-->
  182. <dependency>
  183. <groupId>com.auth0</groupId>
  184. <artifactId>java-jwt</artifactId>
  185. </dependency>
  186. <dependency>
  187. <groupId>com.alipay.sdk</groupId>
  188. <artifactId>alipay-sdk-java</artifactId>
  189. </dependency>
  190. <dependency>
  191. <groupId>com.aliyun</groupId>
  192. <artifactId>dysmsapi20170525</artifactId>
  193. </dependency>
  194. <dependency>
  195. <groupId>com.netease.yidun</groupId>
  196. <artifactId>yidun-java-sdk</artifactId>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.apache.commons</groupId>
  200. <artifactId>commons-lang3</artifactId>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.apache.httpcomponents</groupId>
  204. <artifactId>httpclient</artifactId>
  205. </dependency>
  206. <dependency>
  207. <groupId>com.alibaba.cloud</groupId>
  208. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  209. </dependency>
  210. <dependency>
  211. <groupId>com.alibaba.cloud</groupId>
  212. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  213. </dependency>
  214. <!-- openfeign -->
  215. <dependency>
  216. <groupId>org.springframework.cloud</groupId>
  217. <artifactId>spring-cloud-starter-openfeign</artifactId>
  218. </dependency>
  219. <dependency>
  220. <groupId>io.github.openfeign</groupId>
  221. <artifactId>feign-okhttp</artifactId>
  222. </dependency>
  223. <!-- openfeign -->
  224. <dependency>
  225. <groupId>shop.alien</groupId>
  226. <artifactId>alien-entity</artifactId>
  227. <version>1.0.0</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>shop.alien</groupId>
  231. <artifactId>alien-config</artifactId>
  232. <version>1.0.0</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>shop.alien</groupId>
  236. <artifactId>alien-util</artifactId>
  237. <version>1.0.0</version>
  238. </dependency>
  239. </dependencies>
  240. <build>
  241. <plugins>
  242. <plugin>
  243. <groupId>org.apache.maven.plugins</groupId>
  244. <artifactId>maven-dependency-plugin</artifactId>
  245. <version>3.1.2</version> <!-- 使用最新版本 -->
  246. <executions>
  247. <execution>
  248. <id>copy-dependencies</id>
  249. <phase>prepare-package</phase> <!-- 在package之前执行 -->
  250. <goals>
  251. <goal>copy-dependencies</goal>
  252. </goals>
  253. <configuration>
  254. <outputDirectory>${project.build.directory}/lib</outputDirectory> <!-- 指定输出目录 -->
  255. <includeScope>runtime</includeScope> <!-- 仅包含运行时依赖 -->
  256. </configuration>
  257. </execution>
  258. </executions>
  259. </plugin>
  260. <plugin>
  261. <groupId>org.springframework.boot</groupId>
  262. <artifactId>spring-boot-maven-plugin</artifactId>
  263. <configuration>
  264. <mainClass>shop.alien.second.AlienSecondApplication</mainClass>
  265. <layout>ZIP</layout>
  266. <includes>
  267. <include>
  268. <groupId>nothing</groupId>
  269. <artifactId>nothing</artifactId>
  270. </include>
  271. </includes>
  272. </configuration>
  273. <executions>
  274. <execution>
  275. <goals>
  276. <goal>repackage</goal>
  277. </goals>
  278. </execution>
  279. </executions>
  280. </plugin>
  281. <plugin>
  282. <groupId>org.apache.maven.plugins</groupId>
  283. <artifactId>maven-compiler-plugin</artifactId>
  284. <configuration>
  285. <source>8</source>
  286. <target>8</target>
  287. </configuration>
  288. </plugin>
  289. </plugins>
  290. </build>
  291. <profiles>
  292. <profile>
  293. <id>test</id>
  294. <properties>
  295. <profiles.active>test</profiles.active>
  296. <nacos.server-addr>192.168.2.252:8848</nacos.server-addr>
  297. <nacos.namespace>0e1e2d77-56e8-422c-8317-6f71d7285e59</nacos.namespace>
  298. <nacos.username>nacos</nacos.username>
  299. <nacos.password>ngfriend198092</nacos.password>
  300. </properties>
  301. <activation>
  302. <activeByDefault>true</activeByDefault>
  303. </activation>
  304. </profile>
  305. </profiles>
  306. </project>