知网采集
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.

250 lines
8.3 KiB

6 months ago
  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>1.5.6.RELEASE</version>
  9. </parent>
  10. <groupId>com.bfd</groupId>
  11. <artifactId>cnki_crawl_kyyz</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <name>cnki_crawl</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. <dependency>
  33. <groupId>com.alibaba.otter</groupId>
  34. <artifactId>canal.client</artifactId>
  35. <version>1.1.4</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>log4j</groupId>
  39. <artifactId>log4j</artifactId>
  40. <version>1.2.14</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.alibaba</groupId>
  44. <artifactId>fastjson</artifactId>
  45. <version>1.1.22</version>
  46. </dependency>
  47. <!-- <dependency><groupId>bfd</groupId><artifactId>simplecrypto</artifactId><version>1.0.0</version></dependency> -->
  48. <!-- <dependency><groupId>bfd</groupId><artifactId>utils</artifactId><version>1.0.0</version></dependency> -->
  49. <dependency>
  50. <groupId>commons-io</groupId>
  51. <artifactId>commons-io</artifactId>
  52. <version>1.4</version>
  53. </dependency>
  54. <!-- <dependency>
  55. <groupId>org.apache.httpcomponents</groupId>
  56. <artifactId>httpclient</artifactId>
  57. <version>4.3.5</version>
  58. </dependency> -->
  59. <dependency>
  60. <groupId>org.apache.httpcomponents</groupId>
  61. <artifactId>httpclient</artifactId>
  62. <version>4.5.3</version>
  63. </dependency>
  64. <!-- <dependency><groupId>bfd</groupId><artifactId>BfdRedisTools</artifactId><version>1.0.0</version></dependency> -->
  65. <dependency>
  66. <groupId>com.squareup.okhttp3</groupId>
  67. <artifactId>okhttp</artifactId>
  68. <version>3.9.1</version>
  69. </dependency>
  70. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  71. <dependency>
  72. <groupId>org.apache.commons</groupId>
  73. <artifactId>commons-lang3</artifactId>
  74. <version>3.8.1</version>
  75. </dependency>
  76. <!-- https://mvnrepository.com/artifact/com.oracle.database.jdbc/ojdbc8 -->
  77. <dependency>
  78. <groupId>com.oracle.database.jdbc</groupId>
  79. <artifactId>ojdbc8</artifactId>
  80. <version>12.2.0.1</version>
  81. </dependency>
  82. <!-- https://mvnrepository.com/artifact/com.mchange/c3p0 -->
  83. <dependency>
  84. <groupId>com.mchange</groupId>
  85. <artifactId>c3p0</artifactId>
  86. <version>0.9.5.5</version>
  87. </dependency>
  88. <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
  89. <!-- <dependency>-->
  90. <!-- <groupId>mysql</groupId>-->
  91. <!-- <artifactId>mysql-connector-java</artifactId>-->
  92. <!-- <version>6.0.3</version>-->
  93. <!-- </dependency>-->
  94. <dependency>
  95. <groupId>mysql</groupId>
  96. <artifactId>mysql-connector-java</artifactId>
  97. <version>8.0.29</version>
  98. </dependency>
  99. <!-- kafka -->
  100. <dependency>
  101. <groupId>org.apache.kafka</groupId>
  102. <artifactId>kafka_2.12</artifactId>
  103. <version>1.0.2</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.apache.kafka</groupId>
  107. <artifactId>kafka-clients</artifactId>
  108. <version>2.0.1</version>
  109. </dependency>
  110. <!-- kafka -->
  111. <!-- https://mvnrepository.com/artifact/org.jsoup/jsoup -->
  112. <dependency>
  113. <groupId>org.jsoup</groupId>
  114. <artifactId>jsoup</artifactId>
  115. <version>1.8.1</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.apache.poi</groupId>
  119. <artifactId>poi</artifactId>
  120. <version>4.0.1</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.poi</groupId>
  124. <artifactId>poi-ooxml</artifactId>
  125. <version>4.0.1</version>
  126. </dependency>
  127. <!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
  128. <dependency>
  129. <groupId>org.seleniumhq.selenium</groupId>
  130. <artifactId>selenium-java</artifactId>
  131. <version>3.141.59</version>
  132. </dependency>
  133. <!-- lombok -->
  134. <dependency>
  135. <groupId>org.projectlombok</groupId>
  136. <artifactId>lombok</artifactId>
  137. <optional>true</optional>
  138. </dependency>
  139. <!--redisson-->
  140. <dependency>
  141. <groupId>org.springframework.boot</groupId>
  142. <artifactId>spring-boot-starter-data-redis</artifactId>
  143. </dependency>
  144. <dependency>
  145. <groupId>io.netty</groupId>
  146. <artifactId>netty-all</artifactId>
  147. <version>4.1.36.Final</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.redisson</groupId>
  151. <artifactId>redisson</artifactId>
  152. <version>3.14.1</version>
  153. </dependency>
  154. </dependencies>
  155. <build>
  156. <!-- <pluginManagement> --><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  157. <plugins>
  158. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  159. <plugin>
  160. <artifactId>maven-clean-plugin</artifactId>
  161. <version>3.1.0</version>
  162. </plugin>
  163. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  164. <plugin>
  165. <artifactId>maven-resources-plugin</artifactId>
  166. <version>3.0.2</version>
  167. </plugin>
  168. <plugin>
  169. <artifactId>maven-compiler-plugin</artifactId>
  170. <version>3.8.0</version>
  171. </plugin>
  172. <plugin>
  173. <artifactId>maven-surefire-plugin</artifactId>
  174. <version>2.22.1</version>
  175. </plugin>
  176. <plugin>
  177. <artifactId>maven-jar-plugin</artifactId>
  178. <version>3.0.2</version>
  179. </plugin>
  180. <plugin>
  181. <artifactId>maven-install-plugin</artifactId>
  182. <version>2.5.2</version>
  183. </plugin>
  184. <plugin>
  185. <artifactId>maven-deploy-plugin</artifactId>
  186. <version>2.8.2</version>
  187. </plugin>
  188. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  189. <plugin>
  190. <artifactId>maven-site-plugin</artifactId>
  191. <version>3.7.1</version>
  192. </plugin>
  193. <plugin>
  194. <artifactId>maven-project-info-reports-plugin</artifactId>
  195. <version>3.0.0</version>
  196. </plugin>
  197. <!-- spring-boot-maven-plugin插件就是打包spring boot应用的 -->
  198. <plugin>
  199. <groupId>org.springframework.boot</groupId>
  200. <artifactId>spring-boot-maven-plugin</artifactId>
  201. <configuration>
  202. <mainClass>com.bfd.cnki.main.Application</mainClass>
  203. <layout>ZIP</layout>
  204. <includes>
  205. <include>
  206. <groupId>${project.groupId}</groupId>
  207. <artifactId>${project.artifactId}</artifactId>
  208. </include>
  209. </includes>
  210. </configuration>
  211. <executions>
  212. <execution>
  213. <goals>
  214. <goal>repackage</goal>
  215. </goals>
  216. </execution>
  217. </executions>
  218. </plugin>
  219. <plugin>
  220. <groupId>org.apache.maven.plugins</groupId>
  221. <artifactId>maven-dependency-plugin</artifactId>
  222. <executions>
  223. <execution>
  224. <id>copy</id>
  225. <phase>package</phase>
  226. <goals>
  227. <goal>copy-dependencies</goal>
  228. </goals>
  229. <configuration>
  230. <type>jar</type>
  231. <includeTypes>jar</includeTypes>
  232. <includeScope>runtime</includeScope>
  233. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  234. </configuration>
  235. </execution>
  236. </executions>
  237. </plugin>
  238. </plugins>
  239. <!-- </pluginManagement> -->
  240. </build>
  241. </project>