pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. <dependency>
  31. <groupId>com.zswl.cloud.bdb</groupId>
  32. <artifactId>zswl-cloud-bdb-client</artifactId>
  33. <version>${project.version}</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.zswl.cloud.shop</groupId>
  37. <artifactId>zswl-cloud-shop-client</artifactId>
  38. <version>${project.version}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.zhongshu</groupId>
  42. <artifactId>VipClient</artifactId>
  43. <version>${project.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.github.microservice.components</groupId>
  47. <artifactId>MongodbData</artifactId>
  48. <version>${project.version}</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.github.microservice.components</groupId>
  52. <artifactId>RedisData</artifactId>
  53. <version>${project.version}</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.alibaba</groupId>
  57. <artifactId>fastjson</artifactId>
  58. <version>2.0.38</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.aliyun.oss</groupId>
  62. <artifactId>aliyun-sdk-oss</artifactId>
  63. <version>3.14.0</version>
  64. <scope>compile</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.zhongshu</groupId>
  68. <artifactId>RewardClient</artifactId>
  69. <version>${project.version}</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.github.microservice.netdisk</groupId>
  73. <artifactId>NetDiskClient</artifactId>
  74. <version>${project.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.alibaba.fastjson2</groupId>
  78. <artifactId>fastjson2</artifactId>
  79. <version>2.0.38</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.github.microservice.components</groupId>
  88. <artifactId>PushCenterClient</artifactId>
  89. <version>${project.version}</version>
  90. </dependency>
  91. <!-- <dependency>-->
  92. <!-- <groupId>org.redisson</groupId>-->
  93. <!-- <artifactId>redisson-spring-boot-starter</artifactId>-->
  94. <!-- <version>3.17.1</version> &lt;!&ndash; 请根据实际情况选择版本 &ndash;&gt;-->
  95. <!-- </dependency>-->
  96. </dependencies>
  97. <build>
  98. <plugins>
  99. <plugin>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-maven-plugin</artifactId>
  102. <configuration>
  103. <fork>true</fork>
  104. </configuration>
  105. <executions>
  106. <execution>
  107. <goals>
  108. <goal>repackage</goal>
  109. </goals>
  110. </execution>
  111. </executions>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-jar-plugin</artifactId>
  116. <configuration>
  117. <excludes>
  118. <!-- This is where the exclusion occurs -->
  119. <exclude>**/application-*.yml</exclude>
  120. </excludes>
  121. </configuration>
  122. </plugin>
  123. </plugins>
  124. <!-- properties 取 pom 配置 -->
  125. <resources>
  126. <resource>
  127. <directory>src/main/java</directory>
  128. <includes>
  129. <include>**/*.xml</include>
  130. </includes>
  131. </resource>
  132. <resource>
  133. <directory>src/main/resources</directory>
  134. <filtering>true</filtering>
  135. </resource>
  136. </resources>
  137. </build>
  138. </project>