pom.xml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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.2.0.RELEASE</version> <!-- 使用最新的稳定版或其他适用版本 -->
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.malk.ruisi</groupId>
  12. <artifactId>mjava-ruisi</artifactId>
  13. <version>1.0-SNAPSHOT</version>
  14. <!-- <name>mjava-ruisi</name>-->
  15. <!-- <description>mjava-ruisi</description>-->
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.google.code.gson</groupId>
  19. <artifactId>gson</artifactId>
  20. <version>2.8.9</version> <!-- 检查最新版本 -->
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-test</artifactId>
  29. <scope>test</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>junit</groupId>
  33. <artifactId>junit</artifactId>
  34. <scope>test</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.malk</groupId>
  38. <artifactId>base</artifactId>
  39. <version>1.0-SNAPSHOT</version>
  40. </dependency>
  41. </dependencies>
  42. <dependencyManagement>
  43. <dependencies>
  44. <!-- SpringBoot 依赖 -->
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-dependencies</artifactId>
  48. <version>2.2.13.RELEASE</version>
  49. <type>pom</type>
  50. <scope>import</scope>
  51. </dependency>
  52. </dependencies>
  53. </dependencyManagement>
  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. <plugin>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-maven-plugin</artifactId>
  70. <configuration>
  71. <executable>true</executable>
  72. <includeSystemScope>true</includeSystemScope>
  73. </configuration>
  74. </plugin>
  75. </plugins>
  76. </build>
  77. <properties>
  78. <java.version>1.8</java.version>
  79. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  80. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  81. <spring-boot.version>2.6.13</spring-boot.version>
  82. </properties>
  83. </project>