pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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>com.storlead.boot</groupId>
  7. <artifactId>storlead-framework</artifactId>
  8. <version>1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>storlead-web</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <dependencies>
  15. <dependency>
  16. <groupId>com.storlead.boot</groupId>
  17. <artifactId>storlead-mybatis</artifactId>
  18. <version>1.0</version>
  19. </dependency>
  20. <dependency>
  21. <groupId>com.storlead.boot</groupId>
  22. <artifactId>storlead-common</artifactId>
  23. <version>1.0</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.storlead.boot</groupId>
  27. <artifactId>storlead-redis</artifactId>
  28. <version>1.0</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.storlead.boot</groupId>
  32. <artifactId>storlead-core</artifactId>
  33. <version>1.0</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework</groupId>
  37. <artifactId>spring-web</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-dependencies</artifactId>
  42. <version>${spring.boot.version}</version>
  43. <type>pom</type>
  44. <scope>import</scope>
  45. <exclusions>
  46. <exclusion>
  47. <groupId>org.springframework.cloud</groupId>
  48. <artifactId>spring-cloud-function-context</artifactId>
  49. </exclusion>
  50. </exclusions>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework</groupId>
  54. <artifactId>spring-web</artifactId>
  55. </dependency>
  56. <!-- Web 相关 -->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-web</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter</artifactId>
  64. </dependency>
  65. <!-- spring boot 配置所需依赖 -->
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-configuration-processor</artifactId>
  69. <optional>true</optional>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-actuator</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.aspectj</groupId>
  77. <artifactId>aspectjweaver</artifactId>
  78. <scope>provided</scope> <!-- 解决工具类 SpringExpressionUtils 加载的时候访问不到 org.aspectj.lang.JoinPoint 问题 -->
  79. </dependency>
  80. <dependency>
  81. <groupId>com.github.xiaoymin</groupId>
  82. <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.projectlombok</groupId>
  86. <artifactId>lombok</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>io.springfox</groupId>
  90. <artifactId>springfox-swagger2</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>io.springfox</groupId>
  94. <artifactId>springfox-swagger-ui</artifactId>
  95. </dependency>
  96. <dependency>
  97. <groupId>io.swagger</groupId>
  98. <artifactId>swagger-annotations</artifactId>
  99. </dependency>
  100. <!-- <dependency>-->
  101. <!-- <groupId>org.springdoc</groupId>-->
  102. <!-- <artifactId>springdoc-openapi-ui</artifactId>-->
  103. <!-- </dependency>-->
  104. <dependency>
  105. <groupId>org.springframework.security</groupId>
  106. <artifactId>spring-security-core</artifactId>
  107. <scope>provided</scope> <!-- 设置为 provided,主要是 GlobalExceptionHandler 使用 -->
  108. </dependency>
  109. </dependencies>
  110. </project>