pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- 定义项目对象模型(POM),是Maven构建工具的基础 -->
  3. <project xmlns="http://maven.apache.org/POM/4.0.0"
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  6. <modelVersion>4.0.0</modelVersion>
  7. <!-- 定义父项目,用于继承公共配置 -->
  8. <parent>
  9. <groupId>com.kyl</groupId>
  10. <artifactId>kyl-sanatorium</artifactId>
  11. <version>1.0-SNAPSHOT</version>
  12. </parent>
  13. <!-- 当前项目的唯一标识符 -->
  14. <artifactId>kyl-framework</artifactId>
  15. <!-- 定义项目属性 -->
  16. <properties>
  17. <maven.compiler.source>11</maven.compiler.source>
  18. <maven.compiler.target>11</maven.compiler.target>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. </properties>
  21. <!-- 定义项目依赖 -->
  22. <dependencies>
  23. <!--MySQL支持-->
  24. <dependency>
  25. <groupId>mysql</groupId>
  26. <artifactId>mysql-connector-java</artifactId>
  27. </dependency>
  28. <!--springboot的测试支持-->
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-test</artifactId>
  32. </dependency>
  33. <!-- 自定义公共依赖 -->
  34. <dependency>
  35. <groupId>com.kyl</groupId>
  36. <artifactId>kyl-common</artifactId>
  37. </dependency>
  38. <!--Spring Boot Web模块-->
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-web</artifactId>
  42. </dependency>
  43. <!--Spring Boot Actuator模块,用于监控和管理应用-->
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-actuator</artifactId>
  47. </dependency>
  48. <!--Spring Boot自动配置模块-->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-autoconfigure</artifactId>
  52. </dependency>
  53. <!--Spring Boot配置处理器-->
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-configuration-processor</artifactId>
  57. </dependency>
  58. <!--Druid数据源的Spring Boot启动器-->
  59. <dependency>
  60. <groupId>com.alibaba</groupId>
  61. <artifactId>druid-spring-boot-starter</artifactId>
  62. </dependency>
  63. <!--MyBatis-Plus的Spring Boot启动器-->
  64. <dependency>
  65. <groupId>com.baomidou</groupId>
  66. <artifactId>mybatis-plus-boot-starter</artifactId>
  67. </dependency>
  68. <!--Redis-->
  69. <!--Redisson缓存客户端-->
  70. <dependency>
  71. <groupId>org.redisson</groupId>
  72. <artifactId>redisson-spring-boot-starter</artifactId>
  73. </dependency>
  74. <!--ZXing二维码生成核心库-->
  75. <dependency>
  76. <groupId>com.google.zxing</groupId>
  77. <artifactId>core</artifactId>
  78. </dependency>
  79. <!--XXL-JOB分布式任务调度框架核心库-->
  80. <dependency>
  81. <groupId>com.xuxueli</groupId>
  82. <artifactId>xxl-job-core</artifactId>
  83. </dependency>
  84. <!--Apache Commons Codec库,用于加密和解密-->
  85. <dependency>
  86. <groupId>commons-codec</groupId>
  87. <artifactId>commons-codec</artifactId>
  88. </dependency>
  89. <!--JAXB API,用于XML绑定-->
  90. <dependency>
  91. <groupId>javax.xml.bind</groupId>
  92. <artifactId>jaxb-api</artifactId>
  93. </dependency>
  94. <!--Spring Boot缓存支持-->
  95. <dependency>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-starter-cache</artifactId>
  98. </dependency>
  99. </dependencies>
  100. <build>
  101. <plugins>
  102. <plugin>
  103. <groupId>org.springframework.boot</groupId>
  104. <artifactId>spring-boot-maven-plugin</artifactId>
  105. <configuration>
  106. <skip>true</skip>
  107. </configuration>
  108. </plugin>
  109. </plugins>
  110. </build>
  111. </project>