pom.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>3.2.2</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.njuzr</groupId>
  12. <artifactId>EAI-Backend</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>EAI-Backend</name>
  15. <description>EAI-Backend</description>
  16. <properties>
  17. <java.version>17</java.version>
  18. <maven.compiler.source>17</maven.compiler.source>
  19. <maven.compiler.target>17</maven.compiler.target>
  20. </properties>
  21. <repositories>
  22. <repository>
  23. <id>alimaven</id>
  24. <url>https://maven.aliyun.com/repository/central</url>
  25. </repository>
  26. </repositories>
  27. <dependencies>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. <exclusions> <!--选择log4j2,则要排除掉Logback日志框架的依赖-->
  32. <exclusion>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-logging</artifactId>
  35. </exclusion>
  36. </exclusions>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-test</artifactId>
  41. <scope>test</scope>
  42. </dependency>
  43. <!--log4j2日志依赖-->
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-log4j2</artifactId>
  47. <version>3.2.2</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.projectlombok</groupId>
  51. <artifactId>lombok</artifactId>
  52. </dependency>
  53. <!--mysql和mybatis-plus-->
  54. <dependency>
  55. <groupId>com.baomidou</groupId>
  56. <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
  57. <version>3.5.5</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.mybatis.spring.boot</groupId>
  61. <artifactId>mybatis-spring-boot-starter-test</artifactId>
  62. <version>3.0.3</version>
  63. <scope>test</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>mysql</groupId>
  67. <artifactId>mysql-connector-java</artifactId>
  68. <version>8.0.33</version>
  69. </dependency>
  70. <!--ModelMapper,对象转换-->
  71. <dependency>
  72. <groupId>org.modelmapper</groupId>
  73. <artifactId>modelmapper</artifactId>
  74. <version>3.2.0</version>
  75. </dependency>
  76. <!--spring security、jwt-->
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-security</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.springframework.security</groupId>
  83. <artifactId>spring-security-jwt</artifactId>
  84. <version>1.1.1.RELEASE</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>io.jsonwebtoken</groupId>
  88. <artifactId>jjwt-api</artifactId>
  89. <version>0.12.5</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>io.jsonwebtoken</groupId>
  93. <artifactId>jjwt-impl</artifactId>
  94. <version>0.12.5</version>
  95. <scope>runtime</scope>
  96. </dependency>
  97. <dependency>
  98. <groupId>io.jsonwebtoken</groupId>
  99. <artifactId>jjwt-jackson</artifactId>
  100. <version>0.12.5</version>
  101. <scope>runtime</scope>
  102. </dependency>
  103. <!--excel依赖-->
  104. <dependency>
  105. <groupId>org.apache.poi</groupId>
  106. <artifactId>poi-ooxml</artifactId>
  107. <version>5.2.5</version>
  108. </dependency>
  109. <!--csv依赖-->
  110. <dependency>
  111. <groupId>com.opencsv</groupId>
  112. <artifactId>opencsv</artifactId>
  113. <version>5.9</version>
  114. </dependency>
  115. <!--邮箱依赖-->
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-starter-mail</artifactId>
  119. </dependency>
  120. <!--Bean Validation依赖-->
  121. <dependency>
  122. <groupId>org.springframework.boot</groupId>
  123. <artifactId>spring-boot-starter-validation</artifactId>
  124. </dependency>
  125. <!--其中包含WebClient依赖-->
  126. <dependency>
  127. <groupId>org.springframework.boot</groupId>
  128. <artifactId>spring-boot-starter-webflux</artifactId>
  129. </dependency>
  130. <!--Redis依赖-->
  131. <dependency>
  132. <groupId>org.springframework.boot</groupId>
  133. <artifactId>spring-boot-starter-data-redis</artifactId>
  134. </dependency>
  135. <!-- MongoDB依赖 -->
  136. <dependency>
  137. <groupId>org.springframework.boot</groupId>
  138. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  139. </dependency>
  140. </dependencies>
  141. <build>
  142. <plugins>
  143. <plugin>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-maven-plugin</artifactId>
  146. <configuration>
  147. <excludes>
  148. <exclude>
  149. <groupId>org.projectlombok</groupId>
  150. <artifactId>lombok</artifactId>
  151. </exclude>
  152. </excludes>
  153. </configuration>
  154. </plugin>
  155. </plugins>
  156. </build>
  157. </project>