pom.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. <groupId>com.malk.ruisi</groupId>
  6. <artifactId>mjava-ruisi</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>mjava-ruisi</name>
  9. <description>mjava-ruisi</description>
  10. <properties>
  11. <java.version>1.8</java.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <spring-boot.version>2.6.13</spring-boot.version>
  15. </properties>
  16. <dependencyManagement>
  17. <dependencies>
  18. <!-- SpringBoot 依赖 -->
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-dependencies</artifactId>
  22. <version>2.2.13.RELEASE</version>
  23. <type>pom</type>
  24. <scope>import</scope>
  25. </dependency>
  26. </dependencies>
  27. </dependencyManagement>
  28. <dependencies>
  29. <dependency>
  30. <groupId>com.google.code.gson</groupId>
  31. <artifactId>gson</artifactId>
  32. <version>2.8.9</version> <!-- 检查最新版本 -->
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-web</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-test</artifactId>
  41. <scope>test</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>junit</groupId>
  45. <artifactId>junit</artifactId>
  46. <scope>test</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.malk</groupId>
  50. <artifactId>base</artifactId>
  51. <version>1.0-SNAPSHOT</version>
  52. </dependency>
  53. </dependencies>
  54. <build>
  55. <finalName>ruisi</finalName>
  56. <plugins>
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  59. <artifactId>maven-compiler-plugin</artifactId>
  60. <version>3.1</version>
  61. <configuration>
  62. <source>1.8</source>
  63. <target>1.8</target>
  64. <encoding>UTF-8</encoding>
  65. </configuration>
  66. </plugin>
  67. </plugins>
  68. </build>
  69. </project>