pom.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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>com.github.microservice</groupId>
  7. <artifactId>PParent</artifactId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. <relativePath>../../../super/PParent</relativePath>
  10. </parent>
  11. <groupId>com.zhongshu</groupId>
  12. <artifactId>RewardServer</artifactId>
  13. <name>RewardServer</name>
  14. <description>返利中心</description>
  15. <properties>
  16. <java.version>11</java.version>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>com.github.microservice</groupId>
  21. <artifactId>PCore</artifactId>
  22. <version>${project.version}</version>
  23. </dependency>
  24. <!--应用中心客户端-->
  25. <dependency>
  26. <groupId>com.github.microservice.components</groupId>
  27. <artifactId>ApplicationClient</artifactId>
  28. <version>${project.version}</version>
  29. </dependency>
  30. <!--小程序用户端-->
  31. <dependency>
  32. <groupId>com.zswl.cloud.bdb</groupId>
  33. <artifactId>zswl-cloud-bdb-client</artifactId>
  34. <version>${project.version}</version>
  35. </dependency>
  36. <!--小程序商户端-->
  37. <dependency>
  38. <groupId>com.zswl.cloud.shop</groupId>
  39. <artifactId>zswl-cloud-shop-client</artifactId>
  40. <version>${project.version}</version>
  41. </dependency>
  42. <!--会员中心-->
  43. <dependency>
  44. <groupId>com.zhongshu</groupId>
  45. <artifactId>VipClient</artifactId>
  46. <version>${project.version}</version>
  47. </dependency>
  48. <!--mongoData-->
  49. <dependency>
  50. <groupId>com.github.microservice.components</groupId>
  51. <artifactId>MongodbData</artifactId>
  52. <version>${project.version}</version>
  53. </dependency>
  54. <!--redis-->
  55. <dependency>
  56. <groupId>com.github.microservice.components</groupId>
  57. <artifactId>RedisData</artifactId>
  58. <version>${project.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.alibaba</groupId>
  62. <artifactId>fastjson</artifactId>
  63. <version>2.0.38</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.aliyun.oss</groupId>
  67. <artifactId>aliyun-sdk-oss</artifactId>
  68. <version>3.14.0</version>
  69. <scope>compile</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.zhongshu</groupId>
  73. <artifactId>RewardClient</artifactId>
  74. <version>${project.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.github.microservice.netdisk</groupId>
  78. <artifactId>NetDiskClient</artifactId>
  79. <version>${project.version}</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>com.alibaba.fastjson2</groupId>
  83. <artifactId>fastjson2</artifactId>
  84. <version>2.0.38</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.alibaba.fastjson2</groupId>
  88. <artifactId>fastjson2</artifactId>
  89. <version>2.0.38</version>
  90. </dependency>
  91. <!--推送中心-->
  92. <dependency>
  93. <groupId>com.github.microservice.components</groupId>
  94. <artifactId>PushCenterClient</artifactId>
  95. <version>${project.version}</version>
  96. </dependency>
  97. <!--jedis-->
  98. <dependency>
  99. <groupId>redis.clients</groupId>
  100. <artifactId>jedis</artifactId>
  101. <version>4.4.2</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.zswl.cloud.SpringBatchService</groupId>
  105. <artifactId>SpringBatchServiceClient</artifactId>
  106. <version>${project.version}</version>
  107. </dependency>
  108. <!--产品中心-->
  109. <dependency>
  110. <groupId>com.github.microservice.encryption</groupId>
  111. <artifactId>ProductCenterClient</artifactId>
  112. <version>${project.version}</version>
  113. </dependency>
  114. <!--支付中心-->
  115. <dependency>
  116. <groupId>com.zhongshu</groupId>
  117. <artifactId>PaymentClient</artifactId>
  118. <version>${project.version}</version>
  119. </dependency>
  120. <!-- <dependency>-->
  121. <!-- <groupId>org.redisson</groupId>-->
  122. <!-- <artifactId>redisson-spring-boot-starter</artifactId>-->
  123. <!-- <version>3.17.1</version> &lt;!&ndash; 请根据实际情况选择版本 &ndash;&gt;-->
  124. <!-- </dependency>-->
  125. </dependencies>
  126. <build>
  127. <plugins>
  128. <plugin>
  129. <groupId>org.springframework.boot</groupId>
  130. <artifactId>spring-boot-maven-plugin</artifactId>
  131. <configuration>
  132. <fork>true</fork>
  133. </configuration>
  134. <executions>
  135. <execution>
  136. <goals>
  137. <goal>repackage</goal>
  138. </goals>
  139. </execution>
  140. </executions>
  141. </plugin>
  142. <plugin>
  143. <groupId>org.apache.maven.plugins</groupId>
  144. <artifactId>maven-jar-plugin</artifactId>
  145. <configuration>
  146. <excludes>
  147. <!-- This is where the exclusion occurs -->
  148. <exclude>**/application-*.yml</exclude>
  149. </excludes>
  150. </configuration>
  151. </plugin>
  152. </plugins>
  153. <!-- properties 取 pom 配置 -->
  154. <resources>
  155. <resource>
  156. <directory>src/main/java</directory>
  157. <includes>
  158. <include>**/*.xml</include>
  159. </includes>
  160. </resource>
  161. <resource>
  162. <directory>src/main/resources</directory>
  163. <filtering>true</filtering>
  164. </resource>
  165. </resources>
  166. </build>
  167. </project>