pom.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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.csitc</groupId>
  7. <artifactId>cloud-framework</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>cloud-common</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <description>定义基础 pojo 类、枚举、工具类等等</description>
  15. <build>
  16. <plugins>
  17. <plugin>
  18. <groupId>org.apache.maven.plugins</groupId>
  19. <artifactId>maven-compiler-plugin</artifactId>
  20. <!-- <configuration>-->
  21. <!-- <source>11</source>-->
  22. <!-- <target>11</target>-->
  23. <!-- </configuration>-->
  24. </plugin>
  25. </plugins>
  26. </build>
  27. <dependencies>
  28. <!-- Spring 核心 -->
  29. <dependency>
  30. <groupId>org.springframework</groupId>
  31. <artifactId>spring-core</artifactId>
  32. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework</groupId>
  36. <artifactId>spring-expression</artifactId>
  37. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework</groupId>
  41. <artifactId>spring-aop</artifactId>
  42. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  43. </dependency>
  44. <dependency>
  45. <groupId>org.aspectj</groupId>
  46. <artifactId>aspectjweaver</artifactId>
  47. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  48. </dependency>
  49. <dependency>
  50. <!-- 用于生成自定义的 Spring @ConfigurationProperties 配置类的说明文件 -->
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-configuration-processor</artifactId>
  53. <optional>true</optional>
  54. </dependency>
  55. <!-- Web 相关 -->
  56. <dependency>
  57. <groupId>org.springframework</groupId>
  58. <artifactId>spring-web</artifactId>
  59. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  60. </dependency>
  61. <dependency>
  62. <groupId>jakarta.servlet</groupId>
  63. <artifactId>jakarta.servlet-api</artifactId>
  64. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springdoc</groupId>
  68. <artifactId>springdoc-openapi-ui</artifactId>
  69. <scope>provided</scope> <!-- 设置为 provided,主要是 PageParam 使用到 -->
  70. </dependency>
  71. <!-- 监控相关 -->
  72. <dependency>
  73. <groupId>org.apache.skywalking</groupId>
  74. <artifactId>apm-toolkit-trace</artifactId>
  75. </dependency>
  76. <!-- 工具类相关 -->
  77. <dependency>
  78. <groupId>org.projectlombok</groupId>
  79. <artifactId>lombok</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.mapstruct</groupId>
  83. <artifactId>mapstruct</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.mapstruct</groupId>
  87. <artifactId>mapstruct-jdk8</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
  88. </dependency>
  89. <dependency>
  90. <groupId>org.mapstruct</groupId>
  91. <artifactId>mapstruct-processor</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.google.guava</groupId>
  95. <artifactId>guava</artifactId>
  96. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  97. </dependency>
  98. <dependency>
  99. <groupId>com.fasterxml.jackson.core</groupId>
  100. <artifactId>jackson-databind</artifactId>
  101. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  102. </dependency>
  103. <dependency>
  104. <groupId>com.fasterxml.jackson.core</groupId>
  105. <artifactId>jackson-core</artifactId>
  106. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  107. </dependency>
  108. <dependency>
  109. <groupId>com.fasterxml.jackson.datatype</groupId>
  110. <artifactId>jackson-datatype-jsr310</artifactId>
  111. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  112. </dependency>
  113. <dependency>
  114. <groupId>org.slf4j</groupId>
  115. <artifactId>slf4j-api</artifactId>
  116. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  117. </dependency>
  118. <dependency>
  119. <groupId>jakarta.validation</groupId>
  120. <artifactId>jakarta.validation-api</artifactId>
  121. <scope>provided</scope> <!-- 设置为 provided,主要是 PageParam 使用到 -->
  122. </dependency>
  123. <dependency>
  124. <groupId>cn.hutool</groupId>
  125. <artifactId>hutool-all</artifactId>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.alibaba</groupId>
  129. <artifactId>transmittable-thread-local</artifactId>
  130. </dependency>
  131. <!-- 国密加密 -->
  132. <dependency>
  133. <groupId>org.bouncycastle</groupId>
  134. <artifactId>bcprov-jdk15to18</artifactId>
  135. <version>1.66</version>
  136. </dependency>
  137. </dependencies>
  138. </project>