pom.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. 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. <groupId>com.platomix</groupId>
  6. <artifactId>platomix-third-crawl</artifactId>
  7. <version>0.0.1</version>
  8. <parent>
  9. <groupId>org.springframework.boot</groupId>
  10. <artifactId>spring-boot-starter-parent</artifactId>
  11. <version>2.2.13.RELEASE</version>
  12. </parent>
  13. <properties>
  14. <java.version>1.8</java.version>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  17. </properties>
  18. <dependencies>
  19. <!--测试依赖 -->
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-test</artifactId>
  23. <scope>test</scope>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.fasterxml.jackson.core</groupId>
  31. <artifactId>jackson-databind</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.projectlombok</groupId>
  35. <artifactId>lombok</artifactId>
  36. </dependency>
  37. <!-- JSON 解析器和生成器 -->
  38. <dependency>
  39. <groupId>cn.hutool</groupId>
  40. <artifactId>hutool-all</artifactId>
  41. <version>5.7.9</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>commons-io</groupId>
  45. <artifactId>commons-io</artifactId>
  46. <version>2.6</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.jsoup</groupId>
  50. <artifactId>jsoup</artifactId>
  51. <version>1.12.1</version>
  52. </dependency>
  53. </dependencies>
  54. <build>
  55. <finalName>platomix-crawl</finalName>
  56. <plugins>
  57. <plugin>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-maven-plugin</artifactId>
  60. <configuration>
  61. <finalName>${project.build.finalName}</finalName>
  62. <layers>
  63. <enabled>true</enabled>
  64. </layers>
  65. </configuration>
  66. <executions>
  67. <execution>
  68. <goals>
  69. <goal>repackage</goal>
  70. </goals>
  71. </execution>
  72. </executions>
  73. </plugin>
  74. <plugin>
  75. <groupId>org.apache.maven.plugins</groupId>
  76. <artifactId>maven-compiler-plugin</artifactId>
  77. <configuration>
  78. <source>${java.version}</source>
  79. <target>${java.version}</target>
  80. <encoding>UTF-8</encoding>
  81. <compilerArgs>
  82. <arg>-parameters</arg>
  83. </compilerArgs>
  84. </configuration>
  85. </plugin>
  86. </plugins>
  87. </build>
  88. <repositories>
  89. <repository>
  90. <id>alimaven</id>
  91. <name>aliyun maven</name>
  92. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  93. <releases>
  94. <enabled>true</enabled>
  95. </releases>
  96. <snapshots>
  97. <enabled>false</enabled>
  98. </snapshots>
  99. </repository>
  100. </repositories>
  101. <pluginRepositories>
  102. <pluginRepository>
  103. <id>alimaven</id>
  104. <name>aliyun maven</name>
  105. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  106. <releases>
  107. <enabled>true</enabled>
  108. </releases>
  109. <snapshots>
  110. <enabled>false</enabled>
  111. </snapshots>
  112. </pluginRepository>
  113. </pluginRepositories>
  114. </project>