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-second</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. <!--redis连接池需要此依赖-->
  41. <dependency>
  42. <groupId>org.apache.commons</groupId>
  43. <artifactId>commons-pool2</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-websocket</artifactId>
  48. </dependency>
  49. <!-- <dependency>-->
  50. <!-- <groupId>org.elasticsearch.client</groupId>-->
  51. <!-- <artifactId>elasticsearch-rest-high-level-client</artifactId>-->
  52. <!-- <version>7.9.3</version>-->
  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. <!-- openfeign -->
  202. <dependency>
  203. <groupId>org.springframework.cloud</groupId>
  204. <artifactId>spring-cloud-starter-openfeign</artifactId>
  205. </dependency>
  206. <dependency>
  207. <groupId>io.github.openfeign</groupId>
  208. <artifactId>feign-okhttp</artifactId>
  209. </dependency>
  210. <!-- openfeign -->
  211. <!-- <dependency>-->
  212. <!-- <groupId>shop.alien</groupId>-->
  213. <!-- <artifactId>alien-entity</artifactId>-->
  214. <!-- <version>1.0.0</version>-->
  215. <!-- </dependency>-->
  216. <!-- <dependency>-->
  217. <!-- <groupId>shop.alien</groupId>-->
  218. <!-- <artifactId>alien-config</artifactId>-->
  219. <!-- <version>1.0.0</version>-->
  220. <!-- </dependency>-->
  221. <!-- <dependency>-->
  222. <!-- <groupId>shop.alien</groupId>-->
  223. <!-- <artifactId>alien-util</artifactId>-->
  224. <!-- <version>1.0.0</version>-->
  225. <!-- </dependency>-->
  226. </dependencies>
  227. <build>
  228. <plugins>
  229. <plugin>
  230. <groupId>org.apache.maven.plugins</groupId>
  231. <artifactId>maven-dependency-plugin</artifactId>
  232. <version>3.1.2</version> <!-- 使用最新版本 -->
  233. <executions>
  234. <execution>
  235. <id>copy-dependencies</id>
  236. <phase>prepare-package</phase> <!-- 在package之前执行 -->
  237. <goals>
  238. <goal>copy-dependencies</goal>
  239. </goals>
  240. <configuration>
  241. <outputDirectory>${project.build.directory}/lib</outputDirectory> <!-- 指定输出目录 -->
  242. <includeScope>runtime</includeScope> <!-- 仅包含运行时依赖 -->
  243. </configuration>
  244. </execution>
  245. </executions>
  246. </plugin>
  247. <plugin>
  248. <groupId>org.springframework.boot</groupId>
  249. <artifactId>spring-boot-maven-plugin</artifactId>
  250. <configuration>
  251. <mainClass>shop.alien.second.AlienSecondApplication</mainClass>
  252. <layout>ZIP</layout>
  253. <includes>
  254. <include>
  255. <groupId>nothing</groupId>
  256. <artifactId>nothing</artifactId>
  257. </include>
  258. </includes>
  259. </configuration>
  260. <executions>
  261. <execution>
  262. <goals>
  263. <!-- <goal>repackage</goal>-->
  264. </goals>
  265. </execution>
  266. </executions>
  267. </plugin>
  268. <plugin>
  269. <groupId>org.apache.maven.plugins</groupId>
  270. <artifactId>maven-compiler-plugin</artifactId>
  271. <configuration>
  272. <source>8</source>
  273. <target>8</target>
  274. </configuration>
  275. </plugin>
  276. </plugins>
  277. </build>
  278. <profiles>
  279. <profile>
  280. <id>test</id>
  281. <properties>
  282. <profiles.active>test</profiles.active>
  283. <nacos.server-addr>192.168.2.252:8848</nacos.server-addr>
  284. <nacos.namespace>0e1e2d77-56e8-422c-8317-6f71d7285e59</nacos.namespace>
  285. <nacos.username>nacos</nacos.username>
  286. <nacos.password>ngfriend198092</nacos.password>
  287. </properties>
  288. <activation>
  289. <activeByDefault>true</activeByDefault>
  290. </activation>
  291. </profile>
  292. </profiles>
  293. </project>