pom.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. <parent>
  6. <groupId>cn.iocoder.boot</groupId>
  7. <artifactId>yudao-framework</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>yudao-spring-boot-starter-web</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <description>Web 框架,全局异常、API 日志、脱敏、错误码等</description>
  15. <url>https://github.com/YunaiV/ruoyi-vue-pro</url>
  16. <dependencies>
  17. <dependency>
  18. <groupId>cn.iocoder.boot</groupId>
  19. <artifactId>yudao-common</artifactId>
  20. </dependency>
  21. <!-- Web 相关 -->
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. </dependency>
  26. <!-- spring boot 配置所需依赖 -->
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-configuration-processor</artifactId>
  30. <optional>true</optional>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.aspectj</groupId>
  34. <artifactId>aspectjweaver</artifactId>
  35. <scope>provided</scope> <!-- 解决工具类 SpringExpressionUtils 加载的时候访问不到 org.aspectj.lang.JoinPoint 问题 -->
  36. </dependency>
  37. <dependency>
  38. <groupId>com.github.xiaoymin</groupId>
  39. <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springdoc</groupId>
  43. <artifactId>springdoc-openapi-ui</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.security</groupId>
  47. <artifactId>spring-security-core</artifactId>
  48. <scope>provided</scope> <!-- 设置为 provided,主要是 GlobalExceptionHandler 使用 -->
  49. </dependency>
  50. <!-- 业务组件 -->
  51. <dependency>
  52. <groupId>cn.iocoder.boot</groupId>
  53. <artifactId>yudao-module-infra-api</artifactId> <!-- 需要使用它,进行操作日志的记录 -->
  54. <version>${revision}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>cn.iocoder.boot</groupId>
  58. <artifactId>yudao-module-system-api</artifactId> <!-- 需要使用它,进行错误码的记录 -->
  59. <version>${revision}</version>
  60. </dependency>
  61. <!-- xss -->
  62. <dependency>
  63. <groupId>org.jsoup</groupId>
  64. <artifactId>jsoup</artifactId>
  65. </dependency>
  66. <!-- Test 测试相关 -->
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-test</artifactId>
  70. <scope>test</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.mockito</groupId>
  74. <artifactId>mockito-inline</artifactId>
  75. <scope>test</scope>
  76. </dependency>
  77. </dependencies>
  78. </project>