pom.xml 11 KB

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