pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. <!-- 阿里JSON解析器 -->
  35. <dependency>
  36. <groupId>com.alibaba</groupId>
  37. <artifactId>fastjson</artifactId>
  38. <version>2.0.19</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>junit</groupId>
  42. <artifactId>junit</artifactId>
  43. <scope>test</scope>
  44. </dependency>
  45. <!-- lombok-->
  46. <dependency>
  47. <groupId>org.projectlombok</groupId>
  48. <artifactId>lombok</artifactId>
  49. <optional>true</optional>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.jsoup</groupId>
  53. <artifactId>jsoup</artifactId>
  54. <version>1.15.3</version>
  55. </dependency>
  56. </dependencies>
  57. <build>
  58. <!-- 打包名称 -->
  59. <finalName>river_data_collection</finalName>
  60. <plugins>
  61. <plugin>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-maven-plugin</artifactId>
  64. <executions>
  65. <execution>
  66. <goals>
  67. <goal>repackage</goal>
  68. </goals>
  69. </execution>
  70. </executions>
  71. <configuration>
  72. <!--fork:如果没有该项配置,整个devtools不会起作用-->
  73. <fork>true</fork>
  74. </configuration>
  75. </plugin>
  76. <plugin>
  77. <groupId>org.apache.maven.plugins</groupId>
  78. <artifactId>maven-resources-plugin</artifactId>
  79. <configuration>
  80. <encoding>UTF-8</encoding>
  81. </configuration>
  82. </plugin>
  83. <plugin>
  84. <groupId>org.apache.maven.plugins</groupId>
  85. <artifactId>maven-surefire-plugin</artifactId>
  86. <configuration>
  87. <skip>true</skip>
  88. <skipTests>true</skipTests>
  89. </configuration>
  90. </plugin>
  91. </plugins>
  92. </build>
  93. <repositories>
  94. <repository>
  95. <id>public</id>
  96. <name>aliyun nexus</name>
  97. <url>https://maven.aliyun.com/repository/public</url>
  98. <releases>
  99. <enabled>true</enabled>
  100. </releases>
  101. </repository>
  102. </repositories>
  103. <pluginRepositories>
  104. <pluginRepository>
  105. <id>public</id>
  106. <name>aliyun nexus</name>
  107. <url>https://maven.aliyun.com/repository/public</url>
  108. <releases>
  109. <enabled>true</enabled>
  110. </releases>
  111. <snapshots>
  112. <enabled>false</enabled>
  113. </snapshots>
  114. </pluginRepository>
  115. </pluginRepositories>
  116. </project>