pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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-common</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <description>定义基础 pojo 类、枚举、工具类等等</description>
  15. <url>https://github.com/YunaiV/ruoyi-vue-pro</url>
  16. <dependencies>
  17. <!-- Spring 核心 -->
  18. <dependency>
  19. <groupId>org.springframework</groupId>
  20. <artifactId>spring-core</artifactId>
  21. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework</groupId>
  25. <artifactId>spring-expression</artifactId>
  26. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework</groupId>
  30. <artifactId>spring-aop</artifactId>
  31. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  32. </dependency>
  33. <dependency>
  34. <groupId>org.aspectj</groupId>
  35. <artifactId>aspectjweaver</artifactId>
  36. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  37. </dependency>
  38. <dependency>
  39. <!-- 用于生成自定义的 Spring @ConfigurationProperties 配置类的说明文件 -->
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-configuration-processor</artifactId>
  42. <optional>true</optional>
  43. </dependency>
  44. <!-- Web 相关 -->
  45. <dependency>
  46. <groupId>org.springframework</groupId>
  47. <artifactId>spring-web</artifactId>
  48. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  49. </dependency>
  50. <dependency>
  51. <groupId>jakarta.servlet</groupId>
  52. <artifactId>jakarta.servlet-api</artifactId>
  53. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springdoc</groupId>
  57. <artifactId>springdoc-openapi-ui</artifactId>
  58. <scope>provided</scope> <!-- 设置为 provided,主要是 PageParam 使用到 -->
  59. </dependency>
  60. <!-- 监控相关 -->
  61. <dependency>
  62. <groupId>org.apache.skywalking</groupId>
  63. <artifactId>apm-toolkit-trace</artifactId>
  64. </dependency>
  65. <!-- 工具类相关 -->
  66. <dependency>
  67. <groupId>org.projectlombok</groupId>
  68. <artifactId>lombok</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.mapstruct</groupId>
  72. <artifactId>mapstruct</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.mapstruct</groupId>
  76. <artifactId>mapstruct-jdk8</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
  77. </dependency>
  78. <dependency>
  79. <groupId>org.mapstruct</groupId>
  80. <artifactId>mapstruct-processor</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.google.guava</groupId>
  84. <artifactId>guava</artifactId>
  85. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  86. </dependency>
  87. <dependency>
  88. <groupId>com.fasterxml.jackson.core</groupId>
  89. <artifactId>jackson-databind</artifactId>
  90. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  91. </dependency>
  92. <dependency>
  93. <groupId>com.fasterxml.jackson.core</groupId>
  94. <artifactId>jackson-core</artifactId>
  95. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  96. </dependency>
  97. <dependency>
  98. <groupId>com.fasterxml.jackson.datatype</groupId>
  99. <artifactId>jackson-datatype-jsr310</artifactId>
  100. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  101. </dependency>
  102. <dependency>
  103. <groupId>org.slf4j</groupId>
  104. <artifactId>slf4j-api</artifactId>
  105. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  106. </dependency>
  107. <dependency>
  108. <groupId>jakarta.validation</groupId>
  109. <artifactId>jakarta.validation-api</artifactId>
  110. <scope>provided</scope> <!-- 设置为 provided,主要是 PageParam 使用到 -->
  111. </dependency>
  112. <dependency>
  113. <groupId>cn.hutool</groupId>
  114. <artifactId>hutool-all</artifactId>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.alibaba</groupId>
  118. <artifactId>transmittable-thread-local</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>com.fhs-opensource</groupId> <!-- VO 数据翻译 -->
  122. <artifactId>easy-trans-anno</artifactId> <!-- 默认引入的原因,方便 xxx-module-api 包使用 -->
  123. </dependency>
  124. <!-- Test 测试相关 -->
  125. <dependency>
  126. <groupId>org.springframework.boot</groupId>
  127. <artifactId>spring-boot-starter-test</artifactId>
  128. <scope>test</scope>
  129. </dependency>
  130. </dependencies>
  131. </project>