pom.xml 3.9 KB

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