网站数据采集应用管理
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.

244 lines
7.2 KiB

  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 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.bfd.task</groupId>
  11. <artifactId>crawltaskmanager</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <name>crawltaskmanager</name>
  14. <!-- FIXME change it to the project's website -->
  15. <url>http://www.example.com</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. <!-- https://mvnrepository.com/artifact/de.codecentric/spring-boot-admin-starter-client -->
  33. <dependency>
  34. <groupId>de.codecentric</groupId>
  35. <artifactId>spring-boot-admin-starter-client</artifactId>
  36. <version>2.2.4</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.google.code.gson</groupId>
  40. <artifactId>gson</artifactId>
  41. <version>2.8.8</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-test</artifactId>
  46. </dependency>
  47. <!-- https://mvnrepository.com/artifact/org.springframework/spring-test -->
  48. <dependency>
  49. <groupId>org.springframework</groupId>
  50. <artifactId>spring-test</artifactId>
  51. <version>5.0.10.RELEASE</version>
  52. <scope>test</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>commons-io</groupId>
  56. <artifactId>commons-io</artifactId>
  57. <version>1.4</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.alibaba</groupId>
  61. <artifactId>fastjson</artifactId>
  62. <version>2.0.17</version>
  63. </dependency>
  64. <!-- https://mvnrepository.com/artifact/com.mchange/c3p0 -->
  65. <dependency>
  66. <groupId>com.mchange</groupId>
  67. <artifactId>c3p0</artifactId>
  68. <version>0.9.5.5</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>mysql</groupId>
  72. <artifactId>mysql-connector-java</artifactId>
  73. <version>8.0.29</version>
  74. </dependency>
  75. <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  76. <dependency>
  77. <groupId>com.squareup.okhttp3</groupId>
  78. <artifactId>okhttp</artifactId>
  79. <version>4.9.3</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.httpcomponents</groupId>
  83. <artifactId>httpclient</artifactId>
  84. <version>4.5.3</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>commons-lang</groupId>
  88. <artifactId>commons-lang</artifactId>
  89. <version>2.6</version>
  90. </dependency>
  91. <!-- https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-reflect -->
  92. <dependency>
  93. <groupId>org.jetbrains.kotlin</groupId>
  94. <artifactId>kotlin-reflect</artifactId>
  95. <version>1.6.21</version>
  96. <scope>runtime</scope>
  97. </dependency>
  98. <!-- https://mvnrepository.com/artifact/org.jsoup/jsoup -->
  99. <dependency>
  100. <groupId>org.jsoup</groupId>
  101. <artifactId>jsoup</artifactId>
  102. <version>1.8.1</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.projectlombok</groupId>
  106. <artifactId>lombok</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.springframework.kafka</groupId>
  110. <artifactId>spring-kafka</artifactId>
  111. </dependency>
  112. <!-- <dependency> <groupId>org.springframework.kafka</groupId> <artifactId>spring-kafka</artifactId>
  113. </dependency> -->
  114. <dependency>
  115. <groupId>cn.hutool</groupId>
  116. <artifactId>hutool-all</artifactId>
  117. <version>5.8.5</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>junit</groupId>
  121. <artifactId>junit</artifactId>
  122. </dependency>
  123. <!-- https://mvnrepository.com/artifact/p6spy/p6spy -->
  124. <dependency>
  125. <groupId>p6spy</groupId>
  126. <artifactId>p6spy</artifactId>
  127. <version>3.9.0</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>commons-collections</groupId>
  131. <artifactId>commons-collections</artifactId>
  132. <version>3.2.2</version>
  133. </dependency>
  134. <!--redis-->
  135. <dependency>
  136. <groupId>org.redisson</groupId>
  137. <artifactId>redisson-spring-boot-starter</artifactId>
  138. <version>3.13.6</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.springframework.boot</groupId>
  142. <artifactId>spring-boot-starter-data-redis</artifactId>
  143. </dependency>
  144. </dependencies>
  145. <build>
  146. <!-- <pluginManagement> --><!-- lock down plugins versions to avoid using Maven defaults (may be moved
  147. to parent pom) -->
  148. <plugins>
  149. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  150. <plugin>
  151. <artifactId>maven-clean-plugin</artifactId>
  152. <version>3.1.0</version>
  153. </plugin>
  154. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  155. <plugin>
  156. <artifactId>maven-resources-plugin</artifactId>
  157. <version>3.0.2</version>
  158. </plugin>
  159. <plugin>
  160. <artifactId>maven-compiler-plugin</artifactId>
  161. <version>3.8.0</version>
  162. </plugin>
  163. <plugin>
  164. <artifactId>maven-surefire-plugin</artifactId>
  165. <version>2.22.1</version>
  166. </plugin>
  167. <plugin>
  168. <artifactId>maven-jar-plugin</artifactId>
  169. <version>3.0.2</version>
  170. </plugin>
  171. <plugin>
  172. <artifactId>maven-install-plugin</artifactId>
  173. <version>2.5.2</version>
  174. </plugin>
  175. <plugin>
  176. <artifactId>maven-deploy-plugin</artifactId>
  177. <version>2.8.2</version>
  178. </plugin>
  179. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  180. <plugin>
  181. <artifactId>maven-site-plugin</artifactId>
  182. <version>3.7.1</version>
  183. </plugin>
  184. <plugin>
  185. <artifactId>maven-project-info-reports-plugin</artifactId>
  186. <version>3.0.0</version>
  187. </plugin>
  188. <!-- spring-boot-maven-plugin插件就是打包spring boot应用的 -->
  189. <plugin>
  190. <groupId>org.springframework.boot</groupId>
  191. <artifactId>spring-boot-maven-plugin</artifactId>
  192. <configuration>
  193. <mainClass>com.bfd.task.Application</mainClass>
  194. <layout>ZIP</layout>
  195. <includes>
  196. <include>
  197. <groupId>${project.groupId}</groupId>
  198. <artifactId>${project.artifactId}</artifactId>
  199. </include>
  200. </includes>
  201. </configuration>
  202. <executions>
  203. <execution>
  204. <goals>
  205. <goal>repackage</goal>
  206. </goals>
  207. </execution>
  208. </executions>
  209. </plugin>
  210. <plugin>
  211. <groupId>org.apache.maven.plugins</groupId>
  212. <artifactId>maven-dependency-plugin</artifactId>
  213. <version>3.1.1</version>
  214. <executions>
  215. <execution>
  216. <id>copy</id>
  217. <phase>package</phase>
  218. <goals>
  219. <goal>copy-dependencies</goal>
  220. </goals>
  221. <configuration>
  222. <type>jar</type>
  223. <includeTypes>jar</includeTypes>
  224. <includeScope>runtime</includeScope>
  225. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  226. </configuration>
  227. </execution>
  228. </executions>
  229. </plugin>
  230. </plugins>
  231. <!-- </pluginManagement> -->
  232. </build>
  233. </project>