代理ip管理服务
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.

154 lines
6.2 KiB

  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.2.4.RELEASE</version>
  10. </parent>
  11. <groupId>org.example</groupId>
  12. <artifactId>ipPool_Manger</artifactId>
  13. <version>1.0-SNAPSHOT</version>
  14. <url>http://www.example.com</url>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <maven.compiler.source>1.8</maven.compiler.source>
  18. <maven.compiler.target>1.8</maven.compiler.target>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>junit</groupId>
  23. <artifactId>junit</artifactId>
  24. <version>4.11</version>
  25. <scope>test</scope>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-web</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.squareup.okhttp3</groupId>
  33. <artifactId>okhttp</artifactId>
  34. <version>3.9.1</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.projectlombok</groupId>
  38. <artifactId>lombok</artifactId>
  39. <version>1.18.10</version>
  40. <scope>compile</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.alibaba</groupId>
  44. <artifactId>fastjson</artifactId>
  45. <version>2.0.17</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.httpcomponents</groupId>
  49. <artifactId>httpclient</artifactId>
  50. <version>4.5.3</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>mysql</groupId>
  54. <artifactId>mysql-connector-java</artifactId>
  55. <version>8.0.30</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.mybatis.spring.boot</groupId>
  59. <artifactId>mybatis-spring-boot-starter</artifactId>
  60. <version>2.0.0</version>
  61. </dependency>
  62. <!--发邮件-->
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-mail</artifactId>
  66. </dependency>
  67. </dependencies>
  68. <build>
  69. <!-- <pluginManagement> --><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  70. <plugins>
  71. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  72. <plugin>
  73. <artifactId>maven-clean-plugin</artifactId>
  74. <version>3.1.0</version>
  75. </plugin>
  76. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  77. <plugin>
  78. <artifactId>maven-resources-plugin</artifactId>
  79. <version>3.0.2</version>
  80. </plugin>
  81. <plugin>
  82. <artifactId>maven-compiler-plugin</artifactId>
  83. <version>3.8.0</version>
  84. </plugin>
  85. <plugin>
  86. <artifactId>maven-surefire-plugin</artifactId>
  87. <version>2.22.1</version>
  88. </plugin>
  89. <plugin>
  90. <artifactId>maven-jar-plugin</artifactId>
  91. <version>3.0.2</version>
  92. </plugin>
  93. <plugin>
  94. <artifactId>maven-install-plugin</artifactId>
  95. <version>2.5.2</version>
  96. </plugin>
  97. <plugin>
  98. <artifactId>maven-deploy-plugin</artifactId>
  99. <version>2.8.2</version>
  100. </plugin>
  101. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  102. <plugin>
  103. <artifactId>maven-site-plugin</artifactId>
  104. <version>3.7.1</version>
  105. </plugin>
  106. <plugin>
  107. <artifactId>maven-project-info-reports-plugin</artifactId>
  108. <version>3.0.0</version>
  109. </plugin>
  110. <!-- spring-boot-maven-plugin插件就是打包spring boot应用的 -->
  111. <plugin>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-maven-plugin</artifactId>
  114. <configuration>
  115. <mainClass>com.bfd.crawl.Application</mainClass>
  116. <layout>ZIP</layout>
  117. <includes>
  118. <include>
  119. <groupId>${project.groupId}</groupId>
  120. <artifactId>${project.artifactId}</artifactId>
  121. </include>
  122. </includes>
  123. </configuration>
  124. <executions>
  125. <execution>
  126. <goals>
  127. <goal>repackage</goal>
  128. </goals>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. <plugin>
  133. <groupId>org.apache.maven.plugins</groupId>
  134. <artifactId>maven-dependency-plugin</artifactId>
  135. <executions>
  136. <execution>
  137. <id>copy</id>
  138. <phase>package</phase>
  139. <goals>
  140. <goal>copy-dependencies</goal>
  141. </goals>
  142. <configuration>
  143. <type>jar</type>
  144. <includeTypes>jar</includeTypes>
  145. <includeScope>runtime</includeScope>
  146. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  147. </configuration>
  148. </execution>
  149. </executions>
  150. </plugin>
  151. </plugins>
  152. <!-- </pluginManagement> -->
  153. </build>
  154. </project>