pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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 https://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.5.14</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.ublinkage</groupId>
  12. <artifactId>tongfei_river_data_collection</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>tongfei_river_data_collection</name>
  15. <description>tongfei_river_data_collection</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-test</artifactId>
  27. <scope>test</scope>
  28. </dependency>
  29. <dependency>
  30. <groupId>cn.hutool</groupId>
  31. <artifactId>hutool-all</artifactId>
  32. <version>5.8.10</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.squareup.okhttp3</groupId>
  36. <artifactId>okhttp</artifactId>
  37. <version>4.10.0</version>
  38. </dependency>
  39. <!-- 阿里JSON解析器 -->
  40. <dependency>
  41. <groupId>com.alibaba</groupId>
  42. <artifactId>fastjson</artifactId>
  43. <version>2.0.19</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>junit</groupId>
  47. <artifactId>junit</artifactId>
  48. <scope>test</scope>
  49. </dependency>
  50. <!-- lombok-->
  51. <dependency>
  52. <groupId>org.projectlombok</groupId>
  53. <artifactId>lombok</artifactId>
  54. <optional>true</optional>
  55. </dependency>
  56. <dependency>
  57. <groupId>net.sf.ehcache</groupId>
  58. <artifactId>ehcache</artifactId>
  59. <version>2.10.9.2</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework</groupId>
  63. <artifactId>spring-context-support</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.jsoup</groupId>
  67. <artifactId>jsoup</artifactId>
  68. <version>1.15.3</version>
  69. </dependency>
  70. </dependencies>
  71. <build>
  72. <!-- 打包名称 -->
  73. <finalName>river_data_collection</finalName>
  74. <plugins>
  75. <plugin>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-maven-plugin</artifactId>
  78. <executions>
  79. <execution>
  80. <goals>
  81. <goal>repackage</goal>
  82. </goals>
  83. </execution>
  84. </executions>
  85. <configuration>
  86. <!--fork:如果没有该项配置,整个devtools不会起作用-->
  87. <fork>true</fork>
  88. </configuration>
  89. </plugin>
  90. <plugin>
  91. <groupId>org.apache.maven.plugins</groupId>
  92. <artifactId>maven-resources-plugin</artifactId>
  93. <configuration>
  94. <encoding>UTF-8</encoding>
  95. </configuration>
  96. </plugin>
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-surefire-plugin</artifactId>
  100. <configuration>
  101. <skip>true</skip>
  102. <skipTests>true</skipTests>
  103. </configuration>
  104. </plugin>
  105. </plugins>
  106. </build>
  107. <repositories>
  108. <repository>
  109. <id>public</id>
  110. <name>aliyun nexus</name>
  111. <url>https://maven.aliyun.com/repository/public</url>
  112. <releases>
  113. <enabled>true</enabled>
  114. </releases>
  115. </repository>
  116. </repositories>
  117. <pluginRepositories>
  118. <pluginRepository>
  119. <id>public</id>
  120. <name>aliyun nexus</name>
  121. <url>https://maven.aliyun.com/repository/public</url>
  122. <releases>
  123. <enabled>true</enabled>
  124. </releases>
  125. <snapshots>
  126. <enabled>false</enabled>
  127. </snapshots>
  128. </pluginRepository>
  129. </pluginRepositories>
  130. </project>