pom.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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>xiaokuihua-wechat</artifactId>
  11. <version>1.0.0</version>
  12. <name>xiaokuihua-wechat</name>
  13. <description>xiaokuihua-wechat</description>
  14. <properties>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-web</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-data-redis</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-amqp</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.cloud</groupId>
  37. <artifactId>spring-cloud-starter-openfeign</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>io.github.openfeign</groupId>
  41. <artifactId>feign-okhttp</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.baomidou</groupId>
  45. <artifactId>mybatis-plus-boot-starter</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.alibaba</groupId>
  49. <artifactId>druid-spring-boot-starter</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>mysql</groupId>
  53. <artifactId>mysql-connector-java</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.github.pagehelper</groupId>
  57. <artifactId>pagehelper-spring-boot-starter</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.xuxueli</groupId>
  61. <artifactId>xxl-job-core</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.projectlombok</groupId>
  65. <artifactId>lombok</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>cn.6tail</groupId>
  69. <artifactId>lunar</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>io.springfox</groupId>
  73. <artifactId>springfox-swagger-ui</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>io.swagger</groupId>
  77. <artifactId>swagger-annotations</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>io.swagger</groupId>
  81. <artifactId>swagger-models</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.github.xiaoymin</groupId>
  85. <artifactId>swagger-bootstrap-ui</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>shop.alien</groupId>
  89. <artifactId>alien-util</artifactId>
  90. <version>1.0.0</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>shop.alien</groupId>
  94. <artifactId>alien-entity</artifactId>
  95. <version>1.0.0</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>shop.alien</groupId>
  99. <artifactId>alien-config</artifactId>
  100. <version>1.0.0</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.alibaba.cloud</groupId>
  104. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.alibaba.cloud</groupId>
  108. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  109. </dependency>
  110. </dependencies>
  111. <build>
  112. <plugins>
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-dependency-plugin</artifactId>
  116. <version>3.1.2</version> <!-- 使用最新版本 -->
  117. <executions>
  118. <execution>
  119. <id>copy-dependencies</id>
  120. <phase>prepare-package</phase> <!-- 在package之前执行 -->
  121. <goals>
  122. <goal>copy-dependencies</goal>
  123. </goals>
  124. <configuration>
  125. <outputDirectory>${project.build.directory}/lib</outputDirectory> <!-- 指定输出目录 -->
  126. <includeScope>runtime</includeScope> <!-- 仅包含运行时依赖 -->
  127. </configuration>
  128. </execution>
  129. </executions>
  130. </plugin>
  131. <plugin>
  132. <groupId>org.springframework.boot</groupId>
  133. <artifactId>spring-boot-maven-plugin</artifactId>
  134. <configuration>
  135. <mainClass>cc.xiaokuihua.wechat.WechatApplication</mainClass>
  136. <layout>ZIP</layout>
  137. <includes>
  138. <include>
  139. <groupId>nothing</groupId>
  140. <artifactId>nothing</artifactId>
  141. </include>
  142. </includes>
  143. </configuration>
  144. <executions>
  145. <execution>
  146. <goals>
  147. <goal>repackage</goal>
  148. </goals>
  149. </execution>
  150. </executions>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-compiler-plugin</artifactId>
  155. <configuration>
  156. <source>8</source>
  157. <target>8</target>
  158. </configuration>
  159. </plugin>
  160. </plugins>
  161. </build>
  162. </project>