pom.xml 3.5 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
  5. http://maven.apache.org/xsd/maven-4.0.0.xsd">
  6. <modelVersion>4.0.0</modelVersion>
  7. <parent>
  8. <groupId>com.lingyue</groupId>
  9. <artifactId>lingyue-zhibao</artifactId>
  10. <version>2.0.0</version>
  11. </parent>
  12. <artifactId>common</artifactId>
  13. <packaging>jar</packaging>
  14. <name>Common Module</name>
  15. <description>公共模块 - 统一响应、异常处理、工具类等</description>
  16. <dependencies>
  17. <!-- Spring Boot Web -->
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-web</artifactId>
  21. </dependency>
  22. <!-- Spring Boot Validation -->
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-validation</artifactId>
  26. </dependency>
  27. <!-- Spring Security (for PasswordEncoder and AccessDeniedException) -->
  28. <dependency>
  29. <groupId>org.springframework.security</groupId>
  30. <artifactId>spring-security-crypto</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.security</groupId>
  34. <artifactId>spring-security-web</artifactId>
  35. </dependency>
  36. <!-- Spring Data (for DataAccessException) -->
  37. <dependency>
  38. <groupId>org.springframework</groupId>
  39. <artifactId>spring-tx</artifactId>
  40. </dependency>
  41. <!-- MyBatis Plus (for entity annotations) -->
  42. <dependency>
  43. <groupId>com.baomidou</groupId>
  44. <artifactId>mybatis-plus-boot-starter</artifactId>
  45. </dependency>
  46. <!-- PostgreSQL Driver (for JSONB type handler) -->
  47. <dependency>
  48. <groupId>org.postgresql</groupId>
  49. <artifactId>postgresql</artifactId>
  50. <scope>provided</scope>
  51. </dependency>
  52. <!-- JWT -->
  53. <dependency>
  54. <groupId>io.jsonwebtoken</groupId>
  55. <artifactId>jjwt-api</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>io.jsonwebtoken</groupId>
  59. <artifactId>jjwt-impl</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>io.jsonwebtoken</groupId>
  63. <artifactId>jjwt-jackson</artifactId>
  64. </dependency>
  65. <!-- Lombok -->
  66. <dependency>
  67. <groupId>org.projectlombok</groupId>
  68. <artifactId>lombok</artifactId>
  69. <optional>true</optional>
  70. </dependency>
  71. <!-- Jackson for JSON -->
  72. <dependency>
  73. <groupId>com.fasterxml.jackson.core</groupId>
  74. <artifactId>jackson-databind</artifactId>
  75. </dependency>
  76. <!-- FastJSON2 -->
  77. <dependency>
  78. <groupId>com.alibaba.fastjson2</groupId>
  79. <artifactId>fastjson2</artifactId>
  80. </dependency>
  81. <!-- Hutool -->
  82. <dependency>
  83. <groupId>cn.hutool</groupId>
  84. <artifactId>hutool-all</artifactId>
  85. </dependency>
  86. <!-- Swagger/OpenAPI 注解 -->
  87. <dependency>
  88. <groupId>io.swagger.core.v3</groupId>
  89. <artifactId>swagger-annotations</artifactId>
  90. <version>2.2.22</version>
  91. </dependency>
  92. </dependencies>
  93. </project>