pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>spider</artifactId>
  7. <groupId>com.spider</groupId>
  8. <version>3.9.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>spider-quartz</artifactId>
  12. <description>
  13. quartz定时任务
  14. </description>
  15. <dependencies>
  16. <!-- 定时任务 -->
  17. <dependency>
  18. <groupId>org.quartz-scheduler</groupId>
  19. <artifactId>quartz</artifactId>
  20. <exclusions>
  21. <exclusion>
  22. <groupId>com.mchange</groupId>
  23. <artifactId>c3p0</artifactId>
  24. </exclusion>
  25. </exclusions>
  26. </dependency>
  27. <!-- 通用工具-->
  28. <dependency>
  29. <groupId>com.spider</groupId>
  30. <artifactId>spider-common</artifactId>
  31. </dependency>
  32. <!-- 1. HttpClient(处理HTTP请求,推荐) -->
  33. <dependency>
  34. <groupId>org.apache.httpcomponents</groupId>
  35. <artifactId>httpclient</artifactId>
  36. <!-- 版本由 Spring Boot 父依赖管理,无需手动指定 -->
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.httpcomponents</groupId>
  40. <artifactId>httpcore</artifactId>
  41. <!-- 版本由 Spring Boot 父依赖管理,无需手动指定 -->
  42. </dependency>
  43. <!-- 2. Jsoup(解析HTML页面,提取数据) -->
  44. <dependency>
  45. <groupId>org.jsoup</groupId>
  46. <artifactId>jsoup</artifactId>
  47. <version>1.17.2</version> <!-- 稳定版本,可根据需要更新 -->
  48. </dependency>
  49. <dependency>
  50. <groupId>org.seleniumhq.selenium</groupId>
  51. <artifactId>selenium-java</artifactId>
  52. <version>4.15.0</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>io.github.bonigarcia</groupId>
  56. <artifactId>webdrivermanager</artifactId>
  57. <version>5.6.0</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>commons-io</groupId>
  61. <artifactId>commons-io</artifactId>
  62. <version>2.6</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.microsoft.playwright</groupId>
  66. <artifactId>playwright</artifactId>
  67. <version>1.44.0</version> <!-- 最新稳定版 -->
  68. </dependency>
  69. <dependency>
  70. <groupId>org.projectlombok</groupId>
  71. <artifactId>lombok</artifactId>
  72. <scope>provided</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.commons</groupId>
  76. <artifactId>commons-csv</artifactId>
  77. <version>1.9.0</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework</groupId>
  81. <artifactId>spring-webmvc</artifactId>
  82. </dependency>
  83. <!-- 翻译服务所需依赖 -->
  84. <dependency>
  85. <groupId>org.springframework.retry</groupId>
  86. <artifactId>spring-retry</artifactId>
  87. <!-- 版本由父POM管理 -->
  88. </dependency>
  89. <dependency>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-starter-aop</artifactId>
  92. <!-- 版本由父POM管理 -->
  93. </dependency>
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-data-redis</artifactId>
  97. <!-- 版本由Spring Boot BOM管理 -->
  98. </dependency>
  99. <dependency>
  100. <groupId>com.squareup.okhttp3</groupId>
  101. <artifactId>okhttp</artifactId>
  102. <version>4.12.0</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.fasterxml.jackson.core</groupId>
  106. <artifactId>jackson-databind</artifactId>
  107. <version>2.15.2</version>
  108. </dependency>
  109. </dependencies>
  110. </project>