pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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.18</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.3</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. </dependencies>
  86. <build>
  87. <plugins>
  88. <plugin>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-maven-plugin</artifactId>
  91. <configuration>
  92. <fork>true</fork>
  93. </configuration>
  94. <executions>
  95. <execution>
  96. <goals>
  97. <goal>repackage</goal>
  98. </goals>
  99. </execution>
  100. </executions>
  101. </plugin>
  102. <plugin>
  103. <groupId>org.apache.maven.plugins</groupId>
  104. <artifactId>maven-jar-plugin</artifactId>
  105. <configuration>
  106. <excludes>
  107. <!-- This is where the exclusion occurs -->
  108. <exclude>**/application-*.yml</exclude>
  109. </excludes>
  110. </configuration>
  111. </plugin>
  112. </plugins>
  113. <!-- properties 取 pom 配置 -->
  114. <resources>
  115. <resource>
  116. <directory>src/main/java</directory>
  117. <includes>
  118. <include>**/*.xml</include>
  119. </includes>
  120. </resource>
  121. <resource>
  122. <directory>src/main/resources</directory>
  123. <filtering>true</filtering>
  124. </resource>
  125. </resources>
  126. </build>
  127. </project>