pom.xml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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>com.github.xiaoymin</groupId>
  34. <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springdoc</groupId>
  38. <artifactId>springdoc-openapi-ui</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.security</groupId>
  42. <artifactId>spring-security-core</artifactId>
  43. <scope>provided</scope> <!-- 设置为 provided,主要是 GlobalExceptionHandler 使用 -->
  44. </dependency>
  45. <!-- 业务组件 -->
  46. <dependency>
  47. <groupId>cn.iocoder.boot</groupId>
  48. <artifactId>yudao-module-infra-api</artifactId> <!-- 需要使用它,进行操作日志的记录 -->
  49. <version>${revision}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>cn.iocoder.boot</groupId>
  53. <artifactId>yudao-module-system-api</artifactId> <!-- 需要使用它,进行错误码的记录 -->
  54. <version>${revision}</version>
  55. </dependency>
  56. <!-- xss -->
  57. <dependency>
  58. <groupId>org.jsoup</groupId>
  59. <artifactId>jsoup</artifactId>
  60. </dependency>
  61. <!-- Test 测试相关 -->
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-test</artifactId>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.mockito</groupId>
  69. <artifactId>mockito-inline</artifactId>
  70. <scope>test</scope>
  71. </dependency>
  72. </dependencies>
  73. </project>