pom.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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.zswl.cloud.SpringBatchService</groupId>
  12. <artifactId>SpringBatchServiceServer</artifactId>
  13. <name>SpringBatchServiceServer</name>
  14. <properties>
  15. <java.version>11</java.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.github.microservice</groupId>
  20. <artifactId>PCore</artifactId>
  21. <version>${project.version}</version>
  22. </dependency>
  23. <!--应用中心客户端-->
  24. <dependency>
  25. <groupId>com.github.microservice.components</groupId>
  26. <artifactId>ApplicationClient</artifactId>
  27. <version>${project.version}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.zswl.cloud.bdb</groupId>
  31. <artifactId>zswl-cloud-bdb-client</artifactId>
  32. <version>${project.version}</version>
  33. </dependency>
  34. <!-- JDBC 驱动-->
  35. <dependency>
  36. <groupId>com.mysql</groupId>
  37. <artifactId>mysql-connector-j</artifactId>
  38. <version>8.0.33</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.alibaba</groupId>
  42. <artifactId>fastjson</artifactId>
  43. <version>2.0.23</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>cn.hutool</groupId>
  47. <artifactId>hutool-all</artifactId>
  48. <version>5.8.27</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.github.xiaoymin</groupId>
  52. <artifactId>knife4j-spring-boot-starter</artifactId>
  53. <version>3.0.3</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-batch</artifactId>
  58. <version>2.7.18</version>
  59. </dependency>
  60. <!-- <dependency>-->
  61. <!-- <groupId>org.springframework.boot</groupId>-->
  62. <!-- <artifactId>spring-boot-starter-web</artifactId>-->
  63. <!-- <version>2.7.3</version>-->
  64. <!-- </dependency>-->
  65. <dependency>
  66. <groupId>com.zswl.cloud.SpringBatchService</groupId>
  67. <artifactId>SpringBatchServiceClient</artifactId>
  68. <version>${project.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.github.microservice.components</groupId>
  72. <artifactId>RedisData</artifactId>
  73. <version>${project.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.zhongshu</groupId>
  77. <artifactId>PaymentClient</artifactId>
  78. <version>${project.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.zswl.cloud.shop</groupId>
  82. <artifactId>zswl-cloud-shop-client</artifactId>
  83. <version>${project.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.github.microservice.components</groupId>
  87. <artifactId>MongodbData</artifactId>
  88. <version>${project.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.zhongshu</groupId>
  92. <artifactId>VipClient</artifactId>
  93. <version>${project.version}</version>
  94. <scope>compile</scope>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.github.microservice.encryption</groupId>
  98. <artifactId>ProductCenterClient</artifactId>
  99. <version>${project.version}</version>
  100. </dependency>
  101. </dependencies>
  102. <build>
  103. <plugins>
  104. <plugin>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-maven-plugin</artifactId>
  107. <configuration>
  108. <fork>true</fork>
  109. <includeSystemScope>true</includeSystemScope>
  110. </configuration>
  111. <executions>
  112. <execution>
  113. <goals>
  114. <goal>repackage</goal>
  115. </goals>
  116. </execution>
  117. </executions>
  118. </plugin>
  119. <plugin>
  120. <groupId>org.apache.maven.plugins</groupId>
  121. <artifactId>maven-jar-plugin</artifactId>
  122. <configuration>
  123. <excludes>
  124. <!-- This is where the exclusion occurs -->
  125. <exclude>**/application-*.yml</exclude>
  126. </excludes>
  127. </configuration>
  128. </plugin>
  129. </plugins>
  130. <!-- properties 取 pom 配置 -->
  131. <resources>
  132. <resource>
  133. <directory>src/main/java</directory>
  134. <includes>
  135. <include>**/*.xml</include>
  136. </includes>
  137. </resource>
  138. <resource>
  139. <directory>src/main/resources</directory>
  140. <filtering>true</filtering>
  141. </resource>
  142. </resources>
  143. </build>
  144. </project>