pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. </dependencies>
  48. <dependencyManagement>
  49. <dependencies>
  50. <!-- SpringBoot 依赖 -->
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-dependencies</artifactId>
  54. <version>2.2.13.RELEASE</version>
  55. <type>pom</type>
  56. <scope>import</scope>
  57. </dependency>
  58. </dependencies>
  59. </dependencyManagement>
  60. <build>
  61. <finalName>ruisi</finalName>
  62. <plugins>
  63. <plugin>
  64. <groupId>org.apache.maven.plugins</groupId>
  65. <artifactId>maven-compiler-plugin</artifactId>
  66. <version>3.1</version>
  67. <configuration>
  68. <source>1.8</source>
  69. <target>1.8</target>
  70. <encoding>UTF-8</encoding>
  71. </configuration>
  72. </plugin>
  73. <plugin>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-maven-plugin</artifactId>
  76. <configuration>
  77. <executable>true</executable>
  78. <includeSystemScope>true</includeSystemScope>
  79. </configuration>
  80. </plugin>
  81. </plugins>
  82. </build>
  83. <properties>
  84. <java.version>1.8</java.version>
  85. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  86. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  87. <spring-boot.version>2.6.13</spring-boot.version>
  88. </properties>
  89. </project>