pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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>mysql</groupId>
  24. <artifactId>mysql-connector-java</artifactId>
  25. <version>8.0.32</version>
  26. <scope>runtime</scope>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-test</artifactId>
  35. <scope>test</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>junit</groupId>
  39. <artifactId>junit</artifactId>
  40. <scope>test</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.malk</groupId>
  44. <artifactId>base</artifactId>
  45. <version>1.1-SNAPSHOT</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.squareup.okhttp3</groupId>
  49. <artifactId>okhttp</artifactId>
  50. <version>3.14.9</version>
  51. </dependency>
  52. </dependencies>
  53. <dependencyManagement>
  54. <dependencies>
  55. <!-- SpringBoot 依赖 -->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-dependencies</artifactId>
  59. <version>2.2.13.RELEASE</version>
  60. <type>pom</type>
  61. <scope>import</scope>
  62. </dependency>
  63. </dependencies>
  64. </dependencyManagement>
  65. <build>
  66. <finalName>ruisi</finalName>
  67. <plugins>
  68. <plugin>
  69. <groupId>org.apache.maven.plugins</groupId>
  70. <artifactId>maven-compiler-plugin</artifactId>
  71. <version>3.1</version>
  72. <configuration>
  73. <source>1.8</source>
  74. <target>1.8</target>
  75. <encoding>UTF-8</encoding>
  76. </configuration>
  77. </plugin>
  78. <plugin>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-maven-plugin</artifactId>
  81. <configuration>
  82. <executable>true</executable>
  83. <includeSystemScope>true</includeSystemScope>
  84. </configuration>
  85. </plugin>
  86. </plugins>
  87. </build>
  88. <properties>
  89. <java.version>1.8</java.version>
  90. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  91. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  92. <spring-boot.version>2.6.13</spring-boot.version>
  93. </properties>
  94. </project>