pom.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>3.2.0</version>
  10. <relativePath/>
  11. </parent>
  12. <groupId>com.newpoint</groupId>
  13. <artifactId>oms-backend</artifactId>
  14. <version>1.0.0</version>
  15. <packaging>jar</packaging>
  16. <name>Cross-border OMS Backend</name>
  17. <description>Cross-border E-commerce OMS System Backend</description>
  18. <properties>
  19. <java.version>17</java.version>
  20. <mybatis-plus.version>3.5.5</mybatis-plus.version>
  21. <knife4j.version>4.5.0</knife4j.version>
  22. <mapstruct.version>1.5.5.Final</mapstruct.version>
  23. <lombok-mapstruct-binding.version>0.2.0</lombok-mapstruct-binding.version>
  24. </properties>
  25. <dependencies>
  26. <!-- Spring Boot Starters -->
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-web</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-validation</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-security</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-aop</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-cache</artifactId>
  46. </dependency>
  47. <!-- MySQL -->
  48. <dependency>
  49. <groupId>com.mysql</groupId>
  50. <artifactId>mysql-connector-j</artifactId>
  51. <scope>runtime</scope>
  52. </dependency>
  53. <!-- MyBatis Plus -->
  54. <dependency>
  55. <groupId>com.baomidou</groupId>
  56. <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
  57. <version>${mybatis-plus.version}</version>
  58. </dependency>
  59. <!-- JWT -->
  60. <dependency>
  61. <groupId>io.jsonwebtoken</groupId>
  62. <artifactId>jjwt-api</artifactId>
  63. <version>0.12.3</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>io.jsonwebtoken</groupId>
  67. <artifactId>jjwt-impl</artifactId>
  68. <version>0.12.3</version>
  69. <scope>runtime</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>io.jsonwebtoken</groupId>
  73. <artifactId>jjwt-jackson</artifactId>
  74. <version>0.12.3</version>
  75. <scope>runtime</scope>
  76. </dependency>
  77. <!-- Knife4j API Doc -->
  78. <dependency>
  79. <groupId>com.github.xiaoymin</groupId>
  80. <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
  81. <version>${knife4j.version}</version>
  82. </dependency>
  83. <!-- MapStruct -->
  84. <dependency>
  85. <groupId>org.mapstruct</groupId>
  86. <artifactId>mapstruct</artifactId>
  87. <version>${mapstruct.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.projectlombok</groupId>
  91. <artifactId>lombok-mapstruct-binding</artifactId>
  92. <version>${lombok-mapstruct-binding.version}</version>
  93. <scope>provided</scope>
  94. </dependency>
  95. <!-- Lombok -->
  96. <dependency>
  97. <groupId>org.projectlombok</groupId>
  98. <artifactId>lombok</artifactId>
  99. <optional>true</optional>
  100. </dependency>
  101. <!-- Redis -->
  102. <dependency>
  103. <groupId>org.springframework.boot</groupId>
  104. <artifactId>spring-boot-starter-data-redis</artifactId>
  105. </dependency>
  106. <!-- Hutool Utils -->
  107. <dependency>
  108. <groupId>cn.hutool</groupId>
  109. <artifactId>hutool-all</artifactId>
  110. <version>5.8.22</version>
  111. </dependency>
  112. <!-- Test -->
  113. <dependency>
  114. <groupId>org.springframework.boot</groupId>
  115. <artifactId>spring-boot-starter-test</artifactId>
  116. <scope>test</scope>
  117. </dependency>
  118. </dependencies>
  119. <build>
  120. <plugins>
  121. <plugin>
  122. <groupId>org.apache.maven.plugins</groupId>
  123. <artifactId>maven-compiler-plugin</artifactId>
  124. <version>3.11.0</version>
  125. <configuration>
  126. <source>17</source>
  127. <target>17</target>
  128. <annotationProcessorPaths>
  129. <path>
  130. <groupId>org.projectlombok</groupId>
  131. <artifactId>lombok</artifactId>
  132. <version>${lombok.version}</version>
  133. </path>
  134. <path>
  135. <groupId>org.projectlombok</groupId>
  136. <artifactId>lombok-mapstruct-binding</artifactId>
  137. <version>${lombok-mapstruct-binding.version}</version>
  138. </path>
  139. <path>
  140. <groupId>org.mapstruct</groupId>
  141. <artifactId>mapstruct-processor</artifactId>
  142. <version>${mapstruct.version}</version>
  143. </path>
  144. </annotationProcessorPaths>
  145. </configuration>
  146. </plugin>
  147. <plugin>
  148. <groupId>org.springframework.boot</groupId>
  149. <artifactId>spring-boot-maven-plugin</artifactId>
  150. <configuration>
  151. <excludes>
  152. <exclude>
  153. <groupId>org.projectlombok</groupId>
  154. <artifactId>lombok</artifactId>
  155. </exclude>
  156. </excludes>
  157. </configuration>
  158. </plugin>
  159. </plugins>
  160. </build>
  161. </project>