pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.7.18</version> <!-- 使用最新的稳定版或其他适用版本 -->
  10. <relativePath/> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>com.malk</groupId>
  13. <artifactId>mjava-mc</artifactId>
  14. <version>1.0-SNAPSHOT</version>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-starter-web</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-aop</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-test</artifactId>
  27. <scope>test</scope>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.baomidou</groupId>
  31. <artifactId>mybatis-plus-boot-starter</artifactId>
  32. <version>3.5.3.2</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>junit</groupId>
  36. <artifactId>junit</artifactId>
  37. <scope>test</scope>
  38. </dependency>
  39. <!-- Spring Data Redis 依赖 -->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-data-redis</artifactId>
  43. </dependency>
  44. <!-- 连接池(可选但推荐) -->
  45. <dependency>
  46. <groupId>org.apache.commons</groupId>
  47. <artifactId>commons-pool2</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>mysql</groupId>
  51. <artifactId>mysql-connector-java</artifactId>
  52. <version>8.0.18</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.malk</groupId>
  56. <artifactId>base</artifactId>
  57. <version>1.3</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.projectlombok</groupId>
  61. <artifactId>lombok</artifactId>
  62. <scope>provided</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.alibaba</groupId>
  66. <artifactId>fastjson</artifactId>
  67. <version>1.2.68</version>
  68. <scope>compile</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.malk</groupId>
  72. <artifactId>base</artifactId>
  73. <version>1.3</version>
  74. <scope>compile</scope>
  75. </dependency>
  76. </dependencies>
  77. <build>
  78. <finalName>mc</finalName>
  79. <plugins>
  80. <plugin>
  81. <groupId>org.apache.maven.plugins</groupId>
  82. <artifactId>maven-compiler-plugin</artifactId>
  83. <version>3.11.0</version>
  84. <configuration>
  85. <source>1.8</source>
  86. <target>1.8</target>
  87. <encoding>UTF-8</encoding>
  88. </configuration>
  89. </plugin>
  90. <plugin>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-maven-plugin</artifactId>
  93. <configuration>
  94. <executable>true</executable>
  95. <includeSystemScope>true</includeSystemScope>
  96. </configuration>
  97. </plugin>
  98. </plugins>
  99. </build>
  100. </project>