附件补充下载
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

220 lines
6.3 KiB

  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.2.4.RELEASE</version>
  9. </parent>
  10. <groupId>com.bw</groupId>
  11. <artifactId>FileQueueSync</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <packaging>jar</packaging>
  14. <name>FileQueueSync</name>
  15. <url>http://maven.apache.org</url>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <maven.compiler.source>1.8</maven.compiler.source>
  19. <maven.compiler.target>1.8</maven.compiler.target>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>junit</groupId>
  24. <artifactId>junit</artifactId>
  25. <version>4.11</version>
  26. <scope>test</scope>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. </dependency>
  32. <!--
  33. https://mvnrepository.com/artifact/de.codecentric/spring-boot-admin-starter-client -->
  34. <dependency>
  35. <groupId>de.codecentric</groupId>
  36. <artifactId>spring-boot-admin-starter-client</artifactId>
  37. <version>2.2.4</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.google.code.gson</groupId>
  41. <artifactId>gson</artifactId>
  42. <version>2.8.8</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-test</artifactId>
  47. </dependency>
  48. <!-- https://mvnrepository.com/artifact/org.springframework/spring-test -->
  49. <dependency>
  50. <groupId>org.springframework</groupId>
  51. <artifactId>spring-test</artifactId>
  52. <version>5.0.10.RELEASE</version>
  53. <scope>test</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>commons-io</groupId>
  57. <artifactId>commons-io</artifactId>
  58. <version>1.4</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.alibaba</groupId>
  62. <artifactId>fastjson</artifactId>
  63. <version>2.0.17</version>
  64. </dependency>
  65. <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  66. <dependency>
  67. <groupId>com.squareup.okhttp3</groupId>
  68. <artifactId>okhttp</artifactId>
  69. <version>4.9.3</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.apache.httpcomponents</groupId>
  73. <artifactId>httpclient</artifactId>
  74. <version>4.5.3</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>commons-lang</groupId>
  78. <artifactId>commons-lang</artifactId>
  79. <version>2.6</version>
  80. </dependency>
  81. <!--
  82. https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-reflect -->
  83. <dependency>
  84. <groupId>org.jetbrains.kotlin</groupId>
  85. <artifactId>kotlin-reflect</artifactId>
  86. <version>1.6.21</version>
  87. <scope>runtime</scope>
  88. </dependency>
  89. <!-- https://mvnrepository.com/artifact/org.jsoup/jsoup -->
  90. <dependency>
  91. <groupId>org.jsoup</groupId>
  92. <artifactId>jsoup</artifactId>
  93. <version>1.8.1</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.projectlombok</groupId>
  97. <artifactId>lombok</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.springframework.kafka</groupId>
  101. <artifactId>spring-kafka</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>junit</groupId>
  105. <artifactId>junit</artifactId>
  106. </dependency>
  107. <!-- https://mvnrepository.com/artifact/p6spy/p6spy -->
  108. <dependency>
  109. <groupId>p6spy</groupId>
  110. <artifactId>p6spy</artifactId>
  111. <version>3.9.0</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>commons-collections</groupId>
  115. <artifactId>commons-collections</artifactId>
  116. <version>3.2.2</version>
  117. </dependency>
  118. </dependencies>
  119. <build>
  120. <!-- <pluginManagement> --><!-- lock down plugins versions to avoid using Maven defaults (may be
  121. moved
  122. to parent pom) -->
  123. <plugins>
  124. <!-- clean lifecycle, see
  125. https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  126. <plugin>
  127. <artifactId>maven-clean-plugin</artifactId>
  128. <version>3.1.0</version>
  129. </plugin>
  130. <!-- default lifecycle, jar packaging: see
  131. https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  132. <plugin>
  133. <artifactId>maven-resources-plugin</artifactId>
  134. <version>3.0.2</version>
  135. </plugin>
  136. <plugin>
  137. <artifactId>maven-compiler-plugin</artifactId>
  138. <version>3.8.0</version>
  139. </plugin>
  140. <plugin>
  141. <artifactId>maven-surefire-plugin</artifactId>
  142. <version>2.22.1</version>
  143. </plugin>
  144. <plugin>
  145. <artifactId>maven-jar-plugin</artifactId>
  146. <version>3.0.2</version>
  147. </plugin>
  148. <plugin>
  149. <artifactId>maven-install-plugin</artifactId>
  150. <version>2.5.2</version>
  151. </plugin>
  152. <plugin>
  153. <artifactId>maven-deploy-plugin</artifactId>
  154. <version>2.8.2</version>
  155. </plugin>
  156. <!-- site lifecycle, see
  157. https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  158. <plugin>
  159. <artifactId>maven-site-plugin</artifactId>
  160. <version>3.7.1</version>
  161. </plugin>
  162. <plugin>
  163. <artifactId>maven-project-info-reports-plugin</artifactId>
  164. <version>3.0.0</version>
  165. </plugin>
  166. <!-- spring-boot-maven-plugin插件就是打包spring boot应用的 -->
  167. <plugin>
  168. <groupId>org.springframework.boot</groupId>
  169. <artifactId>spring-boot-maven-plugin</artifactId>
  170. <configuration>
  171. <mainClass>com.bw.fileDownload.Application</mainClass>
  172. <layout>ZIP</layout>
  173. <includes>
  174. <include>
  175. <groupId>${project.groupId}</groupId>
  176. <artifactId>${project.artifactId}</artifactId>
  177. </include>
  178. </includes>
  179. </configuration>
  180. <executions>
  181. <execution>
  182. <goals>
  183. <goal>repackage</goal>
  184. </goals>
  185. </execution>
  186. </executions>
  187. </plugin>
  188. <plugin>
  189. <groupId>org.apache.maven.plugins</groupId>
  190. <artifactId>maven-dependency-plugin</artifactId>
  191. <version>3.1.1</version>
  192. <executions>
  193. <execution>
  194. <id>copy</id>
  195. <phase>package</phase>
  196. <goals>
  197. <goal>copy-dependencies</goal>
  198. </goals>
  199. <configuration>
  200. <type>jar</type>
  201. <includeTypes>jar</includeTypes>
  202. <includeScope>runtime</includeScope>
  203. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  204. </configuration>
  205. </execution>
  206. </executions>
  207. </plugin>
  208. </plugins>
  209. <!-- </pluginManagement> -->
  210. </build>
  211. </project>